summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_object.c
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-11-13 13:04:21 +1100
committerBen Skeggs <skeggsb@gmail.com>2009-01-27 08:36:08 +1000
commit753d4c39ff87f6b73dac72db4444b7627f39d2a9 (patch)
treef46ae509b10b3b886565af5cf9587b2a540e17f8 /shared-core/nouveau_object.c
parent27fae006853647ad0087067adc4eaa8d4ed4594a (diff)
nv04-nv40: correct RAMHT size
Diffstat (limited to 'shared-core/nouveau_object.c')
-rw-r--r--shared-core/nouveau_object.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/shared-core/nouveau_object.c b/shared-core/nouveau_object.c
index 5a44d41e..19325f37 100644
--- a/shared-core/nouveau_object.c
+++ b/shared-core/nouveau_object.c
@@ -141,13 +141,8 @@ nouveau_ramht_insert(struct drm_device *dev, struct nouveau_gpuobj_ref *ref)
ref->channel, co, INSTANCE_RD(ramht, co/4));
co += 8;
- if (co >= dev_priv->ramht_size) {
- DRM_INFO("no space left after collision\n");
+ if (co >= dev_priv->ramht_size)
co = 0;
- /* exit as it seems to cause crash with nouveau_demo and
- * 0xdead0001 object */
- break;
- }
} while (co != ho);
DRM_ERROR("RAMHT space exhausted. ch=%d\n", ref->channel);