Home
last modified time | relevance | path

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

/Linux-v4.19/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()
368 if (adev->asic_type < CHIP_VEGA10 && needs_flush) in amdgpu_vmid_grab_used()
383 job->vm_needs_flush |= needs_flush; in amdgpu_vmid_grab_used()
Damdgpu_trace.h225 __field(u32, needs_flush)
234 __entry->needs_flush = job->vm_needs_flush;
238 __entry->vm_hub, __entry->pd_addr, __entry->needs_flush)
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_context.c232 unsigned int n, m, needs_flush; in cpu_check() local
235 err = i915_gem_obj_prepare_shmem_read(obj, &needs_flush); in cpu_check()
243 if (needs_flush & CLFLUSH_BEFORE) in cpu_check()
Dhuge_pages.c1017 unsigned int needs_flush; in cpu_check() local
1021 err = i915_gem_obj_prepare_shmem_read(obj, &needs_flush); in cpu_check()
1028 if (needs_flush & CLFLUSH_BEFORE) in cpu_check()
/Linux-v4.19/arch/mips/kvm/
Dmips.c247 int needs_flush; in kvm_arch_commit_memory_region() local
267 needs_flush = kvm_mips_mkclean_gpa_pt(kvm, new->base_gfn, in kvm_arch_commit_memory_region()
270 if (needs_flush) in kvm_arch_commit_memory_region()