Home
last modified time | relevance | path

Searched refs:spin (Results 1 – 25 of 105) sorted by relevance

12345

/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Digt_spinner.c14 int igt_spinner_init(struct igt_spinner *spin, struct intel_gt *gt) in igt_spinner_init() argument
18 memset(spin, 0, sizeof(*spin)); in igt_spinner_init()
19 spin->gt = gt; in igt_spinner_init()
21 spin->hws = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in igt_spinner_init()
22 if (IS_ERR(spin->hws)) { in igt_spinner_init()
23 err = PTR_ERR(spin->hws); in igt_spinner_init()
26 i915_gem_object_set_cache_coherency(spin->hws, I915_CACHE_LLC); in igt_spinner_init()
28 spin->obj = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in igt_spinner_init()
29 if (IS_ERR(spin->obj)) { in igt_spinner_init()
30 err = PTR_ERR(spin->obj); in igt_spinner_init()
[all …]
Digt_spinner.h29 int igt_spinner_init(struct igt_spinner *spin, struct intel_gt *gt);
30 int igt_spinner_pin(struct igt_spinner *spin,
33 void igt_spinner_fini(struct igt_spinner *spin);
36 igt_spinner_create_request(struct igt_spinner *spin,
39 void igt_spinner_end(struct igt_spinner *spin);
41 bool igt_wait_for_spinner(struct igt_spinner *spin, struct i915_request *rq);
/linux-6.6.21/arch/arm64/boot/dts/arm/
Dfoundation-v8-spin-table.dtsi4 * ARMv8 Foundation model DTS (spin table configuration)
8 enable-method = "spin-table";
13 enable-method = "spin-table";
18 enable-method = "spin-table";
23 enable-method = "spin-table";
Drtsm_ve-aemv8a.dts43 enable-method = "spin-table";
51 enable-method = "spin-table";
59 enable-method = "spin-table";
67 enable-method = "spin-table";
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dselftest_guc.c11 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin() argument
17 if (spin && !igt_wait_for_spinner(spin, rq)) in request_add_spin()
152 struct igt_spinner spin; in intel_guc_steal_guc_ids() local
175 ret = igt_spinner_init(&spin, engine->gt); in intel_guc_steal_guc_ids()
180 spin_rq = igt_spinner_create_request(&spin, ce[context_index], in intel_guc_steal_guc_ids()
187 ret = request_add_spin(spin_rq, &spin); in intel_guc_steal_guc_ids()
220 igt_spinner_end(&spin); in intel_guc_steal_guc_ids()
228 igt_spinner_fini(&spin); in intel_guc_steal_guc_ids()
272 igt_spinner_end(&spin); in intel_guc_steal_guc_ids()
275 igt_spinner_fini(&spin); in intel_guc_steal_guc_ids()
Dselftest_guc_hangcheck.c35 struct igt_spinner spin; in intel_hang_guc() local
71 ret = igt_spinner_init(&spin, engine->gt); in intel_hang_guc()
77 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in intel_hang_guc()
85 ret = request_add_spin(rq, &spin); in intel_hang_guc()
122 igt_spinner_end(&spin); in intel_hang_guc()
123 igt_spinner_fini(&spin); in intel_hang_guc()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dselftest_rps.c226 struct igt_spinner spin; in live_rps_clock_interval() local
232 if (igt_spinner_init(&spin, gt)) in live_rps_clock_interval()
254 rq = igt_spinner_create_request(&spin, in live_rps_clock_interval()
265 if (!igt_wait_for_spinner(&spin, rq)) { in live_rps_clock_interval()
268 igt_spinner_end(&spin); in live_rps_clock_interval()
324 igt_spinner_end(&spin); in live_rps_clock_interval()
360 igt_spinner_fini(&spin); in live_rps_clock_interval()
378 struct igt_spinner spin; in live_rps_control() local
394 if (igt_spinner_init(&spin, gt)) in live_rps_control()
413 rq = igt_spinner_create_request(&spin, in live_rps_control()
[all …]
Dselftest_execlists.c114 struct igt_spinner spin; in live_sanitycheck() local
120 if (igt_spinner_init(&spin, gt)) in live_sanitycheck()
133 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in live_sanitycheck()
140 if (!igt_wait_for_spinner(&spin, rq)) { in live_sanitycheck()
148 igt_spinner_end(&spin); in live_sanitycheck()
160 igt_spinner_fini(&spin); in live_sanitycheck()
168 struct igt_spinner spin; in live_unlite_restore() local
176 if (igt_spinner_init(&spin, gt)) in live_unlite_restore()
228 rq[0] = igt_spinner_create_request(&spin, ce[0], MI_ARB_CHECK); in live_unlite_restore()
238 if (!igt_wait_for_spinner(&spin, rq[0])) { in live_unlite_restore()
[all …]
Dselftest_mocs.c49 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin() argument
55 if (spin && !igt_wait_for_spinner(spin, rq)) in request_add_spin()
323 struct igt_spinner spin; in active_engine_reset() local
327 err = igt_spinner_init(&spin, ce->engine->gt); in active_engine_reset()
331 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in active_engine_reset()
333 igt_spinner_fini(&spin); in active_engine_reset()
337 err = request_add_spin(rq, &spin); in active_engine_reset()
345 igt_spinner_end(&spin); in active_engine_reset()
346 igt_spinner_fini(&spin); in active_engine_reset()
Dselftest_workarounds.c48 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin() argument
54 if (spin && !igt_wait_for_spinner(spin, rq)) in request_add_spin()
270 struct igt_spinner *spin, in switch_to_scratch_context() argument
280 *rq = igt_spinner_create_request(spin, ce, MI_NOOP); in switch_to_scratch_context()
284 spin = NULL; in switch_to_scratch_context()
289 err = request_add_spin(*rq, spin); in switch_to_scratch_context()
291 if (err && spin) in switch_to_scratch_context()
292 igt_spinner_end(spin); in switch_to_scratch_context()
302 struct igt_spinner spin; in check_whitelist_across_reset() local
314 err = igt_spinner_init(&spin, engine->gt); in check_whitelist_across_reset()
[all …]
Dselftest_slpc.c269 struct igt_spinner spin; in run_test() local
281 if (igt_spinner_init(&spin, gt)) in run_test()
324 rq = igt_spinner_create_request(&spin, in run_test()
335 if (!igt_wait_for_spinner(&spin, rq)) { in run_test()
338 igt_spinner_end(&spin); in run_test()
359 igt_spinner_end(&spin); in run_test()
387 igt_spinner_end(&spin); in run_test()
401 igt_spinner_fini(&spin); in run_test()
Dselftest_engine_pm.c249 struct igt_spinner spin; in live_engine_busy_stats() local
256 if (igt_spinner_init(&spin, gt)) in live_engine_busy_stats()
296 rq = igt_spinner_create_request(&spin, in live_engine_busy_stats()
306 if (!igt_wait_for_spinner(&spin, rq)) { in live_engine_busy_stats()
336 igt_spinner_end(&spin); in live_engine_busy_stats()
343 igt_spinner_fini(&spin); in live_engine_busy_stats()
/linux-6.6.21/arch/arm64/boot/dts/apple/
Dt6002.dtsi71 enable-method = "spin-table";
85 enable-method = "spin-table";
99 enable-method = "spin-table";
113 enable-method = "spin-table";
127 enable-method = "spin-table";
141 enable-method = "spin-table";
155 enable-method = "spin-table";
169 enable-method = "spin-table";
183 enable-method = "spin-table";
197 enable-method = "spin-table";
Dt600x-common.dtsi63 enable-method = "spin-table";
77 enable-method = "spin-table";
91 enable-method = "spin-table";
105 enable-method = "spin-table";
119 enable-method = "spin-table";
133 enable-method = "spin-table";
147 enable-method = "spin-table";
161 enable-method = "spin-table";
175 enable-method = "spin-table";
189 enable-method = "spin-table";
/linux-6.6.21/arch/arm64/boot/dts/altera/
Dsocfpga_stratix10_swvp.dts39 enable-method = "spin-table";
44 enable-method = "spin-table";
49 enable-method = "spin-table";
54 enable-method = "spin-table";
/linux-6.6.21/Documentation/devicetree/bindings/cpu/
Dcpu-topology.txt280 enable-method = "spin-table";
288 enable-method = "spin-table";
296 enable-method = "spin-table";
304 enable-method = "spin-table";
312 enable-method = "spin-table";
320 enable-method = "spin-table";
328 enable-method = "spin-table";
336 enable-method = "spin-table";
344 enable-method = "spin-table";
352 enable-method = "spin-table";
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/arm/
Dcpus.yaml208 - spin-table
258 property value of "spin-table".
454 enable-method = "spin-table";
462 enable-method = "spin-table";
470 enable-method = "spin-table";
478 enable-method = "spin-table";
486 enable-method = "spin-table";
494 enable-method = "spin-table";
502 enable-method = "spin-table";
510 enable-method = "spin-table";
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_migrate.c185 struct igt_spinner *spin, in __igt_lmem_pages_migrate() argument
260 if (spin) { in __igt_lmem_pages_migrate()
266 igt_spinner_end(spin); in __igt_lmem_pages_migrate()
376 struct igt_spinner spin; in igt_async_migrate() local
383 if (igt_spinner_init(&spin, gt)) { in igt_async_migrate()
411 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in igt_async_migrate()
425 err = __igt_lmem_pages_migrate(gt, &ppgtt->vm, &deps, &spin, in igt_async_migrate()
434 igt_spinner_fini(&spin); in igt_async_migrate()
Di915_gem_context.c1047 struct igt_spinner **spin) in __sseu_prepare() argument
1052 *spin = NULL; in __sseu_prepare()
1056 *spin = kzalloc(sizeof(**spin), GFP_KERNEL); in __sseu_prepare()
1057 if (!*spin) in __sseu_prepare()
1060 ret = igt_spinner_init(*spin, ce->engine->gt); in __sseu_prepare()
1064 rq = igt_spinner_create_request(*spin, ce, MI_NOOP); in __sseu_prepare()
1072 if (!igt_wait_for_spinner(*spin, rq)) { in __sseu_prepare()
1081 igt_spinner_end(*spin); in __sseu_prepare()
1083 igt_spinner_fini(*spin); in __sseu_prepare()
1085 kfree(fetch_and_zero(spin)); in __sseu_prepare()
[all …]
/linux-6.6.21/arch/arm64/boot/dts/freescale/
Ds32v234.dtsi30 enable-method = "spin-table";
39 enable-method = "spin-table";
48 enable-method = "spin-table";
57 enable-method = "spin-table";
/linux-6.6.21/drivers/of/unittest-data/
Doverlay_common.dtsi30 spin = "clockwise";
55 spin-controller = <&spin_ctrl_2 5 &spin_ctrl_2 7>;
56 spin-controller-names = "track_1", "track_2";
Doverlay.dtso43 spin-controller = <&spin_ctrl_1 3>;
44 spin-rph = <30>;
/linux-6.6.21/arch/arm64/boot/dts/microchip/
Dsparx5_pcb_common.dtsi14 enable-method = "spin-table";
18 enable-method = "spin-table";
/linux-6.6.21/Documentation/hwmon/
Ddrivetemp.rst36 Reading the drive temperature may reset the spin down timer on some drives.
43 change its mode (meaning the drive will not spin up). It is unknown if other
47 intervals larger than twice the spin-down time. Otherwise affected drives
48 will never spin down.
/linux-6.6.21/arch/arm64/boot/dts/toshiba/
Dtmpv7708.dtsi60 enable-method = "spin-table";
68 enable-method = "spin-table";
76 enable-method = "spin-table";
84 enable-method = "spin-table";
92 enable-method = "spin-table";
100 enable-method = "spin-table";
108 enable-method = "spin-table";
116 enable-method = "spin-table";

12345