Displaying 1 result from an estimated 1 matches for "proposed_placement".
2009 Aug 19
1
[PATCH] drm/nouveau: Add a MM for mappable VRAM that isn't usable as scanout.
...uint32_t read_domains,
flags = TTM_PL_FLAG_TT;
}
- if ((flags & TTM_PL_FLAG_VRAM) && !nvbo->mappable)
- flags |= TTM_PL_FLAG_PRIV0;
+ if (flags & TTM_PL_FLAG_VRAM) {
+ flags |= TTM_PL_FLAG_PRIV1;
+ if (!nvbo->mappable)
+ flags |= TTM_PL_FLAG_PRIV0;
+ }
bo->proposed_placement &= ~TTM_PL_MASK_MEM;
bo->proposed_placement |= flags;
@@ -352,7 +356,8 @@ retry:
if (nvbo->bo.offset == b->presumed_offset &&
(((nvbo->bo.mem.mem_type == TTM_PL_VRAM ||
- nvbo->bo.mem.mem_type == TTM_PL_PRIV0) &&
+ nvbo->bo.mem.mem...