drm/nouveau: fix chipset vs card_type thinko

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2010-09-23 15:23:16 +10:00
parent 5220b3c14b
commit 9bb5863ab4

View 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;
}