Module: Mesa
Branch: master
Commit: 847c89870238fe5813e89831b38d5fab5356158c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=847c89870238fe5813e89831b38d5fab5356158c

Author: Christoph Bumiller <e0425...@student.tuwien.ac.at>
Date:   Mon Apr 16 00:36:35 2012 +0200

nvc0: fix nve4 linear copies

---

 src/gallium/drivers/nvc0/nvc0_transfer.c |    3 ++-
 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 fb44190..58dcd86 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);
 }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to