[PATCH xf86-video-ati] Remove radeon_scanout_flip_handler
Michel Dänzer
michel at daenzer.net
Thu Feb 25 09:03:53 UTC 2016
From: Michel Dänzer <michel.daenzer at amd.com>
No longer necessary now that radeon_drm_queue_handler can handle
e->handler == NULL.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
src/radeon_kms.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 38f5c4e..d93a4ce 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,
--
2.7.0
More information about the xorg-driver-ati
mailing list