From d5dbb07db22d5420c81dfebc060f0dd86e7b8a20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 25 Feb 2016 18:02:12 +0900 Subject: Remove radeon_scanout_flip_handler No longer necessary now that radeon_drm_queue_handler can handle e->handler == NULL. Reviewed-by: Alex Deucher --- src/radeon_kms.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src') 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 @@ -485,12 +485,6 @@ radeon_scanout_flip_abort(ScrnInfoPtr scrn, void *event_data) drmmode_crtc->scanout_update_pending = FALSE; } -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, -- cgit v1.2.3