From b9d8ddd3ca587e87474d37637096b9ebd0a927e9 Mon Sep 17 00:00:00 2001 From: Stephane Marchesin Date: Fri, 26 Oct 2007 15:11:38 +0200 Subject: nouveau: flip the CHECK_STATE bit off on nv30. This lets you do 8-bit surface destination. --- shared-core/nv20_graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared-core/nv20_graph.c') 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); -- cgit v1.2.3