[PATCH 36/37] drm/amd/display: hdcp not enabled on connector 0
Rodrigo Siqueira
Rodrigo.Siqueira at amd.com
Tue Jan 10 16:55:34 UTC 2023
From: hersen wu <hersenxs.wu at amd.com>
[Why]
incorrect skip when drm_connector.index = 0 within
event_property_validate and update
[How] handle hdcp validate and update for connector 0
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha at amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
Signed-off-by: hersen wu <hersenxs.wu at amd.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
index 0301faaf5d48..8e572f07ec47 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
@@ -314,9 +314,6 @@ static void event_property_update(struct work_struct *work)
if (!aconnector)
continue;
- if (!aconnector->base.index)
- continue;
-
connector = &aconnector->base;
/* check if display connected */
@@ -390,13 +387,9 @@ static void event_property_validate(struct work_struct *work)
conn_index++) {
aconnector = hdcp_work->aconnector[conn_index];
-
if (!aconnector)
continue;
- if (!aconnector->base.index)
- continue;
-
/* check if display connected */
if (aconnector->base.status != connector_status_connected)
continue;
--
2.39.0
More information about the amd-gfx
mailing list