Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c283 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_reserved() local
308 needs_flush = true; in amdgpu_vmid_grab_reserved()
318 job->vm_needs_flush = needs_flush; in amdgpu_vmid_grab_reserved()
351 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_used() local
363 needs_flush = true; in amdgpu_vmid_grab_used()
366 needs_flush = true; in amdgpu_vmid_grab_used()
368 if (needs_flush && !adev->vm_manager.concurrent_flush) in amdgpu_vmid_grab_used()
379 job->vm_needs_flush |= needs_flush; in amdgpu_vmid_grab_used()
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)
/Linux-v6.6/arch/parisc/kernel/
Dcache.c604 bool needs_flush = false; in flush_cache_page_if_present() local
614 needs_flush = pte_needs_flush(*ptep); in flush_cache_page_if_present()
617 if (needs_flush) in flush_cache_page_if_present()
684 bool needs_flush = false; in flush_cache_pages() local
692 needs_flush = pte_needs_flush(*ptep); in flush_cache_pages()
696 if (needs_flush) { in flush_cache_pages()
/Linux-v6.6/arch/mips/kvm/
Dmips.c219 int needs_flush; in kvm_arch_commit_memory_region() local
235 needs_flush = kvm_mips_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
237 if (needs_flush) in kvm_arch_commit_memory_region()
/Linux-v6.6/drivers/gpu/drm/i915/gem/selftests/
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()
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()