Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c263 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_reserved() local
287 needs_flush = true; in amdgpu_vmid_grab_reserved()
298 job->vm_needs_flush = needs_flush; in amdgpu_vmid_grab_reserved()
332 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_used() local
344 needs_flush = true; in amdgpu_vmid_grab_used()
347 needs_flush = true; in amdgpu_vmid_grab_used()
349 if (needs_flush && !adev->vm_manager.concurrent_flush) in amdgpu_vmid_grab_used()
360 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.1/arch/mips/kvm/
Dmips.c229 int needs_flush; in kvm_arch_commit_memory_region() local
245 needs_flush = kvm_mips_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
247 if (needs_flush) in kvm_arch_commit_memory_region()
/Linux-v6.1/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c1015 unsigned int needs_flush; in __cpu_check_shmem() local
1020 err = i915_gem_object_prepare_read(obj, &needs_flush); in __cpu_check_shmem()
1027 if (needs_flush & CLFLUSH_BEFORE) in __cpu_check_shmem()
Di915_gem_context.c488 unsigned int n, m, needs_flush; in cpu_check() local
492 err = i915_gem_object_prepare_read(obj, &needs_flush); in cpu_check()
500 if (needs_flush & CLFLUSH_BEFORE) in cpu_check()