Searched refs:wakeref_count (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/i915/ |
A D | intel_runtime_pm.h | 49 atomic_t wakeref_count; member 82 intel_rpm_raw_wakeref_count(int wakeref_count) in intel_rpm_raw_wakeref_count() argument 84 return wakeref_count & INTEL_RPM_RAW_WAKEREF_MASK; in intel_rpm_raw_wakeref_count() 88 intel_rpm_wakelock_count(int wakeref_count) in intel_rpm_wakelock_count() argument 90 return wakeref_count >> INTEL_RPM_WAKELOCK_SHIFT; in intel_rpm_wakelock_count() 104 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held() 111 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held() 112 WARN_ONCE(!intel_rpm_wakelock_count(wakeref_count), in __assert_rpm_wakelock_held() 125 __assert_rpm_wakelock_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_wakelock_held() 150 &rpm->wakeref_count); in disable_rpm_wakeref_asserts() [all …]
|
A D | intel_runtime_pm.c | 132 rpm->debug.count, atomic_read(&rpm->wakeref_count))) { in untrack_intel_runtime_pm_wakeref() 232 if (!atomic_dec_and_lock_irqsave(&rpm->wakeref_count, in __intel_wakeref_dec_and_check_tracking() 313 atomic_dec(&rpm->wakeref_count); in __intel_wakeref_dec_and_check_tracking() 327 atomic_add(1 + INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_acquire() 330 atomic_inc(&rpm->wakeref_count); in intel_runtime_pm_acquire() 340 atomic_sub(INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_release() 623 int count = atomic_read(&rpm->wakeref_count); in intel_runtime_pm_driver_release()
|
A D | i915_drv.c | 1613 drm_WARN_ON_ONCE(&dev_priv->drm, atomic_read(&rpm->wakeref_count)); in intel_runtime_resume()
|
A D | i915_gpu_error.c | 1750 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count); in capture_gen()
|
A D | intel_pm.c | 8093 atomic_set(&dev_priv->runtime_pm.wakeref_count, 0); in intel_pm_setup()
|
Completed in 41 milliseconds