summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-03-14 16:57:17 +0900
committerMichel Dänzer <michel@daenzer.net>2017-07-13 17:29:24 +0900
commit94dc2b80f3ef0b2c17c20501d824fb0447d52e7a (patch)
tree205ab5e7863f7272d868d8567c5cf5de6ef58120 /src/drmmode_display.h
parentaff267ee36cc6a703a532f91f82adc1ba1425ff3 (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 Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r--src/drmmode_display.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index ba1a7bc8..b9bc8fd8 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -192,6 +192,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);