Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.h344 struct mutex eviction_lock; member
663 mutex_lock(&vm->eviction_lock); in amdgpu_vm_eviction_lock()
669 if (mutex_trylock(&vm->eviction_lock)) { in amdgpu_vm_eviction_trylock()
679 mutex_unlock(&vm->eviction_lock); in amdgpu_vm_eviction_unlock()
H A Damdgpu_vm.c2642 mutex_init(&vm->eviction_lock); in amdgpu_vm_init()
/linux/drivers/gpu/drm/ttm/
H A Dttm_resource.c546 spin_lock_init(&man->eviction_lock); in ttm_resource_manager_init()
578 spin_lock(&man->eviction_lock); in ttm_resource_manager_evict_all()
583 spin_unlock(&man->eviction_lock); in ttm_resource_manager_evict_all()
588 spin_lock(&man->eviction_lock); in ttm_resource_manager_evict_all()
591 spin_unlock(&man->eviction_lock); in ttm_resource_manager_evict_all()
H A Dttm_bo_util.c656 spin_lock(&from->eviction_lock); in ttm_bo_move_pipeline_evict()
673 spin_unlock(&from->eviction_lock); in ttm_bo_move_pipeline_evict()
679 spin_unlock(&from->eviction_lock); in ttm_bo_move_pipeline_evict()
H A Dttm_bo.c670 spin_lock(&man->eviction_lock); in ttm_bo_add_pipelined_eviction_fences()
678 spin_unlock(&man->eviction_lock); in ttm_bo_add_pipelined_eviction_fences()
685 spin_unlock(&man->eviction_lock); in ttm_bo_add_pipelined_eviction_fences()
/linux/include/drm/ttm/
H A Dttm_resource.h212 spinlock_t eviction_lock; member