mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 11:58:32 -04:00
drm/amd/display: hdcp not enabled on connector 0
[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 <Daniel.Wheeler@amd.com> Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: hersen wu <hersenxs.wu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user