Skip to contentSkip to conversation

drm/nouveau: Fix pageflip event

PATCH Applied Benjamin Franzke 3 participants 3 messages Feb 16, 2011 – Feb 17, 2011 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nouveau: Fix pageflip event

Assign correct event when initializing nouveau_page_flip_state.

---
 drivers/gpu/drm/nouveau/nouveau_display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nouveau_display.c +1 -1
index c42d84e..764c15d 100644
@@ -290,7 +290,7 @@ nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
 
 	/* Initialize a page flip struct */
 	*s = (struct nouveau_page_flip_state)
-		{ { }, s->event, nouveau_crtc(crtc)->index,
+		{ { }, event, nouveau_crtc(crtc)->index,
 		  fb->bits_per_pixel, fb->pitch, crtc->x, crtc->y,
 		  new_bo->bo.offset };
 
Signature · 1 line
1.7.3.4

A message that is not in the archive (sent off-list or not yet received): 1297847088-5824-1-git-send-email-benjaminfranzke-gM/[email protected]

#2 lore raw

I confirmed this is the last piece needed to get wayland working without X with nouveau. Is it likely to get committed soon?

Quoted 3 lines · Benjamin Franzke

Assign correct event when initializing nouveau_page_flip_state.

---
 drivers/gpu/drm/nouveau/nouveau_display.c |    2 +-
Applied
#3 lore raw
In reply to a message not in the archive
Quoted 1 line · Benjamin Franzke

Assign correct event when initializing nouveau_page_flip_state.

Ah yes, I though that was an oddity when I was getting nv50/nvc0 page flipping done.

Pushed to nouveau git,
Thanks!

Quoted 25 lines

---
 drivers/gpu/drm/nouveau/nouveau_display.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nouveau_display.c +1 -2
index c42d84e..764c15d 100644
@@ -290,7 +290,7 @@ nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
 
        /* Initialize a page flip struct */
        *s = (struct nouveau_page_flip_state)
-               { { }, s->event, nouveau_crtc(crtc)->index,
+               { { }, event, nouveau_crtc(crtc)->index,
                  fb->bits_per_pixel, fb->pitch, crtc->x, crtc->y,
                  new_bo->bo.offset };
 
--

1.7.3.4

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau