Home
last modified time | relevance | path

Searched refs:gpu_lost (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase.h438 return (atomic_read(&kbdev->pm.gpu_lost) == 0 ? false : true); in kbase_pm_is_gpu_lost()
445 * @gpu_lost: true to activate GPU lost state, FALSE is deactive it
452 bool gpu_lost) in kbase_pm_set_gpu_lost()
454 const int new_val = (gpu_lost ? 1 : 0); in kbase_pm_set_gpu_lost()
455 const int cur_val = atomic_xchg(&kbdev->pm.gpu_lost, new_val); in kbase_pm_set_gpu_lost()
451 kbase_pm_set_gpu_lost(struct kbase_device *kbdev, bool gpu_lost) kbase_pm_set_gpu_lost() argument
H A Dmali_kbase_defs.h386 * @gpu_lost: Flag indicating gpu lost
415 atomic_t gpu_lost; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase.h428 return (atomic_read(&kbdev->pm.gpu_lost) == 0 ? false : true); in kbase_pm_is_gpu_lost()
435 * @gpu_lost: true to activate GPU lost state, FALSE is deactive it
441 static inline void kbase_pm_set_gpu_lost(struct kbase_device *kbdev, bool gpu_lost) in kbase_pm_set_gpu_lost() argument
443 atomic_set(&kbdev->pm.gpu_lost, (gpu_lost ? 1 : 0)); in kbase_pm_set_gpu_lost()
H A Dmali_kbase_defs.h374 atomic_t gpu_lost; member

Completed in 10 milliseconds