Lines Matching defs:cache_level
331 if (obj->cache_level == I915_CACHE_NONE)
511 if (obj->cache_level == I915_CACHE_NONE)
522 && obj->cache_level == I915_CACHE_NONE)
633 if (obj->cache_level == I915_CACHE_NONE &&
1063 if (obj_priv->cache_level != I915_CACHE_NONE && !HAS_LLC(dev)) {
2487 unsigned long cache_level)
2505 if (other->allocated && !other->hole_follows && other->color != cache_level)
2509 if (other->allocated && !gtt_space->hole_follows && other->color != cache_level)
2529 if (obj->cache_level != obj->gtt_space->color) {
2530 DRM_ERROR("object reserved space [%08lx, %08lx] with wrong color, cache_level=%x, color=%lx\n",
2533 obj->cache_level,
2541 obj->cache_level)) {
2545 obj->cache_level);
2620 obj->cache_level, 0, gtt_max);
2623 obj->cache_level,
2635 obj->cache_level))) {
2693 if (obj->cache_level != I915_CACHE_NONE)
2786 enum i915_cache_level cache_level)
2792 if (obj->cache_level == cache_level)
2800 if (!i915_gem_valid_gtt_space(dev, obj->gtt_space, cache_level)) {
2824 i915_gem_gtt_bind_object(obj, cache_level);
2827 obj, cache_level);
2829 obj->gtt_space->color = cache_level;
2832 if (cache_level == I915_CACHE_NONE) {
2846 obj->cache_level = cache_level;
2867 args->caching = obj->cache_level != I915_CACHE_NONE;
3117 i915_gem_gtt_bind_object(obj, obj->cache_level);
3121 i915_gem_gtt_bind_object(obj, obj->cache_level);
3338 obj->cache_level = I915_CACHE_LLC;
3340 obj->cache_level = I915_CACHE_NONE;