OSDN Git Service

drm/amd/display: Enable double buffer for OTG_BLANK
authorAlvin Lee <alvin.lee2@amd.com>
Mon, 30 Dec 2019 19:29:06 +0000 (14:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 19:16:27 +0000 (14:16 -0500)
commit9f21f3792ffb669623cbad8b084f75aa49c98786
tree5e47cc9fcaf3e43747b39eb4a38d28ec4bd1d510
parent8547058b17f1f4fba10f389191dd7e08bf95b791
drm/amd/display: Enable double buffer for OTG_BLANK

[Why]
Currently if seamless boot is enabled, we will skip double buffer enable
for OTG_BLANK. However, we need the double buffer enable in order to
block global sync signals when OTG becomes blanked (for PSR). Blocking
global sync signals prevent pipe from requesting data.

[How]
Move tg_init before seamless boot check.

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c