| /drivers/gpu/drm/xe/ |
| A D | xe_shrinker.c | 195 static void xe_shrinker_runtime_pm_put(struct xe_shrinker *shrinker, bool runtime_pm) in xe_shrinker_runtime_pm_put() argument 197 if (runtime_pm) in xe_shrinker_runtime_pm_put() 214 bool runtime_pm; in xe_shrinker_scan() local 226 runtime_pm = xe_shrinker_runtime_pm_get(shrinker, false, nr_to_scan, can_backup); in xe_shrinker_scan() 240 if (!runtime_pm) in xe_shrinker_scan() 241 runtime_pm = xe_shrinker_runtime_pm_get(shrinker, true, 0, can_backup); in xe_shrinker_scan() 252 xe_shrinker_runtime_pm_put(shrinker, runtime_pm); in xe_shrinker_scan()
|
| /drivers/gpu/drm/i915/ |
| A D | i915_driver.c | 239 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() 678 intel_runtime_pm_disable(&dev_priv->runtime_pm); in i915_driver_unregister() 803 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe() 847 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe() 879 enable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_probe() 892 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_driver_remove() 916 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_driver_remove() 975 disable_rpm_wakeref_asserts(&i915->runtime_pm); in i915_driver_shutdown() 976 intel_runtime_pm_disable(&i915->runtime_pm); in i915_driver_shutdown() [all …]
|
| A D | intel_wakeref.c | 18 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() 149 intel_runtime_pm_put(&wf->i915->runtime_pm, wakeref); in wakeref_auto_timeout() 173 assert_rpm_wakelock_held(&wf->i915->runtime_pm); in intel_wakeref_auto() 180 intel_runtime_pm_get_if_in_use(&wf->i915->runtime_pm); in intel_wakeref_auto()
|
| A D | i915_irq.c | 241 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler() 320 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in valleyview_irq_handler() 335 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler() 406 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in cherryview_irq_handler() 431 disable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler() 485 enable_rpm_wakeref_asserts(&i915->runtime_pm); in ilk_irq_handler() 529 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler() 531 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in gen8_irq_handler() 952 disable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i915_irq_handler() 993 enable_rpm_wakeref_asserts(&dev_priv->runtime_pm); in i915_irq_handler() [all …]
|
| A D | i915_debugfs.c | 338 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in i915_swizzle_info() 368 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in i915_swizzle_info() 428 print_intel_runtime_pm_wakeref(&dev_priv->runtime_pm, &p); in i915_runtime_pm_status() 441 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_engine_info() 457 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_engine_info()
|
| 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()
|
| A D | i915_gem.c | 117 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()
|
| A D | i915_ioctl.c | 73 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_reg_read_ioctl()
|
| /drivers/gpu/drm/i915/gt/uc/ |
| A D | intel_guc_slpc.c | 239 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in slpc_force_min_freq() 436 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_set_max_freq() 468 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_get_max_freq() 486 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_guc_slpc_set_ignore_eff_freq() 504 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_guc_slpc_set_ignore_eff_freq() 532 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_guc_slpc_set_min_freq() 541 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in intel_guc_slpc_set_min_freq() 584 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in intel_guc_slpc_set_strategy() 601 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in intel_guc_slpc_set_media_ratio_mode() 618 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in intel_guc_slpc_set_power_profile() [all …]
|
| 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() 408 with_intel_runtime_pm(>->i915->runtime_pm, wakeref) in intel_guc_dump_time_info()
|
| A D | intel_guc_submission.c | 2975 with_intel_runtime_pm(runtime_pm, wakeref) in try_context_registration() 2980 with_intel_runtime_pm(runtime_pm, wakeref) in try_context_registration() 3154 with_intel_runtime_pm(runtime_pm, wakeref) in guc_context_block() 3205 with_intel_runtime_pm(runtime_pm, wakeref) in guc_context_unblock() 3259 struct intel_runtime_pm *runtime_pm = in guc_context_revoke() local 3260 &ce->engine->gt->i915->runtime_pm; in guc_context_revoke() 3313 struct intel_runtime_pm *runtime_pm = &ce->engine->gt->i915->runtime_pm; in do_sched_disable() local 3322 with_intel_runtime_pm(runtime_pm, wakeref) in do_sched_disable() 5080 struct intel_runtime_pm *runtime_pm = in intel_guc_deregister_done_process_msg() local 5081 &ce->engine->gt->i915->runtime_pm; in intel_guc_deregister_done_process_msg() [all …]
|
| A D | intel_gsc_proxy.c | 317 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gsc_proxy_component_bind() 343 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gsc_proxy_component_unbind()
|
| /drivers/gpu/drm/i915/pxp/ |
| A D | intel_pxp_pm.c | 31 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()
|
| A D | intel_pxp_tee.c | 181 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()
|
| A D | intel_pxp.c | 359 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()
|
| A D | intel_pxp_gsccs.c | 431 with_intel_runtime_pm(&pxp->ctrl_gt->i915->runtime_pm, wakeref) in intel_pxp_gsccs_fini() 442 with_intel_runtime_pm(&pxp->ctrl_gt->i915->runtime_pm, wakeref) in intel_pxp_gsccs_init()
|
| /drivers/gpu/drm/i915/selftests/ |
| A D | i915_gem.c | 81 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in simulate_hibernate() 92 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in simulate_hibernate() 106 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_suspend() 116 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_hibernate() 132 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_resume()
|
| A D | mock_gem_device.c | 198 intel_runtime_pm_init_early(&i915->runtime_pm); in mock_gem_device() 200 i915->runtime_pm.no_wakeref_tracking = true; in mock_gem_device()
|
| 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()
|
| /drivers/gpu/drm/i915/gem/ |
| A D | i915_gem_shrinker.c | 136 wakeref = intel_runtime_pm_get_if_in_use(&i915->runtime_pm); in i915_gem_shrink() 249 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_gem_shrink() 278 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrink_all() 331 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrinker_scan() 356 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_shrinker_oom() 396 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_shrinker_vmap()
|
| A D | i915_gem_ttm.c | 1108 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()
|
| A D | i915_gem_pm.c | 29 intel_wakeref_auto(&i915->runtime_pm.userfault_wakeref, 0); in i915_gem_suspend() 218 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_freeze_late()
|
| A D | i915_gem_mman.c | 345 struct intel_runtime_pm *rpm = &i915->runtime_pm; in vm_fault_gtt() 478 intel_wakeref_auto(&i915->runtime_pm.userfault_wakeref, in vm_fault_gtt() 592 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_gem_object_release_mmap_gtt() 612 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_gem_object_release_mmap_gtt()
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_display_rpm.c | 13 return &i915->runtime_pm; in display_to_rpm()
|
| /drivers/gpu/drm/i915/gvt/ |
| A D | sched_policy.c | 469 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in intel_vgpu_stop_schedule() 478 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in intel_vgpu_stop_schedule()
|