/drivers/gpu/drm/i915/ |
D | i915_gem_object.c | 34 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()
|
D | i915_vma.c | 237 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()
|
D | i915_gem_internal.c | 177 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()
|
D | i915_gem_gtt.c | 196 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 …]
|
D | i915_gem_object.h | 143 unsigned int cache_level:3; member 432 unsigned int cache_level);
|
D | i915_gem_stolen.c | 583 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()
|
D | i915_gem_gtt.h | 318 enum i915_cache_level cache_level, 322 enum i915_cache_level cache_level, 330 enum i915_cache_level cache_level,
|
D | i915_gem_evict.c | 117 unsigned cache_level, in i915_gem_evict_something() argument 156 min_size, alignment, cache_level, in i915_gem_evict_something()
|
D | i915_vma.h | 240 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);
|
D | i915_gem.c | 633 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 …]
|
D | i915_gpu_error.c | 332 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()
|
D | i915_gem_execbuffer.c | 529 obj->cache_level != I915_CACHE_NONE); in use_cpu_reloc() 1329 err = i915_vma_bind(target, target->obj->cache_level, in eb_relocate_entry()
|
D | i915_drv.h | 1016 u32 cache_level:3; member 3648 enum i915_cache_level cache_level); 3718 unsigned cache_level,
|
D | i915_debugfs.c | 142 i915_cache_level_str(dev_priv, obj->cache_level), in describe_obj()
|
/drivers/gpu/drm/i915/selftests/ |
D | huge_gem_object.c | 114 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()
|
D | mock_gtt.c | 42 enum i915_cache_level cache_level, in mock_bind_ppgtt() argument 93 enum i915_cache_level cache_level, in mock_bind_ggtt() argument
|
D | i915_gem_gtt.c | 113 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/ |
D | fsl_pamu.c | 525 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/ |
D | kfd_topology.h | 105 uint32_t cache_level; member
|
D | kfd_crat.h | 159 uint8_t cache_level; member
|
D | kfd_topology.c | 227 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/ |
D | base.c | 1859 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()
|