The higher 0x800 was getting overwritten by the 0x7ff anyways, so it
wasn't doing any good. The mesa driver just uses 0x800 for the low
portion and doesn't set the 8 bit in the higher portion, so do the same
thing here.

Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu>
---
 src/nv10_exa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nv10_exa.c b/src/nv10_exa.c
index cb9eb7c..df2f561 100644
--- a/src/nv10_exa.c
+++ b/src/nv10_exa.c
@@ -686,9 +686,9 @@ NVAccelInitNV10TCL(ScrnInfoPtr pScrn)
        PUSH_DATA (push, 0);
 
        BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_HORIZ(0)), 1);
-       PUSH_DATA (push, 0x7ff << 16 | 0x800800);
+       PUSH_DATA (push, 0x7ff << 16 | 0x800);
        BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_VERT(0)), 1);
-       PUSH_DATA (push, 0x7ff << 16 | 0x800800);
+       PUSH_DATA (push, 0x7ff << 16 | 0x800);
 
        for (i = 1; i < 8; i++) {
                BEGIN_NV04(push, NV10_3D(VIEWPORT_CLIP_HORIZ(i)), 1);
-- 
1.8.5.5

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to