Searched refs:gpu_lost (Results 1 – 2 of 2) sorted by relevance
491 return (atomic_read(&kbdev->pm.gpu_lost) == 0 ? false : true); in kbase_pm_is_gpu_lost()505 bool gpu_lost) in kbase_pm_set_gpu_lost() argument507 const int new_val = (gpu_lost ? 1 : 0); in kbase_pm_set_gpu_lost()508 const int cur_val = atomic_xchg(&kbdev->pm.gpu_lost, new_val); in kbase_pm_set_gpu_lost()
459 atomic_t gpu_lost; member