summaryrefslogtreecommitdiff
path: root/src/amdgpu_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-16 17:11:24 +0200
commite52872da69ecc84dafb3355839e35b0383f0d228 (patch)
tree2e1406effb56b096733919adc84fdaf47c4f833d /src/amdgpu_drm_queue.h
parent739181c8d3334ff14b5a607895dfdeb29b0d9020 (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. Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_drm_queue.h')
-rw-r--r--src/amdgpu_drm_queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amdgpu_drm_queue.h b/src/amdgpu_drm_queue.h
index 48ba9ab..4e7c8f4 100644
--- a/src/amdgpu_drm_queue.h
+++ b/src/amdgpu_drm_queue.h
@@ -42,6 +42,7 @@ typedef void (*amdgpu_drm_handler_proc)(xf86CrtcPtr crtc, uint32_t seq,
uint64_t usec, void *data);
typedef void (*amdgpu_drm_abort_proc)(xf86CrtcPtr crtc, void *data);
+void amdgpu_drm_queue_handle_deferred(xf86CrtcPtr crtc);
uintptr_t amdgpu_drm_queue_alloc(xf86CrtcPtr crtc, ClientPtr client,
uint64_t id, void *data,
amdgpu_drm_handler_proc handler,