Lines Matching refs:placements
18 static u32 object_max_page_size(struct intel_memory_region **placements, in object_max_page_size() argument
25 struct intel_memory_region *mr = placements[i]; in object_max_page_size()
36 struct intel_memory_region **placements, in object_set_placements() argument
49 struct intel_memory_region *mr = placements[0]; in object_set_placements()
52 obj->mm.placements = &i915->mm.regions[mr->id]; in object_set_placements()
62 arr[i] = placements[i]; in object_set_placements()
64 obj->mm.placements = arr; in object_set_placements()
91 struct intel_memory_region **placements, in __i915_gem_object_create_user_ext() argument
95 struct intel_memory_region *mr = placements[0]; in __i915_gem_object_create_user_ext()
102 size = round_up(size, object_max_page_size(placements, n_placements)); in __i915_gem_object_create_user_ext()
116 ret = object_set_placements(obj, placements, n_placements); in __i915_gem_object_create_user_ext()
140 kfree(obj->mm.placements); in __i915_gem_object_create_user_ext()
158 struct intel_memory_region **placements, in __i915_gem_object_create_user() argument
161 return __i915_gem_object_create_user_ext(i915, size, placements, in __i915_gem_object_create_user()
242 struct intel_memory_region *placements[INTEL_REGION_UNKNOWN]; member
249 struct intel_memory_region **placements, in repr_placements() argument
257 struct intel_memory_region *mr = placements[i]; in repr_placements()
276 struct intel_memory_region *placements[INTEL_REGION_UNKNOWN]; in set_placements() local
290 BUILD_BUG_ON(ARRAY_SIZE(i915->mm.regions) != ARRAY_SIZE(placements)); in set_placements()
291 BUILD_BUG_ON(ARRAY_SIZE(ext_data->placements) != ARRAY_SIZE(placements)); in set_placements()
326 placements[i] = mr; in set_placements()
339 ext_data->placements[i] = placements[i]; in set_placements()
351 ext_data->placements, in set_placements()
358 repr_placements(buf, sizeof(buf), placements, i); in set_placements()
427 ext_data.placements[0] = in i915_gem_create_ext_ioctl()
444 ext_data.placements[0]->type != INTEL_MEMORY_SYSTEM) in i915_gem_create_ext_ioctl()
449 ext_data.placements, in i915_gem_create_ext_ioctl()