Home
last modified time | relevance | path

Searched refs:runtime_pm (Results 1 – 25 of 80) sorted by relevance

1234

/linux-6.14.4/drivers/gpu/drm/xe/compat-i915-headers/
Dintel_runtime_pm.h26 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_suspended()
33 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get()
40 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_if_in_use()
47 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_noresume()
56 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_put_unchecked()
/linux-6.14.4/drivers/gpu/drm/i915/
Dintel_wakeref.c18 wakeref = intel_runtime_pm_get(&wf->i915->runtime_pm); in __intel_wakeref_get_first()
48 intel_runtime_pm_put(&wf->i915->runtime_pm, wakeref); in __intel_wakeref_get_first()
71 intel_runtime_pm_put(&wf->i915->runtime_pm, wakeref); in ____intel_wakeref_put_last()
148 intel_runtime_pm_put(&wf->i915->runtime_pm, wakeref); in wakeref_auto_timeout()
172 assert_rpm_wakelock_held(&wf->i915->runtime_pm); in intel_wakeref_auto()
179 intel_runtime_pm_get_if_in_use(&wf->i915->runtime_pm); in intel_wakeref_auto()
Di915_driver.c245 intel_runtime_pm_init_early(&dev_priv->runtime_pm); in i915_driver_early_probe()
658 intel_runtime_pm_enable(&dev_priv->runtime_pm); in i915_driver_register()
680 intel_runtime_pm_disable(&dev_priv->runtime_pm); in i915_driver_unregister()
800 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe()
842 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe()
873 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe()
886 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_driver_remove()
910 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_driver_remove()
917 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in i915_driver_release()
972 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_shutdown()
[all …]
Di915_irq.c216 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler()
288 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler()
302 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler()
366 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler()
390 disable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler()
444 enable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler()
487 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler()
489 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler()
921 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i915_irq_handler()
962 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i915_irq_handler()
[all …]
Di915_debugfs.c340 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in i915_swizzle_info()
370 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in i915_swizzle_info()
433 print_intel_runtime_pm_wakeref(&dev_priv->runtime_pm, &p); in i915_runtime_pm_status()
446 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_engine_info()
462 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_engine_info()
Di915_vma_resource.c114 intel_runtime_pm_put(&vm->i915->runtime_pm, vma_res->wakeref); in __i915_vma_resource_unhold()
242 vma_res->wakeref = intel_runtime_pm_get_if_in_use(&vm->i915->runtime_pm); in i915_vma_resource_unbind()
Di915_ioctl.c73 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_reg_read_ioctl()
Di915_gem.c117 struct intel_runtime_pm *rpm = &to_i915(obj->base.dev)->runtime_pm; in i915_gem_object_unbind()
395 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_gem_gtt_pread()
442 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_gem_gtt_pread()
547 struct intel_runtime_pm *rpm = &i915->runtime_pm; in i915_gem_gtt_pwrite_fast()
859 &i915->runtime_pm.lmem_userfault_list, userfault_link) in i915_gem_runtime_suspend()
/linux-6.14.4/drivers/gpu/drm/i915/pxp/
Dintel_pxp_pm.c31 with_intel_runtime_pm(&pxp->ctrl_gt->i915->runtime_pm, wakeref) { in intel_pxp_suspend()
54 wakeref = intel_runtime_pm_get(&pxp->ctrl_gt->i915->runtime_pm); in _pxp_resume()
57 intel_runtime_pm_put(&pxp->ctrl_gt->i915->runtime_pm, wakeref); in _pxp_resume()
Dintel_pxp_tee.c181 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_pxp_tee_component_bind()
190 wakeref = intel_runtime_pm_get_if_in_use(&i915->runtime_pm); in i915_pxp_tee_component_bind()
198 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_pxp_tee_component_bind()
211 with_intel_runtime_pm_if_in_use(&i915->runtime_pm, wakeref) in i915_pxp_tee_component_unbind()
Dintel_pxp.c359 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_pxp_end()
369 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_pxp_end()
532 intel_runtime_pm_put(&i915->runtime_pm, in intel_pxp_invalidate()
/linux-6.14.4/drivers/gpu/drm/i915/selftests/
Di915_gem.c80 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in simulate_hibernate()
91 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in simulate_hibernate()
105 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_suspend()
115 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_hibernate()
131 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_resume()
Dmock_gem_device.c191 intel_runtime_pm_init_early(&i915->runtime_pm); in mock_gem_device()
193 i915->runtime_pm.no_wakeref_tracking = true; in mock_gem_device()
Di915_gem_evict.c406 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in igt_evict_contexts()
532 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in igt_evict_contexts()
554 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_evict_mock_selftests()
/linux-6.14.4/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_slpc.c211 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in slpc_force_min_freq()
398 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_set_max_freq()
430 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_get_max_freq()
448 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_guc_slpc_set_ignore_eff_freq()
466 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_guc_slpc_set_ignore_eff_freq()
494 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_guc_slpc_set_min_freq()
503 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_guc_slpc_set_min_freq()
529 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_get_min_freq()
546 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in intel_guc_slpc_set_strategy()
563 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in intel_guc_slpc_set_media_ratio_mode()
[all …]
Dintel_guc.c85 assert_rpm_wakelock_held(&gt->i915->runtime_pm); in gen9_reset_guc_interrupts()
96 assert_rpm_wakelock_held(&gt->i915->runtime_pm); in gen9_enable_guc_interrupts()
111 assert_rpm_wakelock_held(&gt->i915->runtime_pm); in gen9_disable_guc_interrupts()
403 with_intel_runtime_pm(&gt->i915->runtime_pm, wakeref) in intel_guc_dump_time_info()
/linux-6.14.4/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c137 wakeref = intel_runtime_pm_get_if_in_use(&i915->runtime_pm); in i915_gem_shrink()
250 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_gem_shrink()
279 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrink_all()
332 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrinker_scan()
357 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_shrinker_oom()
397 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_shrinker_vmap()
Di915_gem_ttm.c1108 wakeref = intel_runtime_pm_get(&to_i915(obj->base.dev)->runtime_pm); in vm_fault_ttm()
1127 spin_lock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in vm_fault_ttm()
1128 list_add(&obj->userfault_link, &to_i915(obj->base.dev)->runtime_pm.lmem_userfault_list); in vm_fault_ttm()
1129 spin_unlock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in vm_fault_ttm()
1135 intel_wakeref_auto(&to_i915(obj->base.dev)->runtime_pm.userfault_wakeref, in vm_fault_ttm()
1144 intel_runtime_pm_put(&to_i915(obj->base.dev)->runtime_pm, wakeref); in vm_fault_ttm()
1203 wakeref = intel_runtime_pm_get(&to_i915(obj->base.dev)->runtime_pm); in i915_ttm_unmap_virtual()
1207 spin_lock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in i915_ttm_unmap_virtual()
1209 spin_unlock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in i915_ttm_unmap_virtual()
1219 intel_runtime_pm_put(&to_i915(obj->base.dev)->runtime_pm, wakeref); in i915_ttm_unmap_virtual()
Di915_gem_pm.c30 intel_wakeref_auto(&i915->runtime_pm.userfault_wakeref, 0); in i915_gem_suspend()
219 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_freeze_late()
/linux-6.14.4/Documentation/power/
Dindex.rst20 runtime_pm
/linux-6.14.4/Documentation/translations/zh_CN/power/
Dindex.rst30 * runtime_pm
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_display_power.c477 intel_runtime_pm_put_raw(&dev_priv->runtime_pm, in intel_display_power_grab_async_put_ref()
518 intel_wakeref_t wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in intel_display_power_get()
548 wakeref = intel_runtime_pm_get_if_in_use(&dev_priv->runtime_pm); in intel_display_power_get_if_enabled()
564 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_display_power_get_if_enabled()
628 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in release_async_put_domains()
650 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in intel_display_power_put_async_work()
717 struct intel_runtime_pm *rpm = &i915->runtime_pm; in __intel_display_power_put_async()
790 intel_runtime_pm_put_raw(&i915->runtime_pm, work_wakeref); in intel_display_power_flush_work()
832 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_display_power_put()
854 intel_runtime_pm_put_unchecked(&dev_priv->runtime_pm); in intel_display_power_put_unchecked()
[all …]
Dintel_fb_pin.c144 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in intel_fb_pin_to_ggtt()
223 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_fb_pin_to_ggtt()
Dhsw_ips.c352 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in hsw_ips_debugfs_status_show()
366 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in hsw_ips_debugfs_status_show()
Dintel_dpt.c139 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_dpt_pin_to_ggtt()
171 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_dpt_pin_to_ggtt()

1234