Commit 35fd5b42 authored by Francisco Jerez's avatar Francisco Jerez Committed by Ben Skeggs
Browse files

drm/nouveau: PRAMIN is available from the start on pre-nv50.



This makes sure that RAMHT is cleared correctly on start up.

Signed-off-by: default avatarFrancisco Jerez <currojerez@riseup.net>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent de5899bd
......@@ -25,6 +25,9 @@ int nv04_instmem_init(struct drm_device *dev)
u32 offset, length;
int ret;
/* RAMIN always available */
dev_priv->ramin_available = true;
/* Setup shared RAMHT */
ret = nouveau_gpuobj_new_fake(dev, 0x10000, ~0, 4096,
NVOBJ_FLAG_ZERO_ALLOC, &ramht);
......@@ -81,7 +84,6 @@ int nv04_instmem_init(struct drm_device *dev)
return ret;
}
dev_priv->ramin_available = true;
return 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment