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-02-26 14:20:41 -05:00
2019-12-16 13:53:05 +03:00
2020-01-20 11:42:57 +10:00
2019-12-05 10:57:42 +02:00
2019-08-14 19:27:26 +02:00
2020-01-07 11:53:19 +01:00
2020-01-06 19:54:27 +01:00
2019-12-16 12:39:50 +01:00
2020-01-08 00:34:28 +01:00
2019-10-24 13:55:56 +02:00
2020-01-13 16:49:02 +10:00
2020-01-20 11:42:57 +10:00
2019-12-09 22:57:26 +01:00
2020-01-08 10:07:58 +01:00
2020-01-07 11:53:19 +01:00
2019-10-21 14:23:25 +02:00
2019-12-05 08:44:12 +01:00
2020-01-20 11:42:57 +10:00
2019-12-09 22:57:26 +01:00
2019-12-14 19:26:55 +01:00
2020-01-13 16:49:02 +10:00
2020-01-03 11:43:44 +10:00
2020-01-20 11:42:57 +10:00
2020-01-08 13:51:56 +01:00
2019-12-05 08:44:16 +01:00
2020-01-07 11:53:19 +01:00
2020-01-20 14:09:43 +10:00
2019-12-09 22:57:26 +01:00
2020-01-15 10:50:30 +10:00
2020-01-08 18:35:36 +01:00
2020-01-09 20:27:06 +01:00
2019-12-18 16:09:12 -05:00
2019-12-09 22:57:26 +01:00
2019-11-29 13:09:11 +01:00
2019-12-05 08:44:23 +01:00
2020-02-26 14:17:33 -05:00
2020-01-08 00:34:28 +01:00
2020-01-20 11:42:57 +10:00
2019-12-05 08:44:34 +01:00
2020-01-27 16:46:44 -05:00
2020-01-13 17:14:34 +10:00
2019-12-05 08:44:55 +01:00
2019-12-09 22:57:26 +01:00
2019-12-20 13:30:42 +01:00
2020-01-20 11:42:57 +10:00
2019-12-05 08:45:01 +01:00
2020-01-15 16:21:28 +10:00
2019-12-16 10:45:43 +02:00
2019-11-20 15:54:38 +02:00
2019-12-17 13:57:54 +01:00
2019-12-09 22:57:26 +01:00
2020-01-09 15:02:48 +01:00
2019-12-18 16:09:12 -05:00
2019-10-29 13:10:07 +01:00
2020-01-08 09:09:48 +01:00
2019-08-13 09:09:30 +02:00
2019-12-05 08:45:13 +01:00
2020-01-20 11:42:57 +10:00
2019-12-05 18:55:55 -05:00
2019-12-17 13:57:54 +01:00
2019-11-19 22:25:55 +01:00
2020-01-07 20:26:02 +01:00
2019-11-04 18:17:36 +01:00
2020-01-08 00:34:34 +01:00
2019-12-18 16:47:34 +02:00
2019-12-22 11:13:00 +01:00
2020-01-08 00:34:34 +01:00
2019-10-09 20:04:55 +02:00
2020-01-08 00:34:34 +01:00
2019-10-25 09:35:06 +02:00
2019-12-29 23:55:23 -08:00
2019-12-19 15:52:44 +02:00
2019-11-29 21:29:17 +02:00
2019-11-27 17:45:48 -08:00
2019-09-16 15:13:02 -07:00
2019-12-03 17:42:57 +01:00
2019-10-08 09:41:06 -04:00
2020-01-07 15:29:40 -05:00
2020-01-09 18:07:46 -05:00
2019-10-08 18:29:00 +02:00
2020-01-09 18:07:48 -05:00
2019-09-03 19:30:06 -04:00
2020-01-20 11:42:57 +10:00
2019-12-17 17:26:08 +01:00
2019-09-30 20:15:53 +03:00
2019-08-07 11:56:48 -04:00
2019-10-02 16:28:55 +03:00
2019-12-22 11:09:46 +01:00
2019-12-09 10:03:01 +01:00
2020-01-09 17:33:41 +01:00
2020-01-20 11:42:57 +10:00
2019-12-27 15:25:04 +10:00
2019-11-28 11:19:32 +01:00
2019-12-19 15:55:10 +02:00
2019-12-06 11:18:11 +01:00
2019-11-15 08:00:08 +01:00
2020-01-07 11:53:19 +01:00
2019-12-17 13:57:54 +01:00
2019-08-06 13:18:42 +05:30
2019-12-05 08:43:14 +01:00
2019-12-02 16:52:15 +00:00
2019-08-22 10:41:06 +03:00
2020-01-08 19:51:11 +01:00
2019-09-30 20:16:28 +03:00
2020-01-02 15:35:56 +01:00
2019-11-07 15:00:16 +02:00
2019-10-04 13:43:43 +01:00
2019-11-21 11:03:31 +01:00
2019-11-04 18:17:36 +01:00
2020-01-09 17:17:28 +01:00
2019-12-18 02:40:16 +02:00
2019-12-17 20:39:33 +01:00
2019-12-05 08:44:04 +01:00
2019-12-06 11:18:11 +01:00
2019-11-14 14:08:57 +02:00
2019-12-09 10:02:45 +01:00
2019-12-04 19:44:13 -08:00
2019-11-28 13:15:43 +01:00
2019-11-06 13:00:21 -05:00
2019-10-24 13:55:56 +02:00
2019-10-18 12:24:56 +02:00
2019-08-06 13:16:54 +05:30
2019-09-03 09:46:18 +02:00
2019-10-08 18:43:26 -04:00
2019-09-12 19:54:42 +02:00
2019-09-23 15:32:53 +08:00
2020-01-09 10:16:35 +01:00
2019-12-05 08:43:14 +01:00