summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-10-24 12:03:21 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-12-05 00:41:40 +0300
commitd794b9f8272203ea1cbea0472fe55b1b28826060 (patch)
treec09c831326dc4ec7648ffe1c48b10ec1acb3965c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentb3734397a0b093eae7bce93b7e25a73051ce6972 (diff)
downloadlinux-d794b9f8272203ea1cbea0472fe55b1b28826060.tar.xz
amdgpu/dce: Use actual number of CRTCs and HPDs in set_irq_funcs
Hardcoding the maximum numbers could result in spurious error messages from the IRQ state callbacks, e.g. on Polaris 11/12: [drm:dce_v11_0_set_pageflip_irq_state [amdgpu]] *ERROR* invalid pageflip crtc 5 [drm:amdgpu_irq_disable_all [amdgpu]] *ERROR* error disabling interrupt (-22) Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions