summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_transfer.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-04-16 00:36:35 +0200
committerChristoph Bumiller <[email protected]>2012-04-16 00:38:17 +0200
commit847c89870238fe5813e89831b38d5fab5356158c (patch)
tree730946ca841a6c06779a01f33ec39be3975f2680 /src/gallium/drivers/nvc0/nvc0_transfer.c
parent1ce9205f790471214b69c94f2ee07c4eabfa26f0 (diff)
nvc0: fix nve4 linear copies
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_transfer.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_transfer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_transfer.c b/src/gallium/drivers/nvc0/nvc0_transfer.c
index fb44190574e..58dcd862c99 100644
--- a/src/gallium/drivers/nvc0/nvc0_transfer.c
+++ b/src/gallium/drivers/nvc0/nvc0_transfer.c
@@ -320,7 +320,8 @@ nve4_m2mf_copy_linear(struct nouveau_context *nv,
PUSH_DATA (push, dst->offset + dstoff);
BEGIN_NVC0(push, SUBC_COPY(0x0418), 1);
PUSH_DATA (push, size);
- IMMED_NVC0(push, SUBC_COPY(0x0300), 0x6);
+ BEGIN_NVC0(push, SUBC_COPY(0x0300), 1);
+ PUSH_DATA (push, 0x186);
nouveau_bufctx_reset(bctx, 0);
}