Home
last modified time | relevance | path

Searched refs:pat_index (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c224 unsigned int pat_index, in mtl_ggtt_pte_encode() argument
234 if (pat_index & BIT(0)) in mtl_ggtt_pte_encode()
237 if (pat_index & BIT(1)) in mtl_ggtt_pte_encode()
244 unsigned int pat_index, in gen8_ggtt_pte_encode() argument
263 unsigned int pat_index, in gen8_ggtt_insert_page() argument
270 gen8_set_pte(pte, ggtt->vm.pte_encode(addr, pat_index, flags)); in gen8_ggtt_insert_page()
277 unsigned int pat_index, in gen8_ggtt_insert_entries() argument
281 const gen8_pte_t pte_encode = ggtt->vm.pte_encode(0, pat_index, flags); in gen8_ggtt_insert_entries()
338 unsigned int pat_index, in gen6_ggtt_insert_page() argument
345 iowrite32(vm->pte_encode(addr, pat_index, flags), pte); in gen6_ggtt_insert_page()
[all …]
Dgen8_ppgtt.c32 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 …]
Dintel_ggtt_gmch.c21 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()
Dselftest_migrate.c140 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 …]
Dintel_gtt.h233 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,
Dintel_migrate.h50 unsigned int pat_index,
58 unsigned int pat_index,
Dgen8_ppgtt.h18 unsigned int pat_index,
Dintel_migrate.c364 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()
Dgen6_ppgtt.c112 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
Dintel_ppgtt.c185 unsigned int pat_index, in ppgtt_bind_vma() argument
203 vm->insert_entries(vm, vma_res, pat_index, pte_flags); in ppgtt_bind_vma()
Dselftest_tlb.c40 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()
Dselftest_timeline.c839 i915_gem_object_set_pat_index(obj, tl->hwsp_ggtt->obj->pat_index); in setup_watcher()
/Linux-v6.6/drivers/gpu/drm/i915/selftests/
Dmock_gtt.c30 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
Di915_gem_gtt.c138 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-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_create.c248 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()
Di915_gem_object.c72 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()
Di915_gem_object_types.h383 unsigned int pat_index:6; member
Di915_gem_object.h766 unsigned int pat_index);
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_dpt.c46 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-v6.6/drivers/gpu/drm/i915/
Di915_debugfs.c148 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()
Di915_vma.c319 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()
Di915_vma.h253 unsigned int pat_index,
/Linux-v6.6/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_migrate.c222 obj->mm.pages->sgl, obj->pat_index, in __igt_lmem_pages_migrate()
/Linux-v6.6/tools/include/uapi/drm/
Di915_drm.h3836 __u32 pat_index; member
/Linux-v6.6/include/uapi/drm/
Di915_drm.h3836 __u32 pat_index; member

12