]> Pileus Git - ~andy/linux/commitdiff
drm/nouveau: Fix pageflip event
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 16 Feb 2011 09:04:48 +0000 (10:04 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 Feb 2011 20:45:31 +0000 (06:45 +1000)
Assign correct event when initializing nouveau_page_flip_state.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c

index c42d84e26763960a0d7de0b81043aeb730db2da0..764c15d537bac897d64eebfc791ba3db401fae67 100644 (file)
@@ -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 };