]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: determine is mst hdcp based on stream instead of sink signal
authorWenjing Liu <Wenjing.Liu@amd.com>
Mon, 24 Feb 2020 22:22:36 +0000 (17:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Mar 2020 17:49:06 +0000 (13:49 -0400)
commitb755f2be864dcbc9376e129598f1794df7bf5542
tree193b6c4e2cdc4883476158d02fddc6df7c1eff9d
parentca7ff0e74abb167dd35e6ac93e08c9001db6b9c8
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dm_cp_psp.h
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h