Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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)
  • Loading branch information...
commit ef65f230b04e99b52b21e7d1fd0ca8073387fb47 1 parent 6acdcce
Jean-Sébastien Pédron dumbbell authored

Showing 1 changed file with 1 addition and 3 deletions. Show diff stats Hide diff stats

  1. +1 3 sys/dev/drm2/radeon/radeon_display.c
4 sys/dev/drm2/radeon/radeon_display.c
@@ -336,9 +336,7 @@ void radeon_crtc_handle_flip(struct radeon_device *rdev, int crtc_id)
336 336 e->event.tv_sec = now.tv_sec;
337 337 e->event.tv_usec = now.tv_usec;
338 338 list_add_tail(&e->base.link, &e->base.file_priv->event_list);
339   -#ifdef DUMBBELL_WIP
340   - wake_up_interruptible(&e->base.file_priv->event_wait);
341   -#endif /* DUMBBELL_WIP */
  339 + drm_event_wakeup(&e->base);
342 340 }
343 341 DRM_SPINUNLOCK_IRQRESTORE(&rdev->ddev->event_lock, flags);
344 342

0 comments on commit ef65f23

Please sign in to comment.
Something went wrong with that request. Please try again.