Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c46 static int kfd_locked; variable
909 --kfd_locked; in kgd2kfd_post_reset()
924 return (kfd_locked > 0); in kfd_is_locked()
939 if (++kfd_locked == 1) in kgd2kfd_suspend()
966 if (--kfd_locked == 0) in kgd2kfd_resume()
968 WARN_ONCE(kfd_locked < 0, "KFD suspend / resume ref. error"); in kgd2kfd_resume()
1366 ++kfd_locked; in kgd2kfd_check_and_lock_kfd()
1375 --kfd_locked; in kgd2kfd_unlock_kfd()