Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c56 uint32_t cache_level; member
68 .cache_level = 1,
77 .cache_level = 1,
86 .cache_level = 1,
101 .cache_level = 1,
110 .cache_level = 1,
119 .cache_level = 1,
148 .cache_level = 1,
157 .cache_level = 1,
166 .cache_level = 1,
[all …]
Dkfd_topology.h86 uint32_t cache_level; member
/linux-6.1.9/arch/arm/mm/
Dcache-uniphier.c314 unsigned int *cache_level) in __uniphier_cache_init() argument
323 *cache_level); in __uniphier_cache_init()
328 pr_err("L%d: cache-level is not specified\n", *cache_level); in __uniphier_cache_init()
332 if (level != *cache_level) { in __uniphier_cache_init()
334 *cache_level, level); in __uniphier_cache_init()
339 pr_err("L%d: cache-unified is not specified\n", *cache_level); in __uniphier_cache_init()
350 *cache_level); in __uniphier_cache_init()
358 *cache_level); in __uniphier_cache_init()
366 *cache_level); in __uniphier_cache_init()
376 pr_err("L%d: failed to map control register\n", *cache_level); in __uniphier_cache_init()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ggtt_gmch.c22 enum i915_cache_level cache_level, in gmch_ggtt_insert_page() argument
25 unsigned int flags = (cache_level == I915_CACHE_NONE) ? in gmch_ggtt_insert_page()
33 enum i915_cache_level cache_level, in gmch_ggtt_insert_entries() argument
36 unsigned int flags = (cache_level == I915_CACHE_NONE) ? in gmch_ggtt_insert_entries()
Dselftest_migrate.c138 enum i915_cache_level cache_level, in intel_context_copy_ccs() argument
186 len = emit_pte(rq, &it, cache_level, true, offset, CHUNK_SZ); in intel_context_copy_ccs()
224 enum i915_cache_level cache_level, in intel_migrate_ccs_copy() argument
244 err = intel_context_copy_ccs(ce, deps, sg, cache_level, in intel_migrate_ccs_copy()
301 obj->cache_level, in clear()
352 obj->cache_level, in clear()
415 src->mm.pages->sgl, src->cache_level, in __migrate_copy()
417 dst->mm.pages->sgl, dst->cache_level, in __migrate_copy()
429 src->mm.pages->sgl, src->cache_level, in __global_copy()
431 dst->mm.pages->sgl, dst->cache_level, in __global_copy()
[all …]
Dintel_migrate.h51 enum i915_cache_level cache_level,
59 enum i915_cache_level cache_level,
Dintel_gtt.h218 enum i915_cache_level cache_level,
303 enum i915_cache_level cache_level,
307 enum i915_cache_level cache_level,
312 enum i915_cache_level cache_level,
316 enum i915_cache_level cache_level,
573 enum i915_cache_level cache_level,
663 enum i915_cache_level cache_level,
Dgen8_ppgtt.c426 enum i915_cache_level cache_level, in gen8_ppgtt_insert_pte() argument
430 const gen8_pte_t pte_encode = gen8_pte_encode(0, cache_level, flags); in gen8_ppgtt_insert_pte()
473 enum i915_cache_level cache_level, in xehpsdv_ppgtt_insert_huge() argument
476 const gen8_pte_t pte_encode = vm->pte_encode(0, cache_level, flags); in xehpsdv_ppgtt_insert_huge()
561 enum i915_cache_level cache_level, in gen8_ppgtt_insert_huge() argument
564 const gen8_pte_t pte_encode = gen8_pte_encode(0, cache_level, flags); in gen8_ppgtt_insert_huge()
684 enum i915_cache_level cache_level, in gen8_ppgtt_insert() argument
692 xehpsdv_ppgtt_insert_huge(vm, vma_res, &iter, cache_level, flags); in gen8_ppgtt_insert()
694 gen8_ppgtt_insert_huge(vm, vma_res, &iter, cache_level, flags); in gen8_ppgtt_insert()
703 cache_level, flags); in gen8_ppgtt_insert()
Dintel_migrate.c356 enum i915_cache_level cache_level, in emit_pte() argument
362 const u64 encode = rq->context->vm->pte_encode(0, cache_level, in emit_pte()
958 enum i915_cache_level cache_level, in intel_context_migrate_clear() argument
1006 len = emit_pte(rq, &it, cache_level, is_lmem, offset, CHUNK_SZ); in intel_context_migrate_clear()
1092 enum i915_cache_level cache_level, in intel_migrate_clear() argument
1113 err = intel_context_migrate_clear(ce, deps, sg, cache_level, in intel_migrate_clear()
Dgen6_ppgtt.c112 enum i915_cache_level cache_level, in gen6_ppgtt_insert_entries() argument
120 const u32 pte_encode = vm->pte_encode(0, cache_level, flags); in gen6_ppgtt_insert_entries()
281 enum i915_cache_level cache_level, in pd_vma_bind() argument
Dintel_ppgtt.c184 enum i915_cache_level cache_level, in ppgtt_bind_vma() argument
202 vm->insert_entries(vm, vma_res, cache_level, pte_flags); in ppgtt_bind_vma()
Dintel_ggtt.c476 enum i915_cache_level cache_level, in intel_ggtt_bind_vma() argument
493 vm->insert_entries(vm, vma_res, cache_level, pte_flags); in intel_ggtt_bind_vma()
636 enum i915_cache_level cache_level, in aliasing_gtt_bind_vma() argument
648 stash, vma_res, cache_level, flags); in aliasing_gtt_bind_vma()
651 vm->insert_entries(vm, vma_res, cache_level, pte_flags); in aliasing_gtt_bind_vma()
1285 obj ? obj->cache_level : 0, in i915_ggtt_resume_vm()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c27 return !(obj->cache_level == I915_CACHE_NONE || in gpu_write_needs_clflush()
28 obj->cache_level == I915_CACHE_WT); in gpu_write_needs_clflush()
261 enum i915_cache_level cache_level) in i915_gem_object_set_cache_level() argument
265 if (obj->cache_level == cache_level) in i915_gem_object_set_cache_level()
276 if (obj->cache_level != cache_level) { in i915_gem_object_set_cache_level()
277 i915_gem_object_set_cache_coherency(obj, cache_level); in i915_gem_object_set_cache_level()
304 switch (obj->cache_level) { in i915_gem_get_caching_ioctl()
Di915_gem_internal.c145 unsigned int cache_level; in __i915_gem_object_create_internal() local
173 cache_level = HAS_LLC(i915) ? I915_CACHE_LLC : I915_CACHE_NONE; in __i915_gem_object_create_internal()
174 i915_gem_object_set_cache_coherency(obj, cache_level); in __i915_gem_object_create_internal()
Di915_gem_domain.h13 enum i915_cache_level cache_level);
Di915_gem_shmem.c563 unsigned int cache_level; in shmem_object_init() local
600 cache_level = I915_CACHE_LLC; in shmem_object_init()
602 cache_level = I915_CACHE_NONE; in shmem_object_init()
604 i915_gem_object_set_cache_coherency(obj, cache_level); in shmem_object_init()
Di915_gem_object.c123 unsigned int cache_level) in i915_gem_object_set_cache_coherency() argument
127 obj->cache_level = cache_level; in i915_gem_object_set_cache_coherency()
129 if (cache_level != I915_CACHE_NONE) in i915_gem_object_set_cache_coherency()
Di915_gem_ttm_move.c105 unsigned int cache_level; in i915_ttm_adjust_gem_after_move() local
132 cache_level = i915_ttm_cache_level(to_i915(bo->base.dev), bo->resource, in i915_ttm_adjust_gem_after_move()
134 i915_gem_object_set_cache_coherency(obj, cache_level); in i915_ttm_adjust_gem_after_move()
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c103 unsigned int cache_level; in huge_gem_object() local
122 cache_level = HAS_LLC(i915) ? I915_CACHE_LLC : I915_CACHE_NONE; in huge_gem_object()
123 i915_gem_object_set_cache_coherency(obj, cache_level); in huge_gem_object()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c44 enum i915_cache_level cache_level, in mock_bind_ppgtt() argument
97 enum i915_cache_level cache_level, in mock_bind_ggtt() argument
/linux-6.1.9/arch/x86/kernel/cpu/resctrl/
Dcore.c68 .cache_level = 3,
82 .cache_level = 2,
96 .cache_level = 3,
480 int id = get_cpu_cacheinfo_id(cpu, r->cache_level); in domain_add_cpu()
530 int id = get_cpu_cacheinfo_id(cpu, r->cache_level); in domain_remove_cpu()
/linux-6.1.9/drivers/iommu/
Dfsl_pamu.c259 u32 cache_level; in get_stash_id() local
292 …for (cache_level = PAMU_ATTR_CACHE_L1; (cache_level < PAMU_ATTR_CACHE_L3) && found; cache_level++)… in get_stash_id()
293 if (stash_dest_hint == cache_level) { in get_stash_id()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpt.c83 enum i915_cache_level cache_level, in dpt_bind_vma() argument
98 vm->insert_entries(vm, vma_res, cache_level, pte_flags); in dpt_bind_vma()
/linux-6.1.9/include/linux/
Dresctrl.h171 int cache_level; member
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_vma.c315 enum i915_cache_level cache_level; member
334 vma_res, vw->cache_level, vw->flags); in __vma_bind()
437 enum i915_cache_level cache_level, in i915_vma_bind() argument
507 work->cache_level = cache_level; in i915_vma_bind()
537 vma->ops->bind_vma(vma->vm, NULL, vma->resource, cache_level, in i915_vma_bind()
800 color = vma->obj->cache_level; in i915_vma_insert()
1492 vma->obj->cache_level, in i915_vma_pin_ww()

12