]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Reset flip_immediate to topmost plane
authorAlvin Lee <alvin.lee2@amd.com>
Wed, 21 Oct 2020 15:59:47 +0000 (11:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Nov 2020 20:31:22 +0000 (15:31 -0500)
commit7cc1752540115f0eab084285be810fe82095e83b
treecca0e4fa82b2df1598d966d7c3038a6e6a082e9f
parent17e5fc4dafd90f08b2cf3a822e2f832041bc788d
drm/amd/display: Reset flip_immediate to topmost plane

[Why]
When checking if we want to disable GSL or not,
we should reset flip_immediate to be the flip type
of the topmost plane before looping through the
other planes.

[How]
Set flip_immediate to be the flip type of the topmost
plane before looping through the other planes.

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c