[Nouveau] [PATCH 1/2] drm/nv04: Fix NV04 set_operation software method.

Maarten Maathuis madman2003 at gmail.com
Tue Dec 15 12:56:22 PST 2009


Both have been pushed.

2009/12/15 Marcin Kościelnicki <koriakin at 0x04.net>:
> Signed-off-by: Marcin Kościelnicki <koriakin at 0x04.net>
> ---
>  drivers/gpu/drm/nouveau/nv04_graph.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nv04_graph.c b/drivers/gpu/drm/nouveau/nv04_graph.c
> index 396ee92..d561d77 100644
> --- a/drivers/gpu/drm/nouveau/nv04_graph.c
> +++ b/drivers/gpu/drm/nouveau/nv04_graph.c
> @@ -543,7 +543,7 @@ nv04_graph_mthd_set_operation(struct nouveau_channel *chan, int grclass,
>
>        nv_wi32(dev, instance, tmp);
>        nv_wr32(dev, NV04_PGRAPH_CTX_SWITCH1, tmp);
> -       nv_wr32(dev, NV04_PGRAPH_CTX_CACHE1 + subc, tmp);
> +       nv_wr32(dev, NV04_PGRAPH_CTX_CACHE1 + (subc<<2), tmp);
>        return 0;
>  }
>
> --
> 1.6.5.6
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
>


More information about the Nouveau mailing list