diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2017-07-13 17:40:58 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2017-07-26 16:49:31 +0900 |
commit | 4d36306bcebb8548455a21eae6a7216a9439d9e4 (patch) | |
tree | ab81b864f761d940d34c7fa34a4cb22db273dbad /src/drmmode_display.h | |
parent | 88147c1a532a9275eb57e14d8c11be41bf4c1fe1 (diff) |
If a TearFree flip fails, fall back to non-TearFree operation
In order to avoid possible freeze / log file spam in that case.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99769
(Ported from radeon commit 94dc2b80f3ef0b2c17c20501d824fb0447d52e7a)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r-- | src/drmmode_display.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h index f351bb0..309ec67 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -185,6 +185,8 @@ extern Bool drmmode_set_desired_modes(ScrnInfoPtr pScrn, drmmode_ptr drmmode, extern void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode); extern Bool drmmode_setup_colormap(ScreenPtr pScreen, ScrnInfoPtr pScrn); +extern void drmmode_crtc_scanout_destroy(drmmode_ptr drmmode, + struct drmmode_scanout *scanout); extern void drmmode_scanout_free(ScrnInfoPtr scrn); extern void drmmode_uevent_init(ScrnInfoPtr scrn, drmmode_ptr drmmode); |