]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Force vsync flip when reconfiguring MPCC
authorAnthony Wang <anthony1.wang@amd.com>
Wed, 31 Mar 2021 15:03:35 +0000 (11:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:31:37 +0000 (16:31 -0400)
commit97338fea0425c5880b6bbbf886e17c0be63b8e68
tree9551a455d375f4fd8b2dfd922f2d8cf56987037f
parent27115ed69990e80893850b8e88811ef795f25f56
drm/amd/display: Force vsync flip when reconfiguring MPCC

[Why]
Underflow observed when disabling PIP overlay in-game when
vsync is disabled, due to OTC master lock not working with
game pipe which is immediate flip.

[How]
When performing a full update, override flip_immediate value
to false for all planes, so that flip occurs on vsync.

Signed-off-by: Anthony Wang <anthony1.wang@amd.com>
Acked-by: Bindu Ramamurthy <bindur12@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.c