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:
parent
f79c35617c
commit
b0d83b17d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257870
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user