diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-10-24 11:03:21 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-04 16:41:40 -0500 |
commit | d794b9f8272203ea1cbea0472fe55b1b28826060 (patch) | |
tree | c09c831326dc4ec7648ffe1c48b10ec1acb3965c /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | b3734397a0b093eae7bce93b7e25a73051ce6972 (diff) |
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/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions