drm/nouveau: fix chipset vs card_type thinko
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
5220b3c14b
commit
9bb5863ab4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue