diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-07-20 16:56:22 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-08-16 17:11:24 +0200 |
commit | e52872da69ecc84dafb3355839e35b0383f0d228 (patch) | |
tree | 2e1406effb56b096733919adc84fdaf47c4f833d /src/amdgpu_drm_queue.h | |
parent | 739181c8d3334ff14b5a607895dfdeb29b0d9020 (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.h | 1 |
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, |