提交 2503c6fa 编写于 作者: B Benjamin Franzke 提交者: Ben Skeggs

drm/nouveau: Fix pageflip event

Assign correct event when initializing nouveau_page_flip_state.
Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 a589e87f
......@@ -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 };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册