Home
last modified time | relevance | path

Searched refs:num_allowed (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_object.c681 unsigned int num_allowed = obj->mm.n_placements; in i915_gem_object_can_migrate() local
707 if (num_allowed == 0) in i915_gem_object_can_migrate()
710 for (i = 0; i < num_allowed; ++i) { in i915_gem_object_can_migrate()
Di915_gem_ttm.c164 unsigned int num_allowed = obj->mm.n_placements; in i915_ttm_placement_from_obj() local
169 i915_ttm_place_from_region(num_allowed ? obj->mm.placements[0] : in i915_ttm_placement_from_obj()
174 placement->num_busy_placement = num_allowed; in i915_ttm_placement_from_obj()
179 if (num_allowed == 0) { in i915_ttm_placement_from_obj()