Searched refs:wakeref (Results 101 - 125 of 127) sorted by path

123456

/linux-master/drivers/gpu/drm/i915/
H A Di915_driver.c853 intel_wakeref_t wakeref; local
855 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
879 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
886 intel_wakeref_t wakeref; local
891 wakeref = intel_runtime_pm_get(rpm);
902 intel_runtime_pm_put(rpm, wakeref);
H A Di915_gem.c122 intel_wakeref_t wakeref; local
137 wakeref = intel_runtime_pm_get(rpm);
202 intel_runtime_pm_put(rpm, wakeref);
387 intel_wakeref_t wakeref; local
397 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
444 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
551 intel_wakeref_t wakeref; local
569 wakeref = intel_runtime_pm_get_if_in_use(rpm);
570 if (!wakeref)
574 wakeref
[all...]
H A Di915_gpu_error.c2258 intel_wakeref_t wakeref; local
2279 with_intel_runtime_pm(&i915->runtime_pm, wakeref)
2423 intel_wakeref_t wakeref; local
2426 with_intel_runtime_pm(&i915->runtime_pm, wakeref)
H A Di915_hwmon.c73 intel_wakeref_t wakeref; local
75 with_intel_runtime_pm(uncore->rpm, wakeref) {
94 intel_wakeref_t wakeref; local
97 with_intel_runtime_pm(uncore->rpm, wakeref)
131 intel_wakeref_t wakeref; local
140 with_intel_runtime_pm(uncore->rpm, wakeref) {
163 intel_wakeref_t wakeref; local
167 with_intel_runtime_pm(ddat->uncore->rpm, wakeref)
321 intel_wakeref_t wakeref; local
326 with_intel_runtime_pm(ddat->uncore->rpm, wakeref)
368 intel_wakeref_t wakeref; local
402 intel_wakeref_t wakeref; local
727 intel_wakeref_t wakeref; local
[all...]
H A Di915_ioctl.c47 intel_wakeref_t wakeref; local
73 with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
H A Di915_perf.c3229 intel_wakeref_t wakeref; local
3232 with_intel_runtime_pm(to_gt(i915)->uncore->rpm, wakeref)
H A Di915_pmu.c226 intel_wakeref_t wakeref; local
230 wakeref = intel_gt_pm_get_if_awake(gt);
231 if (wakeref) {
233 intel_gt_pm_put_async(gt, wakeref);
238 if (wakeref) {
269 intel_wakeref_t wakeref; local
271 with_intel_runtime_pm(gt->uncore->rpm, wakeref) {
442 intel_wakeref_t wakeref; local
448 wakeref = intel_gt_pm_get_if_awake(gt);
449 if (!wakeref)
[all...]
H A Di915_vma.c113 * Exclude global GTT VMA from holding a GT wakeref
119 * called asynchronously, storing a wakeref tracking
1438 intel_wakeref_t wakeref; local
1459 * In case of a global GTT, we must hold a runtime-pm wakeref
1463 * vm->mutex, get the first rpm wakeref outside of the mutex.
1465 wakeref = intel_runtime_pm_get(&vma->vm->i915->runtime_pm);
1601 intel_runtime_pm_put(&vma->vm->i915->runtime_pm, wakeref);
2162 intel_wakeref_t wakeref = 0; local
2182 wakeref = intel_runtime_pm_get(&vm->i915->runtime_pm);
2184 err = mutex_lock_interruptible_nested(&vma->vm->mutex, !wakeref);
2201 intel_wakeref_t wakeref = 0; local
[all...]
H A Di915_vma_resource.c113 if (vma_res->wakeref)
114 intel_runtime_pm_put(&vm->i915->runtime_pm, vma_res->wakeref);
240 /* Caller must already have a wakeref in this case. */
242 vma_res->wakeref = intel_runtime_pm_get_if_in_use(&vm->i915->runtime_pm);
H A Di915_vma_resource.h71 * @wakeref: wakeref.
90 * @needs_wakeref: Whether a wakeref is needed during unbind. Since we can't
91 * take a wakeref in the dma-fence signalling critical path, it needs to be
110 intel_wakeref_t wakeref; member in struct:i915_vma_resource
H A Dintel_pcode.c247 intel_wakeref_t wakeref; local
255 with_intel_runtime_pm(uncore->rpm, wakeref)
263 intel_wakeref_t wakeref; local
271 with_intel_runtime_pm(uncore->rpm, wakeref)
H A Dintel_runtime_pm.c75 intel_wakeref_t wakeref)
80 intel_ref_tracker_free(&rpm->debug, wakeref);
121 intel_wakeref_t wakeref)
192 * Returns: the wakeref cookie to pass to intel_runtime_pm_put_raw(), evaluates
193 * as True if the wakeref was acquired, or False otherwise.
210 * Returns: the wakeref cookie to pass to intel_runtime_pm_put()
236 * Returns: the wakeref cookie to pass to intel_runtime_pm_put(), evaluates
237 * as True if the wakeref was acquired, or False otherwise.
288 * Returns: the wakeref cookie to pass to intel_runtime_pm_put()
317 * @wref: wakeref acquire
74 untrack_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm, intel_wakeref_t wakeref) argument
120 untrack_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm, intel_wakeref_t wakeref) argument
[all...]
H A Dintel_wakeref.c15 intel_wakeref_t wakeref; local
18 wakeref = intel_runtime_pm_get(&wf->i915->runtime_pm);
23 * upon acquiring the wakeref.
28 INTEL_WAKEREF_BUG_ON(wf->wakeref);
29 wf->wakeref = wakeref;
30 wakeref = 0;
34 wakeref = xchg(&wf->wakeref, 0);
35 wake_up_var(&wf->wakeref);
55 intel_wakeref_t wakeref = 0; local
139 intel_wakeref_t wakeref; local
[all...]
H A Dintel_wakeref.h47 intel_wakeref_t wakeref; member in struct:intel_wakeref
79 * intel_wakeref_get: Acquire the wakeref
80 * @wf: the wakeref
82 * Acquire a hold on the wakeref. The first user to do so, will acquire
83 * the runtime pm wakeref and then call the intel_wakeref_ops->get()
84 * underneath the wakeref mutex.
87 * the runtime-pm wakeref will be released and the acquisition unwound,
90 * Returns: 0 if the wakeref was acquired successfully, or a negative error
104 * __intel_wakeref_get: Acquire the wakeref, again
105 * @wf: the wakeref
330 intel_wakeref_t wakeref; member in struct:intel_wakeref_auto
[all...]
/linux-master/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp.c354 intel_wakeref_t wakeref; local
359 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
369 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
525 * The context has been banned, no need to keep the wakeref.
H A Dintel_pxp_gsccs.c428 intel_wakeref_t wakeref; local
431 with_intel_runtime_pm(&pxp->ctrl_gt->i915->runtime_pm, wakeref)
438 intel_wakeref_t wakeref; local
442 with_intel_runtime_pm(&pxp->ctrl_gt->i915->runtime_pm, wakeref)
H A Dintel_pxp_pm.c26 intel_wakeref_t wakeref; local
31 with_intel_runtime_pm(&pxp->ctrl_gt->i915->runtime_pm, wakeref) {
39 intel_wakeref_t wakeref; local
54 wakeref = intel_runtime_pm_get(&pxp->ctrl_gt->i915->runtime_pm);
57 intel_runtime_pm_put(&pxp->ctrl_gt->i915->runtime_pm, wakeref);
H A Dintel_pxp_session.c21 intel_wakeref_t wakeref; local
25 with_intel_runtime_pm_if_in_use(uncore->rpm, wakeref)
34 intel_wakeref_t wakeref; local
39 wakeref = intel_runtime_pm_get_if_in_use(uncore->rpm);
40 if (!wakeref)
49 intel_runtime_pm_put(uncore->rpm, wakeref);
152 intel_wakeref_t wakeref; local
171 wakeref = intel_runtime_pm_get_if_in_use(gt->uncore->rpm);
172 if (!wakeref)
183 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
[all...]
H A Dintel_pxp_tee.c166 intel_wakeref_t wakeref; local
181 with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
190 wakeref = intel_runtime_pm_get_if_in_use(&i915->runtime_pm);
191 if (!wakeref)
198 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
208 intel_wakeref_t wakeref; local
211 with_intel_runtime_pm_if_in_use(&i915->runtime_pm, wakeref)
/linux-master/drivers/gpu/drm/i915/selftests/
H A Di915_gem.c78 intel_wakeref_t wakeref; local
80 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
91 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
103 intel_wakeref_t wakeref; local
105 with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
113 intel_wakeref_t wakeref; local
115 with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
125 intel_wakeref_t wakeref; local
131 with_intel_runtime_pm(&i915->runtime_pm, wakeref) {
H A Di915_gem_evict.c387 intel_wakeref_t wakeref; local
406 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
532 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
547 intel_wakeref_t wakeref; local
554 with_intel_runtime_pm(&i915->runtime_pm, wakeref)
H A Di915_gem_gtt.c312 intel_wakeref_t wakeref; local
360 with_intel_runtime_pm(vm->gt->uncore->rpm, wakeref)
371 intel_wakeref_t wakeref; local
374 with_intel_runtime_pm(vm->gt->uncore->rpm, wakeref)
1348 intel_wakeref_t wakeref; local
1375 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
1425 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
H A Di915_request.c552 intel_wakeref_t wakeref; local
559 with_intel_runtime_pm(&i915->runtime_pm, wakeref)
1734 intel_wakeref_t wakeref; local
1748 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
1866 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
H A Di915_vma.c985 intel_wakeref_t wakeref; local
995 wakeref = intel_runtime_pm_get(&i915->runtime_pm);
1094 intel_runtime_pm_put(&i915->runtime_pm, wakeref);
H A Dintel_uncore.c170 intel_wakeref_t wakeref; local
203 wakeref = intel_runtime_pm_get(uncore->rpm);
274 intel_runtime_pm_put(uncore->rpm, wakeref);

Completed in 362 milliseconds

123456