Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.c897 static long user_timeout_to_jiffies(uint32_t user_timeout_ms) in user_timeout_to_jiffies() argument
899 if (user_timeout_ms == KFD_EVENT_TIMEOUT_IMMEDIATE) in user_timeout_to_jiffies()
902 if (user_timeout_ms == KFD_EVENT_TIMEOUT_INFINITE) in user_timeout_to_jiffies()
910 user_timeout_ms = min_t(uint32_t, user_timeout_ms, 0x7FFFFFFF); in user_timeout_to_jiffies()
912 return msecs_to_jiffies(user_timeout_ms) + 1; in user_timeout_to_jiffies()
936 bool all, uint32_t *user_timeout_ms, in kfd_wait_on_events() argument
945 long timeout = user_timeout_to_jiffies(*user_timeout_ms); in kfd_wait_on_events()
995 if (*user_timeout_ms != KFD_EVENT_TIMEOUT_IMMEDIATE && in kfd_wait_on_events()
996 *user_timeout_ms != KFD_EVENT_TIMEOUT_INFINITE) in kfd_wait_on_events()
997 *user_timeout_ms = jiffies_to_msecs( in kfd_wait_on_events()
H A Dkfd_priv.h1440 bool all, uint32_t *user_timeout_ms,