diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-08-10 02:25:12 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-11 08:12:50 +1000 |
commit | ff7010e06b6da0fe27143b47b8a4ffd2f12894b7 (patch) | |
tree | d079ef18c1f22ffa399673d59a59bf052e700560 | |
parent | edd1608c397ebcf487b84948031f7807178e5e4d (diff) | |
download | xorg-driver-xf86-video-nouveau-ff7010e06b6da0fe27143b47b8a4ffd2f12894b7.tar.gz |
exa/nv10: use same clip settings as mesa driver
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 <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | src/nv10_exa.c | 4 |
1 files 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); |