/drivers/gpu/drm/i915/gem/ |
D | i915_gem_domain.c | 192 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()
|
D | i915_gem_object.c | 88 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()
|
D | i915_gem_internal.c | 168 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_shmem.c | 476 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()
|
D | i915_gem_client_blt.c | 38 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()
|
D | i915_gem_stolen.c | 583 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()
|
D | i915_gem_object_types.h | 168 unsigned int cache_level:3; member
|
D | i915_gem_object.h | 459 unsigned int cache_level);
|
D | i915_gem_mman.c | 357 if (obj->cache_level != I915_CACHE_NONE && !HAS_LLC(i915)) { in vm_fault_gtt()
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | huge_gem_object.c | 104 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()
|
D | huge_pages.c | 177 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/ |
D | kfd_crat.c | 54 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()
|
D | kfd_topology.h | 126 uint32_t cache_level; member
|
D | kfd_crat.h | 164 uint8_t cache_level; member
|
/drivers/gpu/drm/i915/gt/ |
D | gen8_ppgtt.c | 362 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()
|
D | intel_ggtt.c | 410 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()
|
D | intel_gtt.h | 195 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,
|
D | gen6_ppgtt.c | 118 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
|
D | intel_ppgtt.c | 181 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/ |
D | mock_gtt.c | 44 enum i915_cache_level cache_level, in mock_bind_ppgtt() argument 99 enum i915_cache_level cache_level, in mock_bind_ggtt() argument
|
D | i915_gem_gtt.c | 129 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/ |
D | i915_vma.c | 299 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()
|
D | i915_vma.h | 197 enum i915_cache_level cache_level,
|
/drivers/iommu/ |
D | fsl_pamu.c | 513 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/ |
D | base.c | 2232 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()
|