/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_ggtt.c | 243 unsigned int pat_index, in mtl_ggtt_pte_encode() argument 253 if (pat_index & BIT(0)) in mtl_ggtt_pte_encode() 256 if (pat_index & BIT(1)) in mtl_ggtt_pte_encode() 263 unsigned int pat_index, in gen8_ggtt_pte_encode() argument 282 unsigned int pat_index, in gen8_ggtt_insert_page() argument 289 gen8_set_pte(pte, ggtt->vm.pte_encode(addr, pat_index, flags)); in gen8_ggtt_insert_page() 296 unsigned int pat_index, in gen8_ggtt_insert_entries() argument 300 const gen8_pte_t pte_encode = ggtt->vm.pte_encode(0, pat_index, flags); in gen8_ggtt_insert_entries() 357 unsigned int pat_index, in gen6_ggtt_insert_page() argument 364 iowrite32(vm->pte_encode(addr, pat_index, flags), pte); in gen6_ggtt_insert_page() [all …]
|
D | gen8_ppgtt.c | 32 unsigned int pat_index, in gen8_pte_encode() argument 45 switch (pat_index) { in gen8_pte_encode() 61 unsigned int pat_index, in gen12_pte_encode() argument 72 if (pat_index & BIT(0)) in gen12_pte_encode() 75 if (pat_index & BIT(1)) in gen12_pte_encode() 78 if (pat_index & BIT(2)) in gen12_pte_encode() 81 if (pat_index & BIT(3)) in gen12_pte_encode() 455 unsigned int pat_index, in gen8_ppgtt_insert_pte() argument 459 const gen8_pte_t pte_encode = ppgtt->vm.pte_encode(0, pat_index, flags); in gen8_ppgtt_insert_pte() 502 unsigned int pat_index, in xehpsdv_ppgtt_insert_huge() argument [all …]
|
D | intel_ggtt_gmch.c | 21 unsigned int pat_index, in gmch_ggtt_insert_page() argument 24 unsigned int flags = (pat_index == I915_CACHE_NONE) ? in gmch_ggtt_insert_page() 32 unsigned int pat_index, in gmch_ggtt_insert_entries() argument 35 unsigned int flags = (pat_index == I915_CACHE_NONE) ? in gmch_ggtt_insert_entries()
|
D | selftest_migrate.c | 140 unsigned int pat_index, in intel_context_copy_ccs() argument 188 len = emit_pte(rq, &it, pat_index, true, offset, CHUNK_SZ); in intel_context_copy_ccs() 226 unsigned int pat_index, in intel_migrate_ccs_copy() argument 246 err = intel_context_copy_ccs(ce, deps, sg, pat_index, in intel_migrate_ccs_copy() 303 obj->pat_index, in clear() 354 obj->pat_index, in clear() 417 src->mm.pages->sgl, src->pat_index, in __migrate_copy() 419 dst->mm.pages->sgl, dst->pat_index, in __migrate_copy() 431 src->mm.pages->sgl, src->pat_index, in __global_copy() 433 dst->mm.pages->sgl, dst->pat_index, in __global_copy() [all …]
|
D | intel_gtt.h | 233 unsigned int pat_index, 305 unsigned int pat_index, 320 unsigned int pat_index, 324 unsigned int pat_index, 329 unsigned int pat_index, 333 unsigned int pat_index, 580 unsigned int pat_index, 658 unsigned int pat_index,
|
D | intel_migrate.h | 50 unsigned int pat_index, 58 unsigned int pat_index,
|
D | gen8_ppgtt.h | 18 unsigned int pat_index,
|
D | intel_migrate.c | 364 unsigned int pat_index, in emit_pte() argument 370 const u64 encode = rq->context->vm->pte_encode(0, pat_index, in emit_pte() 987 unsigned int pat_index, in intel_context_migrate_clear() argument 1035 len = emit_pte(rq, &it, pat_index, is_lmem, offset, CHUNK_SZ); in intel_context_migrate_clear() 1121 unsigned int pat_index, in intel_migrate_clear() argument 1142 err = intel_context_migrate_clear(ce, deps, sg, pat_index, in intel_migrate_clear()
|
D | gen6_ppgtt.c | 112 unsigned int pat_index, in gen6_ppgtt_insert_entries() argument 120 const u32 pte_encode = vm->pte_encode(0, pat_index, flags); in gen6_ppgtt_insert_entries() 283 unsigned int pat_index, in pd_vma_bind() argument
|
D | intel_ppgtt.c | 185 unsigned int pat_index, in ppgtt_bind_vma() argument 203 vm->insert_entries(vm, vma_res, pat_index, pte_flags); in ppgtt_bind_vma()
|
D | selftest_tlb.c | 40 const unsigned int pat_index = in pte_tlbinv() local 161 ce->vm->insert_entries(ce->vm, &vb_res, pat_index, pte_flags); in pte_tlbinv()
|
D | selftest_timeline.c | 839 i915_gem_object_set_pat_index(obj, tl->hwsp_ggtt->obj->pat_index); in setup_watcher()
|
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ |
D | mock_gtt.c | 30 unsigned int pat_index, in mock_insert_page() argument 37 unsigned int pat_index, u32 flags) in mock_insert_entries() argument 44 unsigned int pat_index, in mock_bind_ppgtt() argument 97 unsigned int pat_index, in mock_bind_ggtt() argument
|
D | i915_gem_gtt.c | 138 obj->pat_index = i915_gem_get_pat_index(i915, I915_CACHE_NONE); in fake_dma_object() 1518 obj->pat_index, in reserve_gtt_with_resource() 1698 obj->pat_index, 0, vm->total, 0); in insert_gtt_with_resource()
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/ |
D | i915_gem_create.c | 248 unsigned int pat_index; member 417 if (ext.pat_index > max_pat_index) { in ext_set_pat() 419 ext.pat_index); in ext_set_pat() 423 ext_data->pat_index = ext.pat_index; in ext_set_pat() 454 ext_data.pat_index = PAT_INDEX_NOT_SET; in i915_gem_create_ext_ioctl() 491 if (ext_data.pat_index != PAT_INDEX_NOT_SET) { in i915_gem_create_ext_ioctl() 492 i915_gem_object_set_pat_index(obj, ext_data.pat_index); in i915_gem_create_ext_ioctl()
|
D | i915_gem_object.c | 72 return obj->pat_index == i915_gem_get_pat_index(obj_to_i915(obj), lvl); in i915_gem_object_has_cache_level() 154 obj->pat_index = i915_gem_get_pat_index(i915, cache_level); in i915_gem_object_set_cache_coherency() 178 unsigned int pat_index) in i915_gem_object_set_pat_index() argument 182 if (obj->pat_index == pat_index) in i915_gem_object_set_pat_index() 185 obj->pat_index = pat_index; in i915_gem_object_set_pat_index() 187 if (pat_index != i915_gem_get_pat_index(i915, I915_CACHE_NONE)) in i915_gem_object_set_pat_index()
|
D | i915_gem_object_types.h | 383 unsigned int pat_index:6; member
|
D | i915_gem_object.h | 766 unsigned int pat_index);
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dpt.c | 46 unsigned int pat_index, in dpt_insert_page() argument 53 vm->pte_encode(addr, pat_index, flags)); in dpt_insert_page() 58 unsigned int pat_index, in dpt_insert_entries() argument 63 const gen8_pte_t pte_encode = vm->pte_encode(0, pat_index, flags); in dpt_insert_entries() 86 unsigned int pat_index, in dpt_bind_vma() argument 101 vm->insert_entries(vm, vma_res, pat_index, pte_flags); in dpt_bind_vma()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_debugfs.c | 148 switch (obj->pat_index) { in i915_cache_level_str() 157 switch (obj->pat_index) { in i915_cache_level_str() 169 switch (obj->pat_index) { in i915_cache_level_str() 177 switch (obj->pat_index) { in i915_cache_level_str()
|
D | i915_vma.c | 319 unsigned int pat_index; member 338 vma_res, vw->pat_index, vw->flags); in __vma_bind() 441 unsigned int pat_index, in i915_vma_bind() argument 511 work->pat_index = pat_index; in i915_vma_bind() 541 vma->ops->bind_vma(vma->vm, NULL, vma->resource, pat_index, in i915_vma_bind() 818 color = vma->obj->pat_index; in i915_vma_insert() 1530 vma->obj->pat_index, in i915_vma_pin_ww()
|
D | i915_vma.h | 253 unsigned int pat_index,
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_migrate.c | 222 obj->mm.pages->sgl, obj->pat_index, in __igt_lmem_pages_migrate()
|
/linux-6.6.21/tools/include/uapi/drm/ |
D | i915_drm.h | 3836 __u32 pat_index; member
|
/linux-6.6.21/include/uapi/drm/ |
D | i915_drm.h | 3836 __u32 pat_index; member
|