svn commit: r258068 - stable/10/sys/dev/drm2/radeon

Jean-Sebastien Pedron dumbbell at FreeBSD.org
Tue Nov 12 20:00:51 UTC 2013


Author: dumbbell
Date: Tue Nov 12 20:00:51 2013
New Revision: 258068
URL: http://svnweb.freebsd.org/changeset/base/258068

Log:
  MFC r257870:
  
  drm/radeon: Wake up userland after page flip
  
  For instance, this caused issues in KDE, such as stuttered animations
  (with desktop effects enabled).
  
  Approved by:	re (kib)

Modified:
  stable/10/sys/dev/drm2/radeon/radeon_display.c
Directory Properties:
  stable/10/sys/   (props changed)

Modified: stable/10/sys/dev/drm2/radeon/radeon_display.c
==============================================================================
--- stable/10/sys/dev/drm2/radeon/radeon_display.c	Tue Nov 12 19:44:45 2013	(r258067)
+++ stable/10/sys/dev/drm2/radeon/radeon_display.c	Tue Nov 12 20:00:51 2013	(r258068)
@@ -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-all mailing list