]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: do not synchronize "drr" displays
authorJun Lei <Jun.Lei@amd.com>
Thu, 3 Oct 2019 19:09:53 +0000 (15:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:09 +0000 (16:50 -0400)
commit0460f9abf275ef3cdab4c531bfa06e2552f5e1c3
tree936f55105900cb0acfaa8d9dd333a2beea4068b7
parente9c93e5af395022eb52923ae84e29b9b0b6d7073
drm/amd/display: do not synchronize "drr" displays

[why]
A display that supports DRR can never really be considered
"synchronized" with any other display because we can dynamically
enable DRR (i.e. without modeset).  this will cause their
relative CRTC positions to drift and lose sync.  this will disrupt
features such as MCLK switching that assume and depend on
their permanent alignment (that can only change with modeset)

[how]
check for ignore_msa in stream when considered synchronizability
this ignore_msa is basically actually implemented as "supports drr"

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c