summaryrefslogtreecommitdiff
path: root/src/radeon_drm_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_drm_queue.h')
-rw-r--r--src/radeon_drm_queue.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/radeon_drm_queue.h b/src/radeon_drm_queue.h
index c3e2076d..19d42e93 100644
--- a/src/radeon_drm_queue.h
+++ b/src/radeon_drm_queue.h
@@ -40,17 +40,18 @@ typedef void (*radeon_drm_handler_proc)(xf86CrtcPtr crtc, uint32_t seq,
uint64_t usec, void *data);
typedef void (*radeon_drm_abort_proc)(xf86CrtcPtr crtc, void *data);
-void radeon_drm_queue_handler(int fd, unsigned int frame,
- unsigned int tv_sec, unsigned int tv_usec,
- void *user_ptr);
+void radeon_drm_queue_handle_deferred(xf86CrtcPtr crtc);
uintptr_t radeon_drm_queue_alloc(xf86CrtcPtr crtc, ClientPtr client,
uint64_t id, void *data,
radeon_drm_handler_proc handler,
- radeon_drm_abort_proc abort);
+ radeon_drm_abort_proc abort,
+ Bool is_flip);
void radeon_drm_abort_client(ClientPtr client);
void radeon_drm_abort_entry(uintptr_t seq);
void radeon_drm_abort_id(uint64_t id);
-void radeon_drm_queue_init();
+int radeon_drm_handle_event(int fd, drmEventContext *event_context);
+void radeon_drm_wait_pending_flip(xf86CrtcPtr crtc);
+void radeon_drm_queue_init(ScrnInfoPtr scrn);
void radeon_drm_queue_close(ScrnInfoPtr scrn);
#endif /* _RADEON_DRM_QUEUE_H_ */