Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c41 static atomic_t kfd_locked = ATOMIC_INIT(0); variable
845 atomic_dec(&kfd_locked); in kgd2kfd_post_reset()
856 return (atomic_read(&kfd_locked) > 0); in kfd_is_locked()
867 if (atomic_inc_return(&kfd_locked) == 1) in kgd2kfd_suspend()
888 count = atomic_dec_return(&kfd_locked); in kgd2kfd_resume()