diff options
author | hersen wu <hersenxs.wu@amd.com> | 2022-11-15 10:39:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-26 14:23:27 +0200 |
commit | 99c444d3c3c43db354b253d9bfac081073dcb484 (patch) | |
tree | b8e8b74bdc667f05203ea4cb544f09ce64ae39d9 /mm/mlock.c | |
parent | 4f1beb75f6525516d2bc9efe7792c0a48d459b5f (diff) |
drm/amd/display: save restore hdcp state when display is unplugged from mst hub
[ Upstream commit 82986fd631fa04bcedaefe11a6b3767601cbe84f ]
[Why]
connector hdcp properties are lost after display is
unplgged from mst hub. connector is destroyed with
dm_dp_mst_connector_destroy. when display is plugged
back, hdcp is not desired and it wouldnt be enabled.
[How]
save hdcp properties into hdcp_work within
amdgpu_dm_atomic_commit_tail. If the same display is
plugged back with same display index, its hdcp
properties will be retrieved from hdcp_work within
dm_dp_mst_get_modes.
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>
Stable-dep-of: cdff36a0217a ("drm/amd/display: fix access hdcp_workqueue assert")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/mlock.c')
0 files changed, 0 insertions, 0 deletions