Searched refs:wakeref_count (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | intel_runtime_pm.h | 51 atomic_t wakeref_count; member 78 BITS_PER_TYPE(struct_member(struct intel_runtime_pm, wakeref_count)) 84 intel_rpm_raw_wakeref_count(int wakeref_count) in intel_rpm_raw_wakeref_count() argument 86 return wakeref_count & INTEL_RPM_RAW_WAKEREF_MASK; in intel_rpm_raw_wakeref_count() 90 intel_rpm_wakelock_count(int wakeref_count) in intel_rpm_wakelock_count() argument 92 return wakeref_count >> INTEL_RPM_WAKELOCK_SHIFT; in intel_rpm_wakelock_count() 103 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument 106 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held() 111 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument 113 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held() [all...] |
H A D | intel_runtime_pm.c | 142 rpm->debug.count, atomic_read(&rpm->wakeref_count))) { in untrack_intel_runtime_pm_wakeref() 242 if (!atomic_dec_and_lock_irqsave(&rpm->wakeref_count, in __intel_wakeref_dec_and_check_tracking() 323 atomic_dec(&rpm->wakeref_count); in __intel_wakeref_dec_and_check_tracking() 337 atomic_add(1 + INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_acquire() 340 atomic_inc(&rpm->wakeref_count); in intel_runtime_pm_acquire() 350 atomic_sub(INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_release() 633 int count = atomic_read(&rpm->wakeref_count); in intel_runtime_pm_driver_release()
|
H A D | i915_drv.c | 1575 drm_WARN_ON_ONCE(&dev_priv->drm, atomic_read(&rpm->wakeref_count)); in intel_runtime_resume()
|
H A D | i915_gpu_error.c | 1723 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count); in capture_gen()
|
H A D | intel_pm.c | 7718 atomic_set(&dev_priv->runtime_pm.wakeref_count, 0); in intel_pm_setup()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | intel_runtime_pm.h | 43 atomic_t wakeref_count; member 93 BITS_PER_TYPE(typeof_member(struct intel_runtime_pm, wakeref_count)) 99 intel_rpm_raw_wakeref_count(int wakeref_count) in intel_rpm_raw_wakeref_count() argument 101 return wakeref_count & INTEL_RPM_RAW_WAKEREF_MASK; in intel_rpm_raw_wakeref_count() 105 intel_rpm_wakelock_count(int wakeref_count) in intel_rpm_wakelock_count() argument 107 return wakeref_count >> INTEL_RPM_WAKELOCK_SHIFT; in intel_rpm_wakelock_count() 118 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument 121 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held() 126 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument 128 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held() [all...] |
H A D | intel_runtime_pm.c | 133 rpm->debug.count, atomic_read(&rpm->wakeref_count))) { in untrack_intel_runtime_pm_wakeref() 233 if (!atomic_dec_and_lock_irqsave(&rpm->wakeref_count, in __intel_wakeref_dec_and_check_tracking() 314 atomic_dec(&rpm->wakeref_count); in __intel_wakeref_dec_and_check_tracking() 328 atomic_add(1 + INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_acquire() 331 atomic_inc(&rpm->wakeref_count); in intel_runtime_pm_acquire() 341 atomic_sub(INTEL_RPM_WAKELOCK_BIAS, &rpm->wakeref_count); in intel_runtime_pm_release() 634 int count = atomic_read(&rpm->wakeref_count); in intel_runtime_pm_driver_release() 656 atomic_set(&rpm->wakeref_count, 0); in intel_runtime_pm_init_early()
|
H A D | i915_driver.c | 1615 drm_WARN_ON_ONCE(&dev_priv->drm, atomic_read(&rpm->wakeref_count)); in intel_runtime_resume()
|
H A D | i915_gpu_error.c | 1974 error->wakelock = atomic_read(&i915->runtime_pm.wakeref_count); in capture_gen()
|
Completed in 21 milliseconds