Alex Deucher e22bb5626c 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>
2020-02-26 14:20:41 -05:00
..
2020-01-20 11:42:57 +10:00
2020-01-20 11:42:57 +10:00
2020-01-20 11:42:57 +10:00
2020-01-03 11:43:44 +10:00
2020-01-20 11:42:57 +10:00
2020-02-26 14:17:33 -05:00
2020-01-20 11:42:57 +10:00
2020-01-20 11:42:57 +10:00
2020-01-15 16:21:28 +10:00
2019-12-17 13:57:54 +01:00
2019-12-18 16:09:12 -05:00
2020-01-20 11:42:57 +10:00
2019-12-17 13:57:54 +01:00
2019-11-19 22:25:55 +01:00
2019-11-27 17:45:48 -08:00
2019-10-08 18:29:00 +02:00
2020-01-20 11:42:57 +10:00
2020-01-20 11:42:57 +10:00
2019-12-27 15:25:04 +10:00
2019-12-17 13:57:54 +01:00