1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

drm/radeon: Wake up userland after page flip

For instance, this caused issues in KDE, such as stuttered animations
(with desktop effects enabled).
This commit is contained in:
Jean-Sébastien Pédron 2013-11-08 22:47:43 +00:00
parent f79c35617c
commit b0d83b17d6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257870

View File

@ -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);