Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c276 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_reserved() local
300 needs_flush = true; in amdgpu_vmid_grab_reserved()
314 job->vm_needs_flush = needs_flush; in amdgpu_vmid_grab_reserved()
348 bool needs_flush = vm->use_cpu_for_update; in amdgpu_vmid_grab_used() local
361 needs_flush = true; in amdgpu_vmid_grab_used()
365 needs_flush = true; in amdgpu_vmid_grab_used()
370 if (needs_flush && (adev->asic_type < CHIP_VEGA10 || in amdgpu_vmid_grab_used()
387 job->vm_needs_flush |= needs_flush; in amdgpu_vmid_grab_used()
Damdgpu_trace.h227 __field(u32, needs_flush)
236 __entry->needs_flush = job->vm_needs_flush;
240 __entry->vm_hub, __entry->pd_addr, __entry->needs_flush)
/Linux-v5.4/arch/mips/kvm/
Dmips.c237 int needs_flush; in kvm_arch_commit_memory_region() local
257 needs_flush = kvm_mips_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
260 if (needs_flush) in kvm_arch_commit_memory_region()
/Linux-v5.4/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c902 unsigned int needs_flush; in cpu_check() local
906 err = i915_gem_object_prepare_read(obj, &needs_flush); in cpu_check()
913 if (needs_flush & CLFLUSH_BEFORE) in cpu_check()
Di915_gem_context.c245 unsigned int n, m, needs_flush; in cpu_check() local
248 err = i915_gem_object_prepare_read(obj, &needs_flush); in cpu_check()
256 if (needs_flush & CLFLUSH_BEFORE) in cpu_check()