From dbffeadcfca7cb4e3905ec0b8573d10e0418295e Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 2 Jun 2009 17:06:34 +1000 Subject: nv50: magic fix for "3d busted without the binary driver first" issue No idea what this reg does.. NVIDIA put 0x802 into it on some chips, the criteria aren't too clear on when they do that however. Hopefully 0x800 will work everywhere... --- shared-core/nv50_graph.c | 1 + 1 file changed, 1 insertion(+) (limited to 'shared-core') diff --git a/shared-core/nv50_graph.c b/shared-core/nv50_graph.c index cbf6fd62..43f35e06 100644 --- a/shared-core/nv50_graph.c +++ b/shared-core/nv50_graph.c @@ -82,6 +82,7 @@ nv50_graph_init_regs(struct drm_device *dev) DRM_DEBUG("\n"); NV_WRITE(NV04_PGRAPH_DEBUG_3, (1<<2) /* HW_CONTEXT_SWITCH_ENABLED */); + NV_WRITE(0x402ca8, 0x800); } static int -- cgit v1.2.3