forked from Minki/linux
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
|
@ -912,7 +912,7 @@ nouveau_ttm_fault_reserve_notify(struct ttm_buffer_object *bo)
|
||||||
* nothing to do here.
|
* nothing to do here.
|
||||||
*/
|
*/
|
||||||
if (bo->mem.mem_type != TTM_PL_VRAM) {
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user