diff options
author | Alvin Lee <alvin.lee2@amd.com> | 2020-10-16 12:20:57 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-02 15:30:05 -0500 |
commit | 6f2239ccdfc04938dc35e67dd60191b2c05dfb63 (patch) | |
tree | cd764477ad249b29290373587e0cd4db512ebe61 /drivers/nvmem/zynqmp_nvmem.c | |
parent | 685b4d8142dcbf11b817f74c2bc5b94eca7ee7f2 (diff) |
drm/amd/display: Keep GSL for full updates with planes that flip VSYNC
[Why]
When enabling PIP in Heaven, the PIP planes are VSYNC
flip and is also the top-most pipe. In this case GSL
will be disabled because we only check immediate flip
for the top pipe. However, the desktop planes are still
flip immediate so we should at least keep GSL on until
the full update.
[How]
Check each pipe in the tree to see if any planes
are flip immediate. Maintain the GSL lock if yes,
and take it down after when unlocking if any planes
are flipping VSYNC. Keeping GSL on with VSYNC +
flip immediate planes causes corruption.
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>
Diffstat (limited to 'drivers/nvmem/zynqmp_nvmem.c')
0 files changed, 0 insertions, 0 deletions