Home
last modified time | relevance | path

Searched refs:evicted_bos (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c867 atomic_set(&info->evicted_bos, 0); in init_kfd_vm()
1660 int invalid, evicted_bos; in amdgpu_amdkfd_evict_userptr() local
1664 evicted_bos = atomic_inc_return(&process_info->evicted_bos); in amdgpu_amdkfd_evict_userptr()
1665 if (evicted_bos == 1) { in amdgpu_amdkfd_evict_userptr()
1883 int evicted_bos; in amdgpu_amdkfd_restore_userptr_worker() local
1885 evicted_bos = atomic_read(&process_info->evicted_bos); in amdgpu_amdkfd_restore_userptr_worker()
1886 if (!evicted_bos) in amdgpu_amdkfd_restore_userptr_worker()
1908 if (atomic_read(&process_info->evicted_bos) != evicted_bos) in amdgpu_amdkfd_restore_userptr_worker()
1919 if (atomic_cmpxchg(&process_info->evicted_bos, evicted_bos, 0) != in amdgpu_amdkfd_restore_userptr_worker()
1920 evicted_bos) in amdgpu_amdkfd_restore_userptr_worker()
[all …]
Damdgpu_amdkfd.h117 atomic_t evicted_bos; member