/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_wakeref.c | 15 wf->wakeref = intel_runtime_pm_get(&wf->i915->runtime_pm); in rpm_get() 22 intel_runtime_pm_put(&wf->i915->runtime_pm, wakeref); in rpm_put() 141 intel_runtime_pm_put(&wf->i915->runtime_pm, wakeref); in wakeref_auto_timeout() 165 assert_rpm_wakelock_held(&wf->i915->runtime_pm); in intel_wakeref_auto() 172 intel_runtime_pm_get_if_in_use(&wf->i915->runtime_pm); in intel_wakeref_auto()
|
H A D | i915_driver.c | 241 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() 770 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe() 810 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe() 841 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe() 853 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_driver_remove() 877 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_driver_remove() 883 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in i915_driver_release() 999 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_shutdown() [all …]
|
H A D | i915_irq.c | 260 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler() 332 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler() 346 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler() 410 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler() 434 disable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler() 488 enable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler() 531 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler() 533 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler() 997 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i8xx_irq_handler() 1030 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i8xx_irq_handler() [all …]
|
H A D | intel_runtime_pm.c | 112 runtime_pm); in untrack_intel_runtime_pm_wakeref() 354 runtime_pm); in __intel_runtime_pm_get() 561 runtime_pm); in intel_runtime_pm_enable() 616 runtime_pm); in intel_runtime_pm_disable() 633 runtime_pm); in intel_runtime_pm_driver_release() 649 container_of(rpm, struct drm_i915_private, runtime_pm); in intel_runtime_pm_init_early()
|
H A D | i915_debugfs.c | 344 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gpu_info_open() 454 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in i915_swizzle_info() 484 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in i915_swizzle_info() 547 print_intel_runtime_pm_wakeref(&dev_priv->runtime_pm, &p); in i915_runtime_pm_status() 560 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_engine_info() 576 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_engine_info()
|
H A D | i915_vma_resource.c | 114 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()
|
H A D | i915_ioctl.c | 73 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_reg_read_ioctl()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_slpc.c | 231 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in slpc_force_min_freq() 418 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_set_max_freq() 450 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_get_max_freq() 468 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_guc_slpc_set_ignore_eff_freq() 486 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_guc_slpc_set_ignore_eff_freq() 514 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_guc_slpc_set_min_freq() 523 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_guc_slpc_set_min_freq() 549 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_get_min_freq() 569 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in intel_guc_slpc_set_media_ratio_mode() 693 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_override_gucrc_mode() [all …]
|
H A D | intel_guc.c | 85 assert_rpm_wakelock_held(>->i915->runtime_pm); in gen9_reset_guc_interrupts() 96 assert_rpm_wakelock_held(>->i915->runtime_pm); in gen9_enable_guc_interrupts() 111 assert_rpm_wakelock_held(>->i915->runtime_pm); in gen9_disable_guc_interrupts() 370 with_intel_runtime_pm(>->i915->runtime_pm, wakeref) in intel_guc_dump_time_info()
|
H A D | intel_guc_submission.c | 1492 wakeref = intel_runtime_pm_get_if_active(>->i915->runtime_pm); in guc_timestamp_ping() 1517 intel_runtime_pm_put(>->i915->runtime_pm, wakeref); in guc_timestamp_ping() 1544 with_intel_runtime_pm(>->i915->runtime_pm, wakeref) in guc_init_engine_stats() 2760 struct intel_runtime_pm *runtime_pm = engine->uncore->rpm; in try_context_registration() local 2806 with_intel_runtime_pm(runtime_pm, wakeref) in try_context_registration() 2811 with_intel_runtime_pm(runtime_pm, wakeref) in try_context_registration() 2956 struct intel_runtime_pm *runtime_pm = ce->engine->uncore->rpm; in guc_context_block() local 2985 with_intel_runtime_pm(runtime_pm, wakeref) in guc_context_block() 3012 struct intel_runtime_pm *runtime_pm = ce->engine->uncore->rpm; in guc_context_unblock() local 3036 with_intel_runtime_pm(runtime_pm, wakeref) in guc_context_unblock() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem.c | 80 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()
|
H A D | mock_gem_device.c | 190 intel_runtime_pm_init_early(&i915->runtime_pm); in mock_gem_device() 192 i915->runtime_pm.no_wakeref_tracking = true; in mock_gem_device()
|
H A D | i915_gem_evict.c | 406 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()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_shrinker.c | 135 wakeref = intel_runtime_pm_get_if_in_use(&i915->runtime_pm); in i915_gem_shrink() 246 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_gem_shrink() 275 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrink_all() 330 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrinker_scan() 355 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_shrinker_oom() 393 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_shrinker_vmap()
|
H A D | i915_gem_ttm.c | 1113 wakeref = intel_runtime_pm_get(&to_i915(obj->base.dev)->runtime_pm); in vm_fault_ttm() 1132 spin_lock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in vm_fault_ttm() 1133 list_add(&obj->userfault_link, &to_i915(obj->base.dev)->runtime_pm.lmem_userfault_list); in vm_fault_ttm() 1134 spin_unlock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in vm_fault_ttm() 1140 intel_wakeref_auto(&to_i915(obj->base.dev)->runtime_pm.userfault_wakeref, in vm_fault_ttm() 1149 intel_runtime_pm_put(&to_i915(obj->base.dev)->runtime_pm, wakeref); in vm_fault_ttm() 1208 wakeref = intel_runtime_pm_get(&to_i915(obj->base.dev)->runtime_pm); in i915_ttm_unmap_virtual() 1212 spin_lock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in i915_ttm_unmap_virtual() 1214 spin_unlock(&to_i915(obj->base.dev)->runtime_pm.lmem_userfault_lock); in i915_ttm_unmap_virtual() 1224 intel_runtime_pm_put(&to_i915(obj->base.dev)->runtime_pm, wakeref); in i915_ttm_unmap_virtual()
|
H A D | i915_gem_pm.c | 30 intel_wakeref_auto(&i915->runtime_pm.userfault_wakeref, 0); in i915_gem_suspend() 209 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_freeze_late()
|
/openbmc/linux/drivers/gpu/drm/i915/pxp/ |
H A D | intel_pxp_tee.c | 174 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_pxp_tee_component_bind() 183 wakeref = intel_runtime_pm_get_if_in_use(&i915->runtime_pm); in i915_pxp_tee_component_bind() 191 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_pxp_tee_component_bind() 204 with_intel_runtime_pm_if_in_use(&i915->runtime_pm, wakeref) in i915_pxp_tee_component_unbind()
|
H A D | intel_pxp.c | 349 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_pxp_end() 359 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_pxp_end() 492 intel_runtime_pm_put(&i915->runtime_pm, in intel_pxp_invalidate()
|
H A D | intel_pxp_pm.c | 31 with_intel_runtime_pm(&pxp->ctrl_gt->i915->runtime_pm, wakeref) { in intel_pxp_suspend()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dsb.c | 301 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_dsb_prepare() 322 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_dsb_prepare() 335 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_dsb_prepare()
|
H A D | intel_display_power.c | 221 if (dev_priv->runtime_pm.suspended) in __intel_display_power_is_enabled() 493 intel_runtime_pm_put_raw(&dev_priv->runtime_pm, in intel_display_power_grab_async_put_ref() 533 intel_wakeref_t wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in intel_display_power_get() 562 wakeref = intel_runtime_pm_get_if_in_use(&dev_priv->runtime_pm); in intel_display_power_get_if_enabled() 578 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_display_power_get_if_enabled() 643 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in release_async_put_domains() 671 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in intel_display_power_put_async_work() 737 struct intel_runtime_pm *rpm = &i915->runtime_pm; in __intel_display_power_put_async() 809 intel_runtime_pm_put_raw(&i915->runtime_pm, work_wakeref); in intel_display_power_flush_work() 848 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_display_power_put() [all …]
|
H A D | intel_fb_pin.c | 147 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in intel_pin_and_fence_fb_obj() 226 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_pin_and_fence_fb_obj()
|
H A D | hsw_ips.c | 328 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in hsw_ips_debugfs_status_show() 342 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in hsw_ips_debugfs_status_show()
|
/openbmc/linux/Documentation/power/ |
H A D | index.rst | 20 runtime_pm
|
/openbmc/linux/Documentation/translations/zh_CN/power/ |
H A D | index.rst | 30 * runtime_pm
|