summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-02-18 13:20:30 -0500
committerAlex Deucher <alexander.deucher@amd.com>2020-02-26 14:20:41 -0500
commite22bb5626cd6cd7c39cc2563ddb4b5d7d44dc91c (patch)
treed203471ba1825c899f867a04436509b36ca0c9bd /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
parentc7637c95abebc811d2479a5b924859025def544a (diff)
downloadlinux-e22bb5626cd6cd7c39cc2563ddb4b5d7d44dc91c.tar.bz2
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: 96a3b32e67236f ("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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h')
0 files changed, 0 insertions, 0 deletions