aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-02-16 04:04:48 -0500
committerBen Skeggs <bskeggs@redhat.com>2011-02-24 15:45:31 -0500
commit2503c6fa3edf7c2bb001c7f7926786eed24cc06e (patch)
tree35e5710bfaf60e9addfcbacf5641593c9f0f8386 /drivers/gpu/drm/nouveau
parenta589e87fe704808120e6e30f6723b720a085669d (diff)
drm/nouveau: Fix pageflip event
Assign correct event when initializing nouveau_page_flip_state. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c
index c42d84e26763..764c15d537ba 100644
--- a/drivers/gpu/drm/nouveau/nouveau_display.c
+++ b/drivers/gpu/drm/nouveau/nouveau_display.c
@@ -290,7 +290,7 @@ nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
290 290
291 /* Initialize a page flip struct */ 291 /* Initialize a page flip struct */
292 *s = (struct nouveau_page_flip_state) 292 *s = (struct nouveau_page_flip_state)
293 { { }, s->event, nouveau_crtc(crtc)->index, 293 { { }, event, nouveau_crtc(crtc)->index,
294 fb->bits_per_pixel, fb->pitch, crtc->x, crtc->y, 294 fb->bits_per_pixel, fb->pitch, crtc->x, crtc->y,
295 new_bo->bo.offset }; 295 new_bo->bo.offset };
296 296