Home
last modified time | relevance | path

Searched refs:n_placements (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/i915/gem/
Di915_gem_create.c19 unsigned int n_placements) in object_max_page_size() argument
24 for (i = 0; i < n_placements; i++) { in object_max_page_size()
37 unsigned int n_placements) in object_set_placements() argument
42 GEM_BUG_ON(!n_placements); in object_set_placements()
48 if (n_placements == 1) { in object_set_placements()
53 obj->mm.n_placements = 1; in object_set_placements()
55 arr = kmalloc_array(n_placements, in object_set_placements()
61 for (i = 0; i < n_placements; i++) in object_set_placements()
65 obj->mm.n_placements = n_placements; in object_set_placements()
92 unsigned int n_placements, in __i915_gem_object_create_user_ext() argument
[all …]
Di915_gem_object.c313 if (obj->mm.n_placements > 1) in __i915_gem_free_object()
528 return obj->mm.n_placements > 1; in i915_gem_object_migratable()
590 unsigned int num_allowed = obj->mm.n_placements; in i915_gem_object_can_migrate()
726 if (!obj->mm.n_placements) { in i915_gem_object_placement_possible()
739 for (i = 0; i < obj->mm.n_placements; i++) { in i915_gem_object_placement_possible()
764 for (i = 0; i < obj->mm.n_placements; i++) { in i915_gem_object_needs_ccs_pages()
Di915_gem_ttm.c121 if (obj->mm.n_placements <= 1) in i915_ttm_select_tt_caching()
161 unsigned int num_allowed = obj->mm.n_placements; in i915_ttm_placement_from_obj()
800 GEM_BUG_ON(obj->mm.n_placements > I915_TTM_MAX_PLACEMENTS); in i915_ttm_get_pages()
1024 for (i = 0; i < obj->mm.n_placements; i++) { in vm_fault_ttm()
1226 GEM_BUG_ON(page_size && obj->mm.n_placements); in __i915_gem_ttm_object_init()
Di915_gem_object_types.h573 int n_placements; member
Di915_gem_object.h73 unsigned int n_placements);
Di915_gem_pages.c409 if (type != I915_MAP_WC && !obj->mm.n_placements) { in i915_gem_object_pin_map()
Di915_gem_ttm_move.c115 for (i = 0; i < obj->mm.n_placements; ++i) { in i915_ttm_adjust_gem_after_move()
/Linux-v6.1/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_mman.c1170 int n_placements, in __igt_mmap_migrate() argument
1184 n_placements); in __igt_mmap_migrate()