summaryrefslogtreecommitdiff
path: root/shared-core/nv20_graph.c
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-10-26 15:11:38 +0200
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2007-10-26 15:12:04 +0200
commitb9d8ddd3ca587e87474d37637096b9ebd0a927e9 (patch)
tree531f52976183a8578bcb70d570474c67f3f8a526 /shared-core/nv20_graph.c
parenta4c87d3796cac374d25e01b26bdbb9028ce03107 (diff)
nouveau: flip the CHECK_STATE bit off on nv30. This lets you do 8-bit surface destination.
Diffstat (limited to 'shared-core/nv20_graph.c')
-rw-r--r--shared-core/nv20_graph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/nv20_graph.c b/shared-core/nv20_graph.c
index ae0e0858..94ce32c1 100644
--- a/shared-core/nv20_graph.c
+++ b/shared-core/nv20_graph.c
@@ -28,7 +28,7 @@
#define NV25_GRCTX_SIZE (3529*4)
#define NV2A_GRCTX_SIZE (3500*4)
-#define NV30_31_GRCTX_SIZE (22392)
+#define NV30_31_GRCTX_SIZE (24392)
#define NV34_GRCTX_SIZE (18140)
#define NV35_36_GRCTX_SIZE (22396)
@@ -3312,7 +3312,7 @@ int nv30_graph_init(struct drm_device *dev)
NV_WRITE(NV04_PGRAPH_DEBUG_0, 0x00000000);
NV_WRITE(NV04_PGRAPH_DEBUG_1, 0x401287c0);
NV_WRITE(0x400890, 0x01b463ff);
- NV_WRITE(NV04_PGRAPH_DEBUG_3, 0xf3de0475);
+ NV_WRITE(NV04_PGRAPH_DEBUG_3, 0xf2de0475);
NV_WRITE(NV10_PGRAPH_DEBUG_4, 0x00008000);
NV_WRITE(NV04_PGRAPH_LIMIT_VIOL_PIX, 0xf04bdff6);
NV_WRITE(0x400B80, 0x1003d888);