drm/amd/display: Intermittent DCN2 pipe hang on mode change
authorAric Cyr <aric.cyr@amd.com>
Mon, 22 Apr 2019 21:45:11 +0000 (17:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:34:11 +0000 (09:34 -0500)
commit6bd8d7d3f75be1c327f3fd63e6f03ca68faffb33
tree16be276e45b389ef84a20669e77291d95fe98bff
parentf446489adcbc9c4833ae724a985166731c577bcd
drm/amd/display: Intermittent DCN2 pipe hang on mode change

[Why]
GSL is being used to synchronize pipes when vsync is off but
on transition to vsync on during a mode change GSL is not
being reset correctly.

[How]
Disable GSL on any plane that is disabled.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.h