nouveau: revert unintended change.

main
Ben Skeggs 2007-10-16 14:43:57 +11:00
parent 677753047f
commit 9fdab5b5c5
1 changed files with 2 additions and 1 deletions

View File

@ -399,7 +399,8 @@ int nouveau_mem_init(struct drm_device *dev)
}
/*Note: this is *not* just NV50 code, but only used on NV50 for now */
if (dev_priv->gart_info.type == NOUVEAU_GART_NONE) {
if (dev_priv->gart_info.type == NOUVEAU_GART_NONE &&
dev_priv->card_type >= NV_50) {
ret = nouveau_sgdma_init(dev);
if (!ret) {
ret = nouveau_sgdma_nottm_hack_init(dev);