svn commit: r257870 - head/sys/dev/drm2/radeon
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Fri Nov 8 22:47:43 UTC 2013
Author: dumbbell
Date: Fri Nov 8 22:47:43 2013
New Revision: 257870
URL: http://svnweb.freebsd.org/changeset/base/257870
Log:
drm/radeon: Wake up userland after page flip
For instance, this caused issues in KDE, such as stuttered animations
(with desktop effects enabled).
Modified:
head/sys/dev/drm2/radeon/radeon_display.c
Modified: head/sys/dev/drm2/radeon/radeon_display.c
==============================================================================
--- head/sys/dev/drm2/radeon/radeon_display.c Fri Nov 8 22:44:46 2013 (r257869)
+++ head/sys/dev/drm2/radeon/radeon_display.c Fri Nov 8 22:47:43 2013 (r257870)
@@ -336,9 +336,7 @@ void radeon_crtc_handle_flip(struct rade
e->event.tv_sec = now.tv_sec;
e->event.tv_usec = now.tv_usec;
list_add_tail(&e->base.link, &e->base.file_priv->event_list);
-#ifdef DUMBBELL_WIP
- wake_up_interruptible(&e->base.file_priv->event_wait);
-#endif /* DUMBBELL_WIP */
+ drm_event_wakeup(&e->base);
}
DRM_SPINUNLOCK_IRQRESTORE(&rdev->ddev->event_lock, flags);
More information about the svn-src-head
mailing list