Skip to content

Instantly share code, notes, and snippets.

Created May 8, 2014 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/55f0624510e0ddca752f to your computer and use it in GitHub Desktop.
Save anonymous/55f0624510e0ddca752f to your computer and use it in GitHub Desktop.
Fixes weston-launch for nouveau
--- linux-3.14.orig/drivers/gpu/drm/nouveau/nouveau_display.c 2014-03-31 05:40:15.000000000 +0200
+++ linux-3.14/drivers/gpu/drm/nouveau/nouveau_display.c 2014-05-08 00:38:18.088453869 +0200
@@ -807,7 +807,7 @@
s = list_first_entry(&fctx->flip, struct nouveau_page_flip_state, head);
if (s->event)
- drm_send_vblank_event(dev, s->crtc, s->event);
+ drm_send_vblank_event(dev, -1, s->event);
list_del(&s->head);
if (ps)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment