Searched refs:pte_flags (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/i915/display/ |
D | intel_dpt.c | 84 u32 pte_flags; in dpt_bind_vma() local 87 pte_flags = 0; in dpt_bind_vma() 89 pte_flags |= PTE_READ_ONLY; in dpt_bind_vma() 91 pte_flags |= PTE_LM; in dpt_bind_vma() 93 vma->vm->insert_entries(vma->vm, vma, cache_level, pte_flags); in dpt_bind_vma()
|
/drivers/gpu/drm/i915/gt/ |
D | intel_ppgtt.c | 185 u32 pte_flags; in ppgtt_bind_vma() local 193 pte_flags = 0; in ppgtt_bind_vma() 195 pte_flags |= PTE_READ_ONLY; in ppgtt_bind_vma() 197 pte_flags |= PTE_LM; in ppgtt_bind_vma() 199 vm->insert_entries(vm, vma, cache_level, pte_flags); in ppgtt_bind_vma()
|
D | intel_ggtt.c | 461 u32 pte_flags; in ggtt_bind_vma() local 467 pte_flags = 0; in ggtt_bind_vma() 469 pte_flags |= PTE_READ_ONLY; in ggtt_bind_vma() 471 pte_flags |= PTE_LM; in ggtt_bind_vma() 473 vm->insert_entries(vm, vma, cache_level, pte_flags); in ggtt_bind_vma() 616 u32 pte_flags; in aliasing_gtt_bind_vma() local 619 pte_flags = 0; in aliasing_gtt_bind_vma() 621 pte_flags |= PTE_READ_ONLY; in aliasing_gtt_bind_vma() 628 vm->insert_entries(vm, vma, cache_level, pte_flags); in aliasing_gtt_bind_vma() 822 u32 pte_flags; in ggtt_probe_common() local [all …]
|
D | gen8_ppgtt.c | 626 u32 pte_flags; in gen8_init_scratch() local 650 pte_flags = vm->has_read_only; in gen8_init_scratch() 652 pte_flags |= PTE_LM; in gen8_init_scratch() 656 I915_CACHE_LLC, pte_flags); in gen8_init_scratch()
|
/drivers/char/agp/ |
D | intel-gtt.c | 324 u32 pte_flags = I810_PTE_VALID; in i810_write_entry() local 328 pte_flags |= I810_PTE_LOCAL; in i810_write_entry() 331 pte_flags |= I830_PTE_SYSTEM_CACHED; in i810_write_entry() 335 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i810_write_entry() 738 u32 pte_flags = I810_PTE_VALID; in i830_write_entry() local 741 pte_flags |= I830_PTE_SYSTEM_CACHED; in i830_write_entry() 743 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); in i830_write_entry() 1120 u32 pte_flags; in i965_write_entry() local 1122 pte_flags = I810_PTE_VALID; in i965_write_entry() 1124 pte_flags |= I830_PTE_SYSTEM_CACHED; in i965_write_entry() [all …]
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_migrate.c | 52 uint64_t pte_flags; in svm_migrate_gart_map() local 77 pte_flags = AMDGPU_PTE_VALID | AMDGPU_PTE_READABLE; in svm_migrate_gart_map() 78 pte_flags |= AMDGPU_PTE_SYSTEM | AMDGPU_PTE_SNOOPED; in svm_migrate_gart_map() 80 pte_flags |= AMDGPU_PTE_WRITEABLE; in svm_migrate_gart_map() 81 pte_flags |= adev->gart.gart_pte_flags; in svm_migrate_gart_map() 85 r = amdgpu_gart_map(adev, 0, npages, addr, pte_flags, cpu_addr); in svm_migrate_gart_map()
|
D | kfd_svm.c | 1044 uint64_t pte_flags; in svm_range_get_pte_flags() local 1098 pte_flags = AMDGPU_PTE_VALID; in svm_range_get_pte_flags() 1099 pte_flags |= (domain == SVM_RANGE_VRAM_DOMAIN) ? 0 : AMDGPU_PTE_SYSTEM; in svm_range_get_pte_flags() 1100 pte_flags |= snoop ? AMDGPU_PTE_SNOOPED : 0; in svm_range_get_pte_flags() 1102 pte_flags |= amdgpu_gem_va_map_flags(adev, mapping_flags); in svm_range_get_pte_flags() 1103 return pte_flags; in svm_range_get_pte_flags() 1172 uint64_t pte_flags; in svm_range_map_to_gpu() local 1200 pte_flags = svm_range_get_pte_flags(adev, prange, last_domain); in svm_range_map_to_gpu() 1202 pte_flags &= ~AMDGPU_PTE_WRITEABLE; in svm_range_map_to_gpu() 1207 pte_flags); in svm_range_map_to_gpu() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 407 uint64_t pte_flags; in get_pte_flags() local 459 pte_flags = amdgpu_gem_va_map_flags(adev, mapping_flags); in get_pte_flags() 460 pte_flags |= snoop ? AMDGPU_PTE_SNOOPED : 0; in get_pte_flags() 462 return pte_flags; in get_pte_flags() 746 attachment[i]->pte_flags = get_pte_flags(adev, mem); in kfd_mem_attach() 1093 entry->pte_flags); in map_bo_to_gpuvm()
|
D | amdgpu_amdkfd.h | 60 uint64_t pte_flags; member
|