From: Ben Skeggs Date: Tue, 2 Jun 2009 07:06:34 +0000 (+1000) Subject: nv50: magic fix for "3d busted without the binary driver first" issue X-Git-Tag: libdrm-2.4.12~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbffeadcfca7cb4e3905ec0b8573d10e0418295e;p=platform%2Fupstream%2Flibdrm.git 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... --- 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