]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: intermittent underflow observed when PIP is toggled in Full screen
authorTashfique Abdullah <tabdullah@amd.com>
Wed, 4 Nov 2020 23:51:53 +0000 (18:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:07:37 +0000 (12:07 -0500)
commitde4bf534deb45c0fa91424c79eb6e7913ae0920d
treefe68c82a73218fc70e11b02bba2621093770618e
parent68a155820b13ff6b3d1cfd5fd088017b65bbabcc
drm/amd/display: intermittent underflow observed when PIP is toggled in Full screen

[Why]
The MPCC may change and request data when the pipes are switching from 2
to 1 or 1 to 2. During the switch there is a possibility of underflow
and flicker/missing data.

[How]
During VBlank the MPCC won't request data. The trick is to delay and
wait on VBlank, ONLY when pipes are either turning on or off, right
before MPCC is reset for the pipes.

Signed-off-by: Tashfique Abdullah <tabdullah@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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/dcn20/dcn20_hwseq.c