diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-09-23 01:23:16 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-09-24 02:28:43 -0400 |
commit | 9bb5863ab4c2bad487e9d02fabde60e858c22411 (patch) | |
tree | 3a0e3ce7b20c54505aec43fe98bb65527825b72c | |
parent | 5220b3c14b5d4e35df5a4574534519d7007713c3 (diff) |
drm/nouveau: fix chipset vs card_type thinko
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-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 c900aaa5cffa..2148e2d73de3 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) | |||
912 | * nothing to do here. | 912 | * nothing to do here. |
913 | */ | 913 | */ |
914 | if (bo->mem.mem_type != TTM_PL_VRAM) { | 914 | if (bo->mem.mem_type != TTM_PL_VRAM) { |
915 | if (dev_priv->chipset < NV_50 || !nvbo->tile_flags) | 915 | if (dev_priv->card_type < NV_50 || !nvbo->tile_flags) |
916 | return 0; | 916 | return 0; |
917 | } | 917 | } |
918 | 918 | ||