[Nouveau] [PATCH] drm/nouveau: Fix pageflip event

Ben Skeggs skeggsb at gmail.com
Wed Feb 16 21:43:13 PST 2011


On Wed, Feb 16, 2011 at 7:04 PM, Benjamin Franzke
<benjaminfranzke at googlemail.com> wrote:
> 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!

> ---
>  drivers/gpu/drm/nouveau/nouveau_display.c |    2 +-
>  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 c42d84e..764c15d 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,
>
>        /* 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
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
>


More information about the Nouveau mailing list