diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-06-01 18:33:33 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-06-08 17:04:31 +0900 |
commit | a30060d22a42688371166a861e5050fdd5ce8f7b (patch) | |
tree | 27e01f2a1dce5dab106092087c0a54c1d60a6306 /src/drmmode_display.h | |
parent | 9a554a683b970660b467566cf05b921393705a20 (diff) |
DRI2: Split out helper for getting UST and MSC of a specific CRTC
(Cherry picked from radeon commits 76c2923ac5c7230a8b2f9f8329c308d28b44d9c0
and d7c82731a8bf3d381bc571b94d80d9bb2dd6e40d)
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 9cf6932..90ab537 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -125,6 +125,7 @@ Bool amdgpu_do_pageflip(ScrnInfoPtr scrn, ClientPtr client, struct amdgpu_buffer *new_front, uint64_t id, void *data, int ref_crtc_hw_id, amdgpu_drm_handler_proc handler, amdgpu_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 |