diff options
| author | Ben Skeggs <skeggsb@gmail.com> | 2008-05-02 01:03:51 +1000 | 
|---|---|---|
| committer | Ben Skeggs <skeggsb@gmail.com> | 2008-05-02 01:36:08 +1000 | 
| commit | 6d8062ac1e048c3643d3a9d2432e497e17f717de (patch) | |
| tree | a01d6a4851e9cd98cca6f9f013db408cceea73b5 /shared-core/nv50_graph.c | |
| parent | 77d20928b330acda5b6ceb469f50757b5300702b (diff) | |
nouveau: guard against channels potentially not having a context, fix nv50
Diffstat (limited to 'shared-core/nv50_graph.c')
| -rw-r--r-- | shared-core/nv50_graph.c | 2 | 
1 files changed, 0 insertions, 2 deletions
| 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); | 
