Displaying 1 result from an estimated 1 matches for "ttm_pl_flag_priv1".
Did you mean:
  ttm_pl_flag_priv0
  
2009 Aug 19
1
[PATCH] drm/nouveau: Add a MM for mappable VRAM that isn't usable as scanout.
...+68,11 @@ nouveau_bo_new(struct drm_device *dev, struct nouveau_channel *chan,
 	nvbo->tile_mode = tile_mode;
 	nvbo->tile_flags = tile_flags;
 
-	if (!nvbo->mappable && (flags & TTM_PL_FLAG_VRAM))
-		flags |= TTM_PL_FLAG_PRIV0;
+	if (flags & TTM_PL_FLAG_VRAM) {
+		flags |= TTM_PL_FLAG_PRIV1;
+		if (!nvbo->mappable)
+			flags |= TTM_PL_FLAG_PRIV0;
+	}
 
 	/* Some of the tile_flags have a periodic structure of 24*4096 bytes, 
 	 * align to to that as well as the page size. Overallocate memory to 
@@ -271,6 +274,21 @@ nouveau_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type,...