summaryrefslogtreecommitdiff
path: root/src/radeon_drm_queue.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-07-20 16:56:22 +0200
committerMichel Dänzer <michel@daenzer.net>2018-08-17 10:02:08 +0200
commitc42f6e2e61d166c8d3ef3fcad175d7050a00288b (patch)
tree3773c3e0794a3ae38f7bb728969d7d02ad001676 /src/radeon_drm_queue.h
parentba83a866af5a3784fc4822614375cc081e93197c (diff)
Defer vblank event handling while waiting for a pending flip
This is to avoid submitting more flips while we are waiting for pending ones to complete. (Ported from amdgpu commit e52872da69ecc84dafb3355839e35b0383f0d228) Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_drm_queue.h')
-rw-r--r--src/radeon_drm_queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_drm_queue.h b/src/radeon_drm_queue.h
index 59343361..334c4ca6 100644
--- a/src/radeon_drm_queue.h
+++ b/src/radeon_drm_queue.h
@@ -40,6 +40,7 @@ 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_handle_deferred(xf86CrtcPtr crtc);
uintptr_t radeon_drm_queue_alloc(xf86CrtcPtr crtc, ClientPtr client,
uint64_t id, void *data,
radeon_drm_handler_proc handler,