Searched refs:num_allowed (Results 1 – 2 of 2) sorted by relevance
681 unsigned int num_allowed = obj->mm.n_placements; in i915_gem_object_can_migrate() local707 if (num_allowed == 0) in i915_gem_object_can_migrate()710 for (i = 0; i < num_allowed; ++i) { in i915_gem_object_can_migrate()
164 unsigned int num_allowed = obj->mm.n_placements; in i915_ttm_placement_from_obj() local169 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()