diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-09-23 15:23:16 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 16:28:43 +1000 |
commit | 9bb5863ab4c2bad487e9d02fabde60e858c22411 (patch) | |
tree | 3a0e3ce7b20c54505aec43fe98bb65527825b72c /drivers/gpu/drm | |
parent | 5220b3c14b5d4e35df5a4574534519d7007713c3 (diff) | |
download | op-kernel-dev-9bb5863ab4c2bad487e9d02fabde60e858c22411.zip op-kernel-dev-9bb5863ab4c2bad487e9d02fabde60e858c22411.tar.gz |
drm/nouveau: fix chipset vs card_type thinko
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index c900aaa..2148e2d 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -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; } |