summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-10-16 14:43:57 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-10-16 14:43:57 +1100
commit9fdab5b5c512f586012654917438327b3c67eaa4 (patch)
tree4d0397bd1ae1d16e309b1a92793ae6d9850401d5 /shared-core
parent677753047f2b8a8b0b12bae348a2f4f9718682f1 (diff)
nouveau: revert unintended change.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_mem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c
index 97691780..e2f0b38d 100644
--- a/shared-core/nouveau_mem.c
+++ b/shared-core/nouveau_mem.c
@@ -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);