]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Update update_config() logic
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Fri, 8 May 2020 18:18:07 +0000 (14:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2020 22:03:31 +0000 (18:03 -0400)
commit4a825dc47bb3f1328119e0e98f763b0a7f376aee
treedeb8a4a7bb7543e7b26f88f0be698f07b5155b9a
parent0ab88c4618ad77404ebd3ba98f2af16fcb898156
drm/amd/amdgpu: Update update_config() logic

[Why]
For MST case: when update_config is called to disable a stream,
this clears the settings for all the streams on that link.
We should only clear the settings for the stream that was disabled.

[How]
Clear the settings after the call to remove display is called.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c