drm/amd/display: remove checking sink in is_timing_changed
authorCalvin Hou <Calvin.Hou@amd.com>
Wed, 7 Apr 2021 19:07:45 +0000 (15:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:44 +0000 (18:06 -0400)
commit70c14a1d7ee4d25d2024967979c8ba618849af54
tree7cbd454ec19e727b860ddc18646f1ba7c54f53f1
parent36c9137b1a9675733ad1f560eeba0ed00c323a9f
drm/amd/display: remove checking sink in is_timing_changed

[Why]
Sometimes, such as sleep wake, the link->local sink pointer changed,
but the dc_stream_state->sink pointer is not changed. The checking
of timing_changed reports wrong result, lead to link tear down
unexpected wrongly.

[How]
SST compare local sink, MST compare proper remote link.

Signed-off-by: Calvin Hou <Calvin.Hou@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c