Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/gem/
Di915_gem_object.c539 unsigned int num_allowed = obj->mm.n_placements; in i915_gem_object_can_migrate() local
562 if (num_allowed == 0) in i915_gem_object_can_migrate()
565 for (i = 0; i < num_allowed; ++i) { in i915_gem_object_can_migrate()
Di915_gem_ttm.c148 unsigned int num_allowed = obj->mm.n_placements; in i915_ttm_placement_from_obj() local
153 i915_ttm_place_from_region(num_allowed ? obj->mm.placements[0] : in i915_ttm_placement_from_obj()
157 placement->num_busy_placement = num_allowed; in i915_ttm_placement_from_obj()
161 if (num_allowed == 0) { in i915_ttm_placement_from_obj()