diff options
author | Wenjing Liu <Wenjing.Liu@amd.com> | 2020-02-25 01:22:36 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-03-09 20:49:06 +0300 |
commit | b6a1a0e76084c541382050606830580740ef9e84 (patch) | |
tree | 193b6c4e2cdc4883476158d02fddc6df7c1eff9d /drivers/gpu/drm/amd/display/dc/dm_cp_psp.h | |
parent | caa08c58cc10a778bc5c94b7d76905d87f18be9f (diff) | |
download | linux-b6a1a0e76084c541382050606830580740ef9e84.tar.xz |
drm/amd/display: determine is mst hdcp based on stream instead of sink signal
[why]
It is possible even if sink signal is MST but driver enables SST stream.
We should not determine if we should do MST authentication based on
sink's capability.
Instead we should determine whether to do MST authentication based on
what we have enabled in stream.
Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Ashley Thomas <Ashley.Thomas2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dm_cp_psp.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dm_cp_psp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h b/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h index 626d22d437f4..968c46dfb506 100644 --- a/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h +++ b/drivers/gpu/drm/amd/display/dc/dm_cp_psp.h @@ -32,6 +32,7 @@ struct cp_psp_stream_config { uint8_t otg_inst; uint8_t link_enc_inst; uint8_t stream_enc_inst; + uint8_t mst_supported; void *dm_stream_ctx; bool dpms_off; }; |