Home
last modified time | relevance | path

Searched refs:cache_level (Results 1 – 22 of 22) sorted by relevance

/drivers/gpu/drm/i915/
Di915_gem_object.c34 unsigned int cache_level) in i915_gem_object_set_cache_coherency() argument
36 obj->cache_level = cache_level; in i915_gem_object_set_cache_coherency()
38 if (cache_level != I915_CACHE_NONE) in i915_gem_object_set_cache_coherency()
Di915_vma.c237 int i915_vma_bind(struct i915_vma *vma, enum i915_cache_level cache_level, in i915_vma_bind() argument
270 ret = vma->vm->bind_vma(vma, cache_level, bind_flags); in i915_vma_bind()
381 bool i915_gem_valid_gtt_space(struct i915_vma *vma, unsigned long cache_level) in i915_gem_valid_gtt_space() argument
401 if (color_differs(other, cache_level) && !drm_mm_hole_follows(other)) in i915_gem_valid_gtt_space()
405 if (color_differs(other, cache_level) && !drm_mm_hole_follows(node)) in i915_gem_valid_gtt_space()
484 size, offset, obj->cache_level, in i915_vma_insert()
490 size, alignment, obj->cache_level, in i915_vma_insert()
499 GEM_BUG_ON(!i915_gem_valid_gtt_space(vma, obj->cache_level)); in i915_vma_insert()
560 ret = i915_vma_bind(vma, vma->obj->cache_level, flags); in __i915_vma_do_pin()
Di915_gem_internal.c177 unsigned int cache_level; in i915_gem_object_create_internal() local
195 cache_level = HAS_LLC(i915) ? I915_CACHE_LLC : I915_CACHE_NONE; in i915_gem_object_create_internal()
196 i915_gem_object_set_cache_coherency(obj, cache_level); in i915_gem_object_create_internal()
Di915_gem_gtt.c196 enum i915_cache_level cache_level, in ppgtt_bind_vma() argument
216 vma->vm->insert_entries(vma->vm, vma, cache_level, pte_flags); in ppgtt_bind_vma()
870 enum i915_cache_level cache_level, in gen8_ppgtt_insert_pte_entries() argument
874 const gen8_pte_t pte_encode = gen8_pte_encode(0, cache_level, flags); in gen8_ppgtt_insert_pte_entries()
924 enum i915_cache_level cache_level, in gen8_ppgtt_insert_3lvl() argument
932 cache_level, flags); in gen8_ppgtt_insert_3lvl()
937 enum i915_cache_level cache_level, in gen8_ppgtt_insert_4lvl() argument
946 &idx, cache_level, flags)) in gen8_ppgtt_insert_4lvl()
1635 enum i915_cache_level cache_level, in gen6_ppgtt_insert_entries() argument
1642 const u32 pte_encode = vm->pte_encode(0, cache_level, flags); in gen6_ppgtt_insert_entries()
[all …]
Di915_gem_object.h143 unsigned int cache_level:3; member
432 unsigned int cache_level);
Di915_gem_stolen.c583 unsigned int cache_level; in _i915_gem_object_create_stolen() local
594 cache_level = HAS_LLC(dev_priv) ? I915_CACHE_LLC : I915_CACHE_NONE; in _i915_gem_object_create_stolen()
595 i915_gem_object_set_cache_coherency(obj, cache_level); in _i915_gem_object_create_stolen()
708 size, gtt_offset, obj->cache_level, in i915_gem_object_create_stolen_for_preallocated()
Di915_gem_gtt.h318 enum i915_cache_level cache_level,
322 enum i915_cache_level cache_level,
330 enum i915_cache_level cache_level,
Di915_gem_evict.c117 unsigned cache_level, in i915_gem_evict_something() argument
156 min_size, alignment, cache_level, in i915_gem_evict_something()
Di915_vma.h240 int i915_vma_bind(struct i915_vma *vma, enum i915_cache_level cache_level,
242 bool i915_gem_valid_gtt_space(struct i915_vma *vma, unsigned long cache_level);
Di915_gem.c633 return !(obj->cache_level == I915_CACHE_NONE || in gpu_write_needs_clflush()
634 obj->cache_level == I915_CACHE_WT); in gpu_write_needs_clflush()
1869 if (obj->cache_level != I915_CACHE_NONE && !HAS_LLC(dev_priv)) { in i915_gem_fault()
3599 enum i915_cache_level cache_level) in i915_gem_object_set_cache_level() argument
3606 if (obj->cache_level == cache_level) in i915_gem_object_set_cache_level()
3625 i915_gem_valid_gtt_space(vma, cache_level)) in i915_gem_object_set_cache_level()
3661 cache_level != I915_CACHE_NONE) { in i915_gem_object_set_cache_level()
3697 ret = i915_vma_bind(vma, cache_level, PIN_UPDATE); in i915_gem_object_set_cache_level()
3704 vma->node.color = cache_level; in i915_gem_object_set_cache_level()
3705 i915_gem_object_set_cache_coherency(obj, cache_level); in i915_gem_object_set_cache_level()
[all …]
Di915_gpu_error.c332 err_puts(m, i915_cache_level_str(m->i915, err->cache_level)); in print_error_buffers()
974 err->cache_level = obj->cache_level; in capture_bo()
Di915_gem_execbuffer.c529 obj->cache_level != I915_CACHE_NONE); in use_cpu_reloc()
1329 err = i915_vma_bind(target, target->obj->cache_level, in eb_relocate_entry()
Di915_drv.h1016 u32 cache_level:3; member
3648 enum i915_cache_level cache_level);
3718 unsigned cache_level,
Di915_debugfs.c142 i915_cache_level_str(dev_priv, obj->cache_level), in describe_obj()
/drivers/gpu/drm/i915/selftests/
Dhuge_gem_object.c114 unsigned int cache_level; in huge_gem_object() local
132 cache_level = HAS_LLC(i915) ? I915_CACHE_LLC : I915_CACHE_NONE; in huge_gem_object()
133 i915_gem_object_set_cache_coherency(obj, cache_level); in huge_gem_object()
Dmock_gtt.c42 enum i915_cache_level cache_level, in mock_bind_ppgtt() argument
93 enum i915_cache_level cache_level, in mock_bind_ggtt() argument
Di915_gem_gtt.c113 obj->cache_level = I915_CACHE_NONE; in fake_dma_object()
1194 obj->cache_level, in igt_gtt_reserve()
1243 obj->cache_level, in igt_gtt_reserve()
1287 obj->cache_level, in igt_gtt_reserve()
1397 obj->base.size, 0, obj->cache_level, in igt_gtt_insert()
1455 obj->base.size, 0, obj->cache_level, in igt_gtt_insert()
1501 obj->base.size, 0, obj->cache_level, in igt_gtt_insert()
/drivers/iommu/
Dfsl_pamu.c525 u32 cache_level; in get_stash_id() local
558 …for (cache_level = PAMU_ATTR_CACHE_L1; (cache_level < PAMU_ATTR_CACHE_L3) && found; cache_level++)… in get_stash_id()
559 if (stash_dest_hint == cache_level) { in get_stash_id()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.h105 uint32_t cache_level; member
Dkfd_crat.h159 uint8_t cache_level; member
Dkfd_topology.c227 props->cache_level = cache->cache_level; in kfd_parse_subtype_cache()
595 sysfs_show_32bit_prop(buffer, "level", cache->cache_level); in kfd_cache_show()
/drivers/of/
Dbase.c1859 u32 cache_level = 0; in of_find_last_cache_level() local
1868 of_property_read_u32(prev, "cache-level", &cache_level); in of_find_last_cache_level()
1870 return cache_level; in of_find_last_cache_level()