diff options
| author | Wenjing Liu <[email protected]> | 2021-03-10 19:26:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-04-09 20:48:11 +0000 |
| commit | 4fe1fdcc230189bdeb3a0d3fd49ef52416099c8c (patch) | |
| tree | 50eb144afa2d509a5cd274b6272907124319d89f /drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c | |
| parent | drm/amd/display: enable DP DSC Compliance automation (diff) | |
| download | kernel-4fe1fdcc230189bdeb3a0d3fd49ef52416099c8c.tar.gz kernel-4fe1fdcc230189bdeb3a0d3fd49ef52416099c8c.zip | |
drm/amd/display: define mod_hdcp_display_disable_option struct
Signed-off-by: Wenjing Liu <[email protected]>
Reviewed-by: George Shen <[email protected]>
Acked-by: Anson Jacob <[email protected]>
Tested-by: Dan Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c index 20e554e771d1..e7b841d960e7 100644 --- a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c +++ b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c @@ -53,7 +53,7 @@ static uint8_t is_cp_desired_hdcp1(struct mod_hdcp *hdcp) */ for (i = 0; i < MAX_NUM_OF_DISPLAYS; i++) { if (hdcp->displays[i].state != MOD_HDCP_DISPLAY_INACTIVE && - !hdcp->displays[i].adjust.disable) { + hdcp->displays[i].adjust.disable != MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION) { is_auth_needed = 1; break; } @@ -74,7 +74,7 @@ static uint8_t is_cp_desired_hdcp2(struct mod_hdcp *hdcp) */ for (i = 0; i < MAX_NUM_OF_DISPLAYS; i++) { if (hdcp->displays[i].state != MOD_HDCP_DISPLAY_INACTIVE && - !hdcp->displays[i].adjust.disable) { + hdcp->displays[i].adjust.disable != MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION) { is_auth_needed = 1; break; } |
