]> 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)
commit543199a86efc20cc6455044e97de0171373b2856
tree9551a455d375f4fd8b2dfd922f2d8cf56987037f
parent2dabcb0e25d8c3142c6a87c7bd1d31f011da3395
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