diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-07-20 16:37:05 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-08-16 17:11:23 +0200 |
commit | 0148283984c77f7a6e97026edc3093497547e0a4 (patch) | |
tree | 3f33bebb627b6704921ad5103f2e2bcb5be1a84b /src/amdgpu_drm_queue.h | |
parent | 7f65a8c9e03bddf2378aaa928460632ed6b1a688 (diff) |
Move DRM event queue related initialization to amdgpu_drm_queue_init
And make amdgpu_drm_queue_handler not directly accessible outside of
amdgpu_drm_queue.c.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_drm_queue.h')
-rw-r--r-- | src/amdgpu_drm_queue.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/amdgpu_drm_queue.h b/src/amdgpu_drm_queue.h index 36ee900..328b5e6 100644 --- a/src/amdgpu_drm_queue.h +++ b/src/amdgpu_drm_queue.h @@ -42,9 +42,6 @@ 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_handler(int fd, unsigned int frame, - unsigned int tv_sec, unsigned int tv_usec, - void *user_ptr); uintptr_t amdgpu_drm_queue_alloc(xf86CrtcPtr crtc, ClientPtr client, uint64_t id, void *data, amdgpu_drm_handler_proc handler, @@ -52,7 +49,7 @@ uintptr_t amdgpu_drm_queue_alloc(xf86CrtcPtr crtc, ClientPtr client, void amdgpu_drm_abort_client(ClientPtr client); void amdgpu_drm_abort_entry(uintptr_t seq); void amdgpu_drm_abort_id(uint64_t id); -void amdgpu_drm_queue_init(); +void amdgpu_drm_queue_init(ScrnInfoPtr scrn); void amdgpu_drm_queue_close(ScrnInfoPtr scrn); #endif /* _AMDGPU_DRM_QUEUE_H_ */ |