diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2019-01-28 18:11:10 +0100 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2019-01-28 18:11:10 +0100 |
commit | 1bfdccf7639ee2f655dc659cafa63830ba28be85 (patch) | |
tree | e1586f01638cc71329ed5dee076e7dd34afe918e /.dir-locals.el | |
parent | dcd3527299c1f6d6faa401c565fa884f4d8f3287 (diff) |
Only update drmmode_crtc->flip_pending after actually submitting a flip
And only clear it if it matches the framebuffer of the completed flip
being processed.
Fixes
(WW) RADEON(0): flip queue failed: Device or resource busy
(WW) RADEON(0): Page flip failed: Device or resource busy
(EE) RADEON(0): present flip failed
due to clobbering drmmode_crtc->flip_pending.
Reproducer: Enable TearFree, run warzone2100 fullscreen, toggle
Vertical sync on/off under Video Options. Discovered while investigating
https://bugs.freedesktop.org/109364 .
(Ported from amdgpu commit e72a02ba1d35743fefd939458b9d8cddce86e7f5)
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions