diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-08-25 18:22:34 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-08-25 18:22:34 +0900 |
commit | e520ce0ec0adf91ddce5c932d4b3f9477fd49304 (patch) | |
tree | d7e66a8241a79efbabf45c44dd8e00043d1d9f2f /src/drmmode_display.h | |
parent | b0867063abb197b9134166706d99fcbe5f204bb5 (diff) |
Also call drmmode_clear_pending_flip from radeon_scanout_flip_abort
Not doing so could break DPMS with TearFree.
Reported-and-Tested-by: furkan on IRC
Fixes: 9090309e057d ("Wait for pending flips to complete before turning
off an output or CRTC")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r-- | src/drmmode_display.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h index 24e3efb9..53c79268 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -154,6 +154,7 @@ extern int drmmode_get_crtc_id(xf86CrtcPtr crtc); extern int drmmode_get_height_align(ScrnInfoPtr scrn, uint32_t tiling); extern int drmmode_get_pitch_align(ScrnInfoPtr scrn, int bpe, uint32_t tiling); extern int drmmode_get_base_align(ScrnInfoPtr scrn, int bpe, uint32_t tiling); +extern void drmmode_clear_pending_flip(xf86CrtcPtr crtc); Bool radeon_do_pageflip(ScrnInfoPtr scrn, ClientPtr client, uint32_t new_front_handle, uint64_t id, void *data, |