diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-02-25 18:02:12 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-02-27 15:15:29 +0900 |
commit | d5dbb07db22d5420c81dfebc060f0dd86e7b8a20 (patch) | |
tree | b09a8dd5557961789281cc45456458c5df08f776 /src | |
parent | 3989766edde85d1abe7024577b98fc9b007bc02a (diff) |
Remove radeon_scanout_flip_handler
No longer necessary now that radeon_drm_queue_handler can handle
e->handler == NULL.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_kms.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/radeon_kms.c b/src/radeon_kms.c index 38f5c4e0..d93a4cec 100644 --- a/src/radeon_kms.c +++ b/src/radeon_kms.c @@ -486,12 +486,6 @@ radeon_scanout_flip_abort(ScrnInfoPtr scrn, void *event_data) } static void -radeon_scanout_flip_handler(ScrnInfoPtr scrn, uint32_t frame, uint64_t usec, void *event_data) -{ - radeon_scanout_flip_abort(scrn, event_data); -} - -static void radeon_scanout_flip(ScreenPtr pScreen, RADEONInfoPtr info, xf86CrtcPtr xf86_crtc) { @@ -510,8 +504,7 @@ radeon_scanout_flip(ScreenPtr pScreen, RADEONInfoPtr info, scrn = xf86_crtc->scrn; drm_queue_entry = radeon_drm_queue_alloc(scrn, RADEON_DRM_QUEUE_CLIENT_DEFAULT, RADEON_DRM_QUEUE_ID_DEFAULT, - drmmode_crtc, - radeon_scanout_flip_handler, + drmmode_crtc, NULL, radeon_scanout_flip_abort); if (!drm_queue_entry) { xf86DrvMsg(scrn->scrnIndex, X_WARNING, |