Home
last modified time | relevance | path

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

1234

/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Dintel_runtime_pm.h25 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get()
32 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_if_in_use()
39 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_get_noresume()
47 struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm); in intel_runtime_pm_put_unchecked()
/linux-6.12.1/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.c238 intel_runtime_pm_init_early(&dev_priv->runtime_pm); in i915_driver_early_probe()
633 intel_runtime_pm_enable(&dev_priv->runtime_pm); in i915_driver_register()
654 intel_runtime_pm_disable(&dev_priv->runtime_pm); in i915_driver_unregister()
771 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe()
813 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe()
844 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe()
856 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_driver_remove()
880 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_driver_remove()
886 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in i915_driver_release()
939 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_shutdown()
[all …]
Di915_irq.c259 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler()
331 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler()
345 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler()
409 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler()
433 disable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler()
487 enable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler()
530 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler()
532 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler()
998 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i8xx_irq_handler()
1031 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i8xx_irq_handler()
[all …]
Di915_debugfs.c346 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in i915_swizzle_info()
376 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in i915_swizzle_info()
439 print_intel_runtime_pm_wakeref(&dev_priv->runtime_pm, &p); in i915_runtime_pm_status()
452 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_engine_info()
468 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()
/linux-6.12.1/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()
530 intel_runtime_pm_put(&i915->runtime_pm, in intel_pxp_invalidate()
/linux-6.12.1/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.12.1/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_submission.c1516 wakeref = intel_runtime_pm_get_if_active(&gt->i915->runtime_pm); in guc_timestamp_ping()
1541 intel_runtime_pm_put(&gt->i915->runtime_pm, wakeref); in guc_timestamp_ping()
1562 with_intel_runtime_pm(&gt->i915->runtime_pm, wakeref) in guc_init_engine_stats()
2871 struct intel_runtime_pm *runtime_pm = engine->uncore->rpm; in try_context_registration() local
2917 with_intel_runtime_pm(runtime_pm, wakeref) in try_context_registration()
2922 with_intel_runtime_pm(runtime_pm, wakeref) in try_context_registration()
3067 struct intel_runtime_pm *runtime_pm = ce->engine->uncore->rpm; in guc_context_block() local
3096 with_intel_runtime_pm(runtime_pm, wakeref) in guc_context_block()
3123 struct intel_runtime_pm *runtime_pm = ce->engine->uncore->rpm; in guc_context_unblock() local
3147 with_intel_runtime_pm(runtime_pm, wakeref) in guc_context_unblock()
[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()
395 with_intel_runtime_pm(&gt->i915->runtime_pm, wakeref) in intel_guc_dump_time_info()
/linux-6.12.1/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.12.1/Documentation/power/
Dindex.rst20 runtime_pm
/linux-6.12.1/Documentation/translations/zh_CN/power/
Dindex.rst30 * runtime_pm
/linux-6.12.1/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()
517 intel_wakeref_t wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in intel_display_power_get()
546 wakeref = intel_runtime_pm_get_if_in_use(&dev_priv->runtime_pm); in intel_display_power_get_if_enabled()
562 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_display_power_get_if_enabled()
627 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in release_async_put_domains()
649 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in intel_display_power_put_async_work()
715 struct intel_runtime_pm *rpm = &i915->runtime_pm; in __intel_display_power_put_async()
787 intel_runtime_pm_put_raw(&i915->runtime_pm, work_wakeref); in intel_display_power_flush_work()
826 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_display_power_put()
846 intel_runtime_pm_put_unchecked(&dev_priv->runtime_pm); in intel_display_power_put_unchecked()
[all …]
Dhsw_ips.c329 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in hsw_ips_debugfs_status_show()
343 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in hsw_ips_debugfs_status_show()
Dintel_fb_pin.c142 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in intel_fb_pin_to_ggtt()
221 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_fb_pin_to_ggtt()
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