linux/drivers/gpu/drm/amd/display/amdgpu_dm
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
..
amdgpu_dm_color.c drm/amd/display: Free gamma after calculating legacy transfer function 2019-10-25 16:50:07 -04:00
amdgpu_dm_crc.c drm/amd/display: Added pixel dynamic expansion control. 2019-10-10 19:24:26 -05:00
amdgpu_dm_crc.h drm/amd/display: Split out DC programming for CRC capture 2019-08-21 22:18:25 -05:00
amdgpu_dm_debugfs.c drm/amd/display: add color space option when sending link test pattern 2019-11-19 10:12:52 -05:00
amdgpu_dm_debugfs.h
amdgpu_dm_hdcp.c drm/amd/display: Fix HW/SW state mismatch 2020-02-04 10:37:51 -05:00
amdgpu_dm_hdcp.h drm/amd/display: add force Type0/1 flag 2019-11-19 10:12:53 -05:00
amdgpu_dm_helpers.c drm/amd/dm/mst: Ignore payload update failures 2020-02-04 23:30:39 -05:00
amdgpu_dm_irq.c drm/amd: use list_for_each_entry for list iteration. 2020-01-07 12:04:16 -05:00
amdgpu_dm_irq.h
amdgpu_dm_mst_types.c drm/amd/display: Fix a typo when computing dsc configuration 2020-02-04 10:37:51 -05:00
amdgpu_dm_mst_types.h drm/amdgpu/display: protect new DSC code with CONFIG_DRM_AMD_DC_DCN 2020-01-09 18:07:48 -05:00
amdgpu_dm_pp_smu.c drm/amd/display: add default clocks if not able to fetch them 2019-11-26 12:19:08 -05:00
amdgpu_dm_services.c
amdgpu_dm_trace.h
amdgpu_dm.c drm/amdgpu/display: clean up hdcp workqueue handling 2020-02-19 11:03:24 -05:00
amdgpu_dm.h drm/amd/display: Validate DSC caps on MST endpoints 2020-01-09 18:07:47 -05:00
Makefile drm/amd/display: Create amdgpu_dm_hdcp 2019-10-03 09:10:58 -05:00