|
@@ -382,7 +382,8 @@ nouveau_bo_create_ttm_backend_entry(struct ttm_bo_device *bdev)
|
|
case NOUVEAU_GART_AGP:
|
|
case NOUVEAU_GART_AGP:
|
|
return ttm_agp_backend_init(bdev, dev->agp->bridge);
|
|
return ttm_agp_backend_init(bdev, dev->agp->bridge);
|
|
#endif
|
|
#endif
|
|
- case NOUVEAU_GART_SGDMA:
|
|
|
|
|
|
+ case NOUVEAU_GART_PDMA:
|
|
|
|
+ case NOUVEAU_GART_HW:
|
|
return nouveau_sgdma_init_ttm(dev);
|
|
return nouveau_sgdma_init_ttm(dev);
|
|
default:
|
|
default:
|
|
NV_ERROR(dev, "Unknown GART type %d\n",
|
|
NV_ERROR(dev, "Unknown GART type %d\n",
|
|
@@ -436,7 +437,8 @@ nouveau_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type,
|
|
TTM_PL_FLAG_WC;
|
|
TTM_PL_FLAG_WC;
|
|
man->default_caching = TTM_PL_FLAG_WC;
|
|
man->default_caching = TTM_PL_FLAG_WC;
|
|
break;
|
|
break;
|
|
- case NOUVEAU_GART_SGDMA:
|
|
|
|
|
|
+ case NOUVEAU_GART_PDMA:
|
|
|
|
+ case NOUVEAU_GART_HW:
|
|
man->flags = TTM_MEMTYPE_FLAG_MAPPABLE |
|
|
man->flags = TTM_MEMTYPE_FLAG_MAPPABLE |
|
|
TTM_MEMTYPE_FLAG_CMA;
|
|
TTM_MEMTYPE_FLAG_CMA;
|
|
man->available_caching = TTM_PL_MASK_CACHING;
|
|
man->available_caching = TTM_PL_MASK_CACHING;
|