From da7115edcd79581c692785dc959920ce4605916d Mon Sep 17 00:00:00 2001 From: nmtigor Date: Thu, 20 Jun 2013 00:12:09 +0200 Subject: [PATCH] Update ctx.h --- drivers/gpu/drm/nouveau/core/engine/graph/ctx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/ctx.h b/drivers/gpu/drm/nouveau/core/engine/graph/ctx.h index e1947013d3bce0..81faf4e621d825 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/ctx.h +++ b/drivers/gpu/drm/nouveau/core/engine/graph/ctx.h @@ -123,7 +123,7 @@ gr_def(struct nouveau_grctx *ctx, u32 reg, u32 val) reg = (reg - 0x00400000) / 4; reg = (reg - ctx->ctxprog_reg) + ctx->ctxvals_base; - nv_wo32(ctx->data, reg * 4, val); + nv_wr32(ctx->device, 0x400000 + reg * 4, val); } #endif