summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-03-04 10:30:19 +0900
committerMichel Dänzer <michel@daenzer.net>2015-03-17 11:00:08 +0900
commit76c2923ac5c7230a8b2f9f8329c308d28b44d9c0 (patch)
treeb24803649c6aef6144740de4f0e06d1c38f24d58 /src/drmmode_display.h
parent6c3a721cde9317233072b573f9502348dcd21b16 (diff)
DRI2: Split out helper for getting UST and MSC of a specific CRTC
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r--src/drmmode_display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index b3134608..6f883c0a 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -132,6 +132,7 @@ Bool radeon_do_pageflip(ScrnInfoPtr scrn, ClientPtr client,
struct radeon_bo *new_front, uint64_t id, void *data,
int ref_crtc_hw_id, radeon_drm_handler_proc handler,
radeon_drm_abort_proc abort);
+int drmmode_crtc_get_ust_msc(xf86CrtcPtr crtc, CARD64 *ust, CARD64 *msc);
int drmmode_get_current_ust(int drm_fd, CARD64 *ust);
#endif