Skip to content

Commit

Permalink
drm/nouveau: fix chipset vs card_type thinko
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Sep 24, 2010
1 parent 5220b3c commit 9bb5863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9bb5863

Please sign in to comment.