diff options
author | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2023-04-14 14:26:27 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-21 08:50:22 -0400 |
commit | 8f7f1b020ea641f21e7c88db55170a4d15834668 (patch) | |
tree | c201ffbe25db2f80591783a402af5ce1fac5e480 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
parent | 0026c273e68ee82a7843f5de26147357bc7e6551 (diff) |
drm/amd/display: fix flickering caused by S/G mode
Currently, on a handful of ASICs. We allow the framebuffer for a given
plane to exist in either VRAM or GTT. However, if the plane's new
framebuffer is in a different memory domain than it's previous
framebuffer, flipping between them can cause the screen to flicker. So,
to fix this, don't perform an immediate flip in the aforementioned case.
Cc: stable@vger.kernel.org
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2354
Reviewed-by: Roman Li <Roman.Li@amd.com>
Fixes: 81d0bcf99009 ("drm/amdgpu: make display pinning more flexible (v2)")
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions