Home
last modified time | relevance | path

Searched refs:wakeref (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/gpu/drm/i915/gt/
A Dintel_engine_pm.h18 return intel_wakeref_is_active(&engine->wakeref); in intel_engine_pm_is_awake()
23 __intel_wakeref_get(&engine->wakeref); in __intel_engine_pm_get()
28 intel_wakeref_get(&engine->wakeref); in intel_engine_pm_get()
39 intel_wakeref_might_get(&engine->wakeref); in intel_engine_pm_might_get()
46 intel_wakeref_might_get(&tengine->wakeref); in intel_engine_pm_might_get()
53 intel_wakeref_put(&engine->wakeref); in intel_engine_pm_put()
58 intel_wakeref_put_async(&engine->wakeref); in intel_engine_pm_put_async()
64 intel_wakeref_put_delay(&engine->wakeref, delay); in intel_engine_pm_put_delay()
69 intel_wakeref_unlock_wait(&engine->wakeref); in intel_engine_pm_flush()
75 intel_wakeref_might_put(&engine->wakeref); in intel_engine_pm_might_put()
[all …]
A Dintel_gt_pm.h16 return intel_wakeref_is_active(&gt->wakeref); in intel_gt_pm_is_awake()
21 intel_wakeref_get(&gt->wakeref); in intel_gt_pm_get()
26 __intel_wakeref_get(&gt->wakeref); in __intel_gt_pm_get()
31 return intel_wakeref_get_if_active(&gt->wakeref); in intel_gt_pm_get_if_awake()
36 intel_wakeref_might_get(&gt->wakeref); in intel_gt_pm_might_get()
41 intel_wakeref_put(&gt->wakeref); in intel_gt_pm_put()
46 intel_wakeref_put_async(&gt->wakeref); in intel_gt_pm_put_async()
51 intel_wakeref_might_put(&gt->wakeref); in intel_gt_pm_might_put()
60 return intel_wakeref_wait_for_idle(&gt->wakeref); in intel_gt_pm_wait_for_idle()
A Dintel_gt_pm.c35 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
36 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
38 atomic_add(count, &gt->wakeref.count); in user_forcewake()
99 intel_wakeref_t wakeref = fetch_and_zero(&gt->awake); in __gt_park() local
116 GEM_BUG_ON(!wakeref); in __gt_park()
130 seqcount_mutex_init(&gt->stats.lock, &gt->wakeref.mutex); in intel_gt_pm_init_early()
156 intel_wakeref_t wakeref; in gt_sanitize() local
161 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gt_sanitize()
199 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gt_sanitize()
318 intel_wakeref_t wakeref; in intel_gt_suspend_late() local
[all …]
A Dselftest_reset.c26 intel_wakeref_t wakeref; in __igt_reset_stolen() local
52 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in __igt_reset_stolen()
172 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in __igt_reset_stolen()
209 intel_wakeref_t wakeref; in igt_global_reset() local
215 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_global_reset()
226 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_global_reset()
238 intel_wakeref_t wakeref; in igt_wedged_reset() local
243 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_wedged_reset()
250 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_wedged_reset()
A Dselftest_llc.c14 intel_wakeref_t wakeref; in gen6_verify_ring_freq() local
18 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm); in gen6_verify_ring_freq()
65 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref); in gen6_verify_ring_freq()
A Dintel_gt_pm_debugfs.c87 intel_wakeref_t wakeref; in print_rc6_res() local
89 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in print_rc6_res()
268 intel_wakeref_t wakeref; in drpc_show() local
271 with_intel_runtime_pm(gt->uncore->rpm, wakeref) { in drpc_show()
289 intel_wakeref_t wakeref; in intel_gt_pm_frequency_dump() local
291 wakeref = intel_runtime_pm_get(uncore->rpm); in intel_gt_pm_frequency_dump()
519 intel_runtime_pm_put(uncore->rpm, wakeref); in intel_gt_pm_frequency_dump()
540 intel_wakeref_t wakeref; in llc_show() local
557 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in llc_show()
572 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in llc_show()
A Dintel_engine_pm.c45 container_of(wf, typeof(*engine), wakeref); in __engine_unpark()
153 __intel_wakeref_defer_park(&engine->wakeref); in __queue_and_release_pm()
269 container_of(wf, typeof(*engine), wakeref); in __engine_park()
310 intel_wakeref_init(&engine->wakeref, rpm, &wf_ops); in intel_engine_init__pm()
/linux/drivers/gpu/drm/i915/
A Dintel_wakeref.c14 wf->wakeref = intel_runtime_pm_get(wf->rpm); in rpm_get()
19 intel_wakeref_t wakeref = fetch_and_zero(&wf->wakeref); in rpm_put() local
21 intel_runtime_pm_put(wf->rpm, wakeref); in rpm_put()
22 INTEL_WAKEREF_BUG_ON(!wakeref); in rpm_put()
64 wake_up_var(&wf->wakeref); in ____intel_wakeref_put_last()
106 wf->wakeref = 0; in __intel_wakeref_init()
131 intel_wakeref_t wakeref; in wakeref_auto_timeout() local
137 wakeref = fetch_and_zero(&wf->wakeref); in wakeref_auto_timeout()
149 wf->wakeref = 0; in intel_wakeref_auto_init()
169 INTEL_WAKEREF_BUG_ON(wf->wakeref); in intel_wakeref_auto()
[all …]
A Di915_debugfs.c292 intel_wakeref_t wakeref; in i915_gpu_info_open() local
295 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gpu_info_open()
390 intel_wakeref_t wakeref; in i915_swizzle_info() local
404 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in i915_swizzle_info()
434 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in i915_swizzle_info()
505 intel_wakeref_t wakeref; in i915_engine_info() local
508 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in i915_engine_info()
512 atomic_read(&i915->gt.wakeref.count), in i915_engine_info()
524 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_engine_info()
A Dintel_wakeref.h40 intel_wakeref_t wakeref; member
237 return READ_ONCE(wf->wakeref); in intel_wakeref_is_active()
268 intel_wakeref_t wakeref; member
/linux/drivers/gpu/drm/i915/pxp/
A Dintel_pxp_session.c25 intel_wakeref_t wakeref; in intel_pxp_session_is_in_play() local
29 with_intel_runtime_pm_if_in_use(uncore->rpm, wakeref) in intel_pxp_session_is_in_play()
38 intel_wakeref_t wakeref; in pxp_wait_for_session_state() local
43 wakeref = intel_runtime_pm_get_if_in_use(uncore->rpm); in pxp_wait_for_session_state()
44 if (!wakeref) in pxp_wait_for_session_state()
53 intel_runtime_pm_put(uncore->rpm, wakeref); in pxp_wait_for_session_state()
145 intel_wakeref_t wakeref; in intel_pxp_session_work() local
162 wakeref = intel_runtime_pm_get_if_in_use(gt->uncore->rpm); in intel_pxp_session_work()
163 if (!wakeref) in intel_pxp_session_work()
174 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_pxp_session_work()
A Dintel_pxp_tee.c83 intel_wakeref_t wakeref; in i915_pxp_tee_component_bind() local
91 wakeref = intel_runtime_pm_get_if_in_use(&i915->runtime_pm); in i915_pxp_tee_component_bind()
92 if (!wakeref) in i915_pxp_tee_component_bind()
98 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_pxp_tee_component_bind()
A Dintel_pxp_pm.c24 intel_wakeref_t wakeref; in intel_pxp_suspend() local
29 with_intel_runtime_pm(&pxp_to_gt(pxp)->i915->runtime_pm, wakeref) { in intel_pxp_suspend()
/linux/drivers/gpu/drm/i915/selftests/
A Di915_gem.c74 intel_wakeref_t wakeref; in simulate_hibernate() local
76 wakeref = intel_runtime_pm_get(&i915->runtime_pm); in simulate_hibernate()
87 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in simulate_hibernate()
99 intel_wakeref_t wakeref; in igt_pm_suspend() local
101 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_suspend()
109 intel_wakeref_t wakeref; in igt_pm_hibernate() local
111 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_hibernate()
121 intel_wakeref_t wakeref; in igt_pm_resume() local
127 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in igt_pm_resume()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_shrinker.c118 intel_wakeref_t wakeref = 0; in i915_gem_shrink() local
135 if (!wakeref) in i915_gem_shrink()
249 intel_runtime_pm_put(&i915->runtime_pm, wakeref); in i915_gem_shrink()
275 intel_wakeref_t wakeref; in i915_gem_shrink_all() local
278 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrink_all()
331 intel_wakeref_t wakeref; in i915_gem_shrinker_scan() local
333 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in i915_gem_shrinker_scan()
354 intel_wakeref_t wakeref; in i915_gem_shrinker_oom() local
358 with_intel_runtime_pm(&i915->runtime_pm, wakeref) in i915_gem_shrinker_oom()
394 intel_wakeref_t wakeref; in i915_gem_shrinker_vmap() local
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_pps.c24 intel_wakeref_t wakeref; in intel_pps_lock() local
32 return wakeref; in intel_pps_lock()
36 intel_wakeref_t wakeref) in intel_pps_unlock() argument
527 intel_wakeref_t wakeref; in intel_pps_wait_power_cycle() local
636 intel_wakeref_t wakeref; in intel_pps_vdd_on() local
693 intel_wakeref_t wakeref; in intel_pps_vdd_off_sync() local
712 intel_wakeref_t wakeref; in edp_panel_vdd_work() local
810 intel_wakeref_t wakeref; in intel_pps_on() local
862 intel_wakeref_t wakeref; in intel_pps_off() local
875 intel_wakeref_t wakeref; in intel_pps_backlight_on() local
[all …]
A Dintel_vga.c60 intel_wakeref_t wakeref; in intel_vga_redisable() local
71 wakeref = intel_display_power_get_if_enabled(i915, POWER_DOMAIN_VGA); in intel_vga_redisable()
72 if (!wakeref) in intel_vga_redisable()
77 intel_display_power_put(i915, POWER_DOMAIN_VGA, wakeref); in intel_vga_redisable()
A Dintel_display_power.h338 intel_wakeref_t wakeref);
343 intel_wakeref_t wakeref);
347 intel_wakeref_t wakeref) in intel_display_power_put_async() argument
349 __intel_display_power_put_async(i915, domain, wakeref); in intel_display_power_put_async()
358 intel_wakeref_t wakeref) in intel_display_power_put() argument
366 intel_wakeref_t wakeref) in intel_display_power_put_async() argument
A Dintel_dpll_mgr.c409 intel_wakeref_t wakeref; in ibx_pch_dpll_get_hw_state() local
414 if (!wakeref) in ibx_pch_dpll_get_hw_state()
610 if (!wakeref) in hsw_ddi_wrpll_get_hw_state()
630 if (!wakeref) in hsw_ddi_spll_get_hw_state()
1231 if (!wakeref) in skl_ddi_pll_get_hw_state()
1268 if (!wakeref) in skl_ddi_dpll0_get_hw_state()
1988 if (!wakeref) in bxt_ddi_pll_get_hw_state()
3318 if (!wakeref) in mg_pll_get_hw_state()
3382 if (!wakeref) in dkl_pll_get_hw_state()
3456 if (!wakeref) in icl_pll_get_hw_state()
[all …]
A Dintel_crt.c97 intel_wakeref_t wakeref; in intel_crt_get_hw_state() local
100 wakeref = intel_display_power_get_if_enabled(dev_priv, in intel_crt_get_hw_state()
102 if (!wakeref) in intel_crt_get_hw_state()
107 intel_display_power_put(dev_priv, encoder->power_domain, wakeref); in intel_crt_get_hw_state()
832 intel_wakeref_t wakeref; in intel_crt_detect() local
844 wakeref = intel_display_power_get(dev_priv, in intel_crt_detect()
853 wakeref = intel_display_power_get(dev_priv, in intel_crt_detect()
911 intel_display_power_put(dev_priv, intel_encoder->power_domain, wakeref); in intel_crt_detect()
928 intel_wakeref_t wakeref; in intel_crt_get_modes() local
932 wakeref = intel_display_power_get(dev_priv, in intel_crt_get_modes()
[all …]
A Dintel_display_debugfs.c47 intel_wakeref_t wakeref; in i915_fbc_status() local
52 wakeref = intel_runtime_pm_get(&dev_priv->runtime_pm); in i915_fbc_status()
79 intel_runtime_pm_put(&dev_priv->runtime_pm, wakeref); in i915_fbc_status()
123 intel_wakeref_t wakeref; in i915_ips_status() local
150 intel_wakeref_t wakeref; in i915_sr_status() local
336 intel_wakeref_t wakeref; in intel_psr_status() local
458 intel_wakeref_t wakeref; in i915_edp_psr_debug_set() local
535 intel_wakeref_t wakeref; in i915_dmc_info() local
1061 intel_wakeref_t wakeref; in i915_display_info() local
1165 intel_wakeref_t wakeref; in i915_ipc_status_write() local
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_slpc.c324 intel_wakeref_t wakeref; in intel_guc_slpc_set_max_freq() local
332 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_set_max_freq()
361 intel_wakeref_t wakeref; in intel_guc_slpc_get_max_freq() local
364 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_get_max_freq()
388 intel_wakeref_t wakeref; in intel_guc_slpc_set_min_freq() local
396 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_set_min_freq()
425 intel_wakeref_t wakeref; in intel_guc_slpc_get_min_freq() local
428 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_get_min_freq()
596 intel_wakeref_t wakeref; in intel_guc_slpc_print_info() local
601 with_intel_runtime_pm(&i915->runtime_pm, wakeref) { in intel_guc_slpc_print_info()
A Dselftest_guc.c40 intel_wakeref_t wakeref; in intel_guc_scrub_ctbs() local
44 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_scrub_ctbs()
108 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_guc_scrub_ctbs()
A Dintel_huc.c224 intel_wakeref_t wakeref; in intel_huc_check_status() local
240 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in intel_huc_check_status()
256 intel_wakeref_t wakeref; in intel_huc_load_status() local
270 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in intel_huc_load_status()
/linux/drivers/gpu/drm/i915/gvt/
A Daperture_gm.c170 intel_wakeref_t wakeref; in free_vgpu_fence() local
176 wakeref = intel_runtime_pm_get(uncore->rpm); in free_vgpu_fence()
187 intel_runtime_pm_put(uncore->rpm, wakeref); in free_vgpu_fence()
195 intel_wakeref_t wakeref; in alloc_vgpu_fence() local
198 wakeref = intel_runtime_pm_get(uncore->rpm); in alloc_vgpu_fence()
214 intel_runtime_pm_put(uncore->rpm, wakeref); in alloc_vgpu_fence()
323 intel_wakeref_t wakeref; in intel_vgpu_reset_resource() local
325 with_intel_runtime_pm(gvt->gt->uncore->rpm, wakeref) in intel_vgpu_reset_resource()

Completed in 54 milliseconds

1234