]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: phase3 mst hdcp for multiple displays
authorhersen wu <hersenxs.wu@amd.com>
Tue, 15 Nov 2022 19:20:56 +0000 (14:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jan 2023 21:50:39 +0000 (16:50 -0500)
commite8fd3eeb5e8711af39b00642da06474e52f4780c
treeb0a9a951bb2ac0d072655f6dd13ef313dbace257
parent0b04ea391c1d4121f4cf9f644197edaf11b6c4da
drm/amd/display: phase3 mst hdcp for multiple displays

[Why]
multiple display hdcp are enabled within event_property_validate,
event_property_update by looping all displays on mst hub. when
one of display on mst hub in unplugged or disabled, hdcp are
disabled for all displays on mst hub within hdcp_reset_display
by looping all displays of mst link. for displays still active,
their encryption status are off. kernel driver will not run hdcp
authentication again. therefore, hdcp are not enabled automatically.

[How]
within is_content_protection_different, check drm_crtc_state changes
of all displays on mst hub, if need, triger hdcp_update_display to
re-run hdcp authentication.

Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: hersen wu <hersenxs.wu@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c