Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2503c6fa authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Ben Skeggs
Browse files

drm/nouveau: Fix pageflip event



Assign correct event when initializing nouveau_page_flip_state.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent a589e87f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 };