nvc0: fix nve4 linear copies
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 15 Apr 2012 22:36:35 +0000 (00:36 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 15 Apr 2012 22:38:17 +0000 (00:38 +0200)
src/gallium/drivers/nvc0/nvc0_transfer.c

index fb44190574e5b6f5b01aa0f0c503ad9881ba78b7..58dcd862c991d8269d40391529228fd600667a69 100644 (file)
@@ -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);
 }