summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-04-02 17:46:34 +0900
committerMichel Dänzer <michel@daenzer.net>2015-04-23 10:17:09 +0900
commita4a8cdbcc10c1c5f07485a2af9e9e81e490c3e1d (patch)
tree252abd1937ad976b6bd0ef9f815dac2bfd1ca0bf /src/radeon.h
parent673e1c7637687c74fc9bdeeeffb7ace0d04b734f (diff)
Update scanout pixmap contents before setting a mode with it
This ensures the scanout pixmaps used for Option "TearFree" and Option "ShadowPrimary" have been initialized when their initial mode is set. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 962a68d2..8220da71 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -593,6 +593,10 @@ extern Bool RADEONGetPixmapOffsetPitch(PixmapPtr pPix,
/* radeon_dri3.c */
Bool radeon_dri3_screen_init(ScreenPtr screen);
+/* radeon_kms.c */
+void radeon_scanout_update_handler(ScrnInfoPtr scrn, uint32_t frame,
+ uint64_t usec, void *event_data);
+
/* radeon_present.c */
Bool radeon_present_screen_init(ScreenPtr screen);