aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm2
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2013-11-08 22:47:43 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2013-11-08 22:47:43 +0000
commitb0d83b17d64156d72750deb22f651fbda61ceb94 (patch)
tree4f545e64dd7b0557e2edfbe1792913e81d980b97 /sys/dev/drm2
parentf79c35617cd8fe4622ef6b610f54a8b9d53c20f4 (diff)
downloadsrc-b0d83b17d64156d72750deb22f651fbda61ceb94.tar.gz
src-b0d83b17d64156d72750deb22f651fbda61ceb94.zip
drm/radeon: Wake up userland after page flip
For instance, this caused issues in KDE, such as stuttered animations (with desktop effects enabled).
Notes
Notes: svn path=/head/; revision=257870
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r--sys/dev/drm2/radeon/radeon_display.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/drm2/radeon/radeon_display.c b/sys/dev/drm2/radeon/radeon_display.c
index 45c3b0cef681..ee74ed453a2d 100644
--- a/sys/dev/drm2/radeon/radeon_display.c
+++ b/sys/dev/drm2/radeon/radeon_display.c
@@ -336,9 +336,7 @@ void radeon_crtc_handle_flip(struct radeon_device *rdev, int crtc_id)
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);