Displaying 1 result from an estimated 1 matches for "ttm_pl_priv0".
Did you mean:
ttm_pl_priv
2009 Aug 19
1
[PATCH] drm/nouveau: Add a MM for mappable VRAM that isn't usable as scanout.
...dev, 1);
+ man->gpu_offset = dev_priv->vm_vram_base;
+ break;
+ }
case TTM_PL_TT:
switch (dev_priv->gart_info.type) {
case NOUVEAU_GART_AGP:
@@ -564,6 +582,7 @@ nouveau_bo_verify_access(struct ttm_buffer_object *bo, struct file *filp)
static uint32_t nouveau_mem_prios[] = {
TTM_PL_PRIV0,
+ TTM_PL_PRIV1,
TTM_PL_VRAM,
TTM_PL_TT,
TTM_PL_SYSTEM
@@ -571,6 +590,7 @@ static uint32_t nouveau_mem_prios[] = {
static uint32_t nouveau_busy_prios[] = {
TTM_PL_TT,
TTM_PL_PRIV0,
+ TTM_PL_PRIV1,
TTM_PL_VRAM,
TTM_PL_SYSTEM
};
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/dr...