]> Git Repo - linux.git/commitdiff
drm/amd/display: hdcp not enabled on connector 0
authorhersen wu <[email protected]>
Fri, 23 Dec 2022 15:01:12 +0000 (10:01 -0500)
committerAlex Deucher <[email protected]>
Tue, 17 Jan 2023 20:41:30 +0000 (15:41 -0500)
[Why]
incorrect skip when drm_connector.index = 0 within
event_property_validate and update

[How] handle hdcp validate and update for connector 0

Tested-by: Daniel Wheeler <[email protected]>
Reviewed-by: Bhawanpreet Lakha <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: hersen wu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c

index 0301faaf5d482d95af98863e5ecd622064be5057..8e572f07ec476030258036f6538aba733cd1f1d4 100644 (file)
@@ -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;
This page took 0.058782 seconds and 4 git commands to generate.