Home
last modified time | relevance | path

Searched refs:needs_flush (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c280 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_reserved() local
323 needs_flush = true; in amdgpu_vmid_grab_reserved()
333 job->vm_needs_flush = needs_flush; in amdgpu_vmid_grab_reserved()
366 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_used() local
378 needs_flush = true; in amdgpu_vmid_grab_used()
381 needs_flush = true; in amdgpu_vmid_grab_used()
383 if (needs_flush && !adev->vm_manager.concurrent_flush) in amdgpu_vmid_grab_used()
394 job->vm_needs_flush |= needs_flush; in amdgpu_vmid_grab_used()
Damdgpu_vm_cpu.c109 if (p->needs_flush) in amdgpu_vm_cpu_commit()
Damdgpu_trace.h229 __field(u32, needs_flush)
238 __entry->needs_flush = job->vm_needs_flush;
242 __entry->vm_hub, __entry->pd_addr, __entry->needs_flush)
Damdgpu_vm_sdma.c118 if (p->needs_flush) in amdgpu_vm_sdma_commit()
Damdgpu_vm.h291 bool needs_flush; member
Damdgpu_vm_pt.c949 params->needs_flush = true; in amdgpu_vm_ptes_update()
Damdgpu_vm.c991 params.needs_flush = flush_tlb; in amdgpu_vm_update_range()
1071 if (params.needs_flush) { in amdgpu_vm_update_range()
/linux-6.12.1/arch/loongarch/kvm/
Dmmu.c447 int needs_flush; in kvm_arch_commit_memory_region() local
479 needs_flush = kvm_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
482 if (needs_flush) in kvm_arch_commit_memory_region()
/linux-6.12.1/arch/parisc/kernel/
Dcache.c627 bool needs_flush = false; in flush_cache_page_if_present() local
633 needs_flush = pte_needs_flush(pte); in flush_cache_page_if_present()
636 if (needs_flush) in flush_cache_page_if_present()
/linux-6.12.1/arch/mips/kvm/
Dmips.c217 int needs_flush; in kvm_arch_commit_memory_region() local
233 needs_flush = kvm_mips_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
235 if (needs_flush) in kvm_arch_commit_memory_region()
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_context.c511 unsigned int needs_flush; in cpu_check() local
516 err = i915_gem_object_prepare_read(obj, &needs_flush); in cpu_check()
524 if (needs_flush & CLFLUSH_BEFORE) in cpu_check()
Dhuge_pages.c1075 unsigned int needs_flush; in __cpu_check_shmem() local
1080 err = i915_gem_object_prepare_read(obj, &needs_flush); in __cpu_check_shmem()
1087 if (needs_flush & CLFLUSH_BEFORE) in __cpu_check_shmem()