Commit 08da182
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: 81d0bcf ("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>1 parent 9675b3b commit 08da182
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7901 | 7901 | | |
7902 | 7902 | | |
7903 | 7903 | | |
| 7904 | + | |
| 7905 | + | |
| 7906 | + | |
| 7907 | + | |
| 7908 | + | |
| 7909 | + | |
| 7910 | + | |
7904 | 7911 | | |
7905 | 7912 | | |
7906 | 7913 | | |
| |||
8043 | 8050 | | |
8044 | 8051 | | |
8045 | 8052 | | |
8046 | | - | |
| 8053 | + | |
| 8054 | + | |
8047 | 8055 | | |
8048 | 8056 | | |
8049 | 8057 | | |
8050 | | - | |
| 8058 | + | |
| 8059 | + | |
8051 | 8060 | | |
8052 | 8061 | | |
8053 | 8062 | | |
| |||
0 commit comments