]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Skip create new stream if crtc state doesn't change
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Fri, 11 Jan 2019 21:34:31 +0000 (16:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commitcdcbbf9ea394d098b8ec455ea5aed6d3818bf341
tree0ce2628fa051cdb038808ea98ef30a95b211ce1c
parent9593de9535ff376545ce86105f0caea474724ec2
drm/amd/display: Skip create new stream if crtc state doesn't change

Need to check if crtc state is changed so that mode set is
required before trying to create new stream.

It deals with the MST hotplug use case when plug back to the
same connector where the failure to create new stream for the
inactive crtc on the old connector.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c