linux/drivers/gpu/drm/amd
Alex Deucher 6c62ce8073 drm/amdgpu/display: clean up hdcp workqueue handling
Use the existence of the workqueue itself to determine when to
enable HDCP features rather than sprinkling asic checks all over
the code.  Also add a check for the existence of the hdcp
workqueue in the irq handling on the off chance we get and HPD
RX interrupt with the CP bit set.  This avoids a crash if
the driver doesn't support HDCP for a particular asic.

Fixes: 96a3b32e67 ("drm/amd/display: only enable HDCP for DCN+")
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=206519
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-02-19 11:03:24 -05:00
..
acp drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
amdgpu drm/amdgpu: add is_raven_kicker judgement for raven1 2020-02-19 10:33:42 -05:00
amdkfd drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode 2020-02-04 10:32:41 -05:00
display drm/amdgpu/display: clean up hdcp workqueue handling 2020-02-19 11:03:24 -05:00
include drm/amdgpu: Enable DISABLE_BARRIER_WAITCNT for Arcturus 2020-01-30 17:15:27 -05:00
powerplay drm/amd/powerplay: always refetch the enabled features status on dpm enablement 2020-02-14 12:58:58 -05:00