Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c192 enum i915_cache_level cache_level) in i915_gem_object_set_cache_level() argument
196 if (obj->cache_level == cache_level) in i915_gem_object_set_cache_level()
207 if (obj->cache_level != cache_level) { in i915_gem_object_set_cache_level()
208 i915_gem_object_set_cache_coherency(obj, cache_level); in i915_gem_object_set_cache_level()
232 switch (obj->cache_level) { in i915_gem_get_caching_ioctl()
Di915_gem_object.c88 unsigned int cache_level) in i915_gem_object_set_cache_coherency() argument
90 obj->cache_level = cache_level; in i915_gem_object_set_cache_coherency()
92 if (cache_level != I915_CACHE_NONE) in i915_gem_object_set_cache_coherency()
307 return !(obj->cache_level == I915_CACHE_NONE || in gpu_write_needs_clflush()
308 obj->cache_level == I915_CACHE_WT); in gpu_write_needs_clflush()
Di915_gem_internal.c168 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_shmem.c476 unsigned int cache_level; in create_shmem() local
517 cache_level = I915_CACHE_LLC; in create_shmem()
519 cache_level = I915_CACHE_NONE; in create_shmem()
521 i915_gem_object_set_cache_coherency(obj, cache_level); in create_shmem()
Di915_gem_client_blt.c38 enum i915_cache_level cache_level, in vma_bind() argument
41 vm->vma_ops.bind_vma(vm, stash, vma, cache_level, flags); in vma_bind()
Di915_gem_stolen.c583 unsigned int cache_level; in __i915_gem_object_create_stolen() local
595 cache_level = HAS_LLC(mem->i915) ? I915_CACHE_LLC : I915_CACHE_NONE; in __i915_gem_object_create_stolen()
596 i915_gem_object_set_cache_coherency(obj, cache_level); in __i915_gem_object_create_stolen()
Di915_gem_object_types.h168 unsigned int cache_level:3; member
Di915_gem_object.h459 unsigned int cache_level);
Di915_gem_mman.c357 if (obj->cache_level != I915_CACHE_NONE && !HAS_LLC(i915)) { in vm_fault_gtt()
/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c104 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()
Dhuge_pages.c177 obj->cache_level = I915_CACHE_NONE; in huge_pages_object()
330 obj->cache_level = I915_CACHE_NONE; in fake_huge_pages_object()
/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c54 uint32_t cache_level; member
66 .cache_level = 1,
76 .cache_level = 1,
85 .cache_level = 1,
100 .cache_level = 1,
109 .cache_level = 1,
118 .cache_level = 1,
319 props->cache_level = cache->cache_level; in kfd_parse_subtype_cache()
577 pcache->cache_level = pcache_info[cache_type].cache_level; in fill_in_pcache()
Dkfd_topology.h126 uint32_t cache_level; member
Dkfd_crat.h164 uint8_t cache_level; member
/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c362 enum i915_cache_level cache_level, in gen8_ppgtt_insert_pte() argument
366 const gen8_pte_t pte_encode = gen8_pte_encode(0, cache_level, flags); in gen8_ppgtt_insert_pte()
409 enum i915_cache_level cache_level, in gen8_ppgtt_insert_huge() argument
412 const gen8_pte_t pte_encode = gen8_pte_encode(0, cache_level, flags); in gen8_ppgtt_insert_huge()
530 enum i915_cache_level cache_level, in gen8_ppgtt_insert() argument
537 gen8_ppgtt_insert_huge(vma, &iter, cache_level, flags); in gen8_ppgtt_insert()
546 cache_level, flags); in gen8_ppgtt_insert()
Dintel_ggtt.c410 enum i915_cache_level cache_level, in i915_ggtt_insert_page() argument
413 unsigned int flags = (cache_level == I915_CACHE_NONE) ? in i915_ggtt_insert_page()
421 enum i915_cache_level cache_level, in i915_ggtt_insert_entries() argument
424 unsigned int flags = (cache_level == I915_CACHE_NONE) ? in i915_ggtt_insert_entries()
440 enum i915_cache_level cache_level, in ggtt_bind_vma() argument
454 vm->insert_entries(vm, vma, cache_level, pte_flags); in ggtt_bind_vma()
594 enum i915_cache_level cache_level, in aliasing_gtt_bind_vma() argument
606 stash, vma, cache_level, flags); in aliasing_gtt_bind_vma()
609 vm->insert_entries(vm, vma, cache_level, pte_flags); in aliasing_gtt_bind_vma()
1213 obj ? obj->cache_level : 0, in i915_ggtt_resume()
Dintel_gtt.h195 enum i915_cache_level cache_level,
276 enum i915_cache_level cache_level,
280 enum i915_cache_level cache_level,
559 enum i915_cache_level cache_level,
Dgen6_ppgtt.c118 enum i915_cache_level cache_level, in gen6_ppgtt_insert_entries() argument
126 const u32 pte_encode = vm->pte_encode(0, cache_level, flags); in gen6_ppgtt_insert_entries()
304 enum i915_cache_level cache_level, in pd_vma_bind() argument
Dintel_ppgtt.c181 enum i915_cache_level cache_level, in ppgtt_bind_vma() argument
196 vm->insert_entries(vm, vma, cache_level, pte_flags); in ppgtt_bind_vma()
/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c44 enum i915_cache_level cache_level, in mock_bind_ppgtt() argument
99 enum i915_cache_level cache_level, in mock_bind_ggtt() argument
Di915_gem_gtt.c129 obj->cache_level = I915_CACHE_NONE; in fake_dma_object()
1353 obj->cache_level, in igt_gtt_reserve()
1405 obj->cache_level, in igt_gtt_reserve()
1452 obj->cache_level, in igt_gtt_reserve()
1567 obj->base.size, 0, obj->cache_level, in igt_gtt_insert()
1627 obj->base.size, 0, obj->cache_level, in igt_gtt_insert()
1676 obj->base.size, 0, obj->cache_level, in igt_gtt_insert()
/drivers/gpu/drm/i915/
Di915_vma.c299 enum i915_cache_level cache_level; member
309 vma, vw->cache_level, vw->flags); in __vma_bind()
377 enum i915_cache_level cache_level, in i915_vma_bind() argument
412 work->cache_level = cache_level; in i915_vma_bind()
439 vma->ops->bind_vma(vma->vm, NULL, vma, cache_level, bind_flags); in i915_vma_bind()
670 color = vma->obj->cache_level; in i915_vma_insert()
973 vma->obj ? vma->obj->cache_level : 0, in i915_vma_pin_ww()
Di915_vma.h197 enum i915_cache_level cache_level,
/drivers/iommu/
Dfsl_pamu.c513 u32 cache_level; in get_stash_id() local
546 …for (cache_level = PAMU_ATTR_CACHE_L1; (cache_level < PAMU_ATTR_CACHE_L3) && found; cache_level++)… in get_stash_id()
547 if (stash_dest_hint == cache_level) { in get_stash_id()
/drivers/of/
Dbase.c2232 u32 cache_level = 0; in of_find_last_cache_level() local
2241 of_property_read_u32(prev, "cache-level", &cache_level); in of_find_last_cache_level()
2243 return cache_level; in of_find_last_cache_level()

12