drm/nouveau: fix chipset vs card_type thinko
authorBen Skeggs <bskeggs@redhat.com>
Thu, 23 Sep 2010 05:23:16 +0000 (15:23 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Sep 2010 06:28:43 +0000 (16:28 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c

index c900aaa5cffa79b9ed0e388971a8e69f97ea7dc3..2148e2d73de34028a7eb3eecf8d4f94a2a2eb9bd 100644 (file)
@@ -912,7 +912,7 @@ nouveau_ttm_fault_reserve_notify(struct ttm_buffer_object *bo)
         * nothing to do here.
         */
        if (bo->mem.mem_type != TTM_PL_VRAM) {
-               if (dev_priv->chipset < NV_50 || !nvbo->tile_flags)
+               if (dev_priv->card_type < NV_50 || !nvbo->tile_flags)
                        return 0;
        }