From 6d8062ac1e048c3643d3a9d2432e497e17f717de Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 2 May 2008 01:03:51 +1000 Subject: nouveau: guard against channels potentially not having a context, fix nv50 --- shared-core/nv50_graph.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'shared-core/nv50_graph.c') diff --git a/shared-core/nv50_graph.c b/shared-core/nv50_graph.c index ebe4b1f6..1300c83a 100644 --- a/shared-core/nv50_graph.c +++ b/shared-core/nv50_graph.c @@ -251,7 +251,6 @@ nv86_graph_init_ctxvals(struct drm_device *dev, struct nouveau_gpuobj_ref *ref) struct drm_nouveau_private *dev_priv = dev->dev_private; struct nouveau_gpuobj *ctx = ref->gpuobj; - INSTANCE_WR(ctx, 0x0/4, 0x1); INSTANCE_WR(ctx, 0x10C/4, 0x30); INSTANCE_WR(ctx, 0x1D4/4, 0x3); INSTANCE_WR(ctx, 0x1D8/4, 0x1000); @@ -937,7 +936,6 @@ nv84_graph_init_ctxvals(struct drm_device *dev, struct nouveau_gpuobj_ref *ref) struct drm_nouveau_private *dev_priv = dev->dev_private; struct nouveau_gpuobj *ctx = ref->gpuobj; - INSTANCE_WR(ctx, 0x00000/4, 0x00000001); INSTANCE_WR(ctx, 0x0010c/4, 0x00000030); INSTANCE_WR(ctx, 0x00130/4, 0x00000002); INSTANCE_WR(ctx, 0x001d4/4, 0x00000003); -- cgit v1.2.3