/linux/drivers/gpu/drm/i915/selftests/ |
H A D | igt_spinner.c | 14 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 …]
|
H A D | igt_spinner.h | 29 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/drivers/gpu/drm/i915/gt/uc/ |
H A D | selftest_guc.c | 11 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() [all …]
|
H A D | selftest_guc_hangcheck.c | 35 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_ARB_CHECK); 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/arch/arm64/boot/dts/arm/ |
H A D | foundation-v8-spin-table.dtsi | 4 * 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";
|
H A D | rtsm_ve-aemv8a.dts | 45 enable-method = "spin-table"; 53 enable-method = "spin-table"; 61 enable-method = "spin-table"; 69 enable-method = "spin-table";
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_rps.c | 226 struct igt_spinner spin; in live_rps_clock_interval() local 233 if (igt_spinner_init(&spin, gt)) in live_rps_clock_interval() 255 rq = igt_spinner_create_request(&spin, in live_rps_clock_interval() 266 if (!igt_wait_for_spinner(&spin, rq)) { in live_rps_clock_interval() 269 igt_spinner_end(&spin); in live_rps_clock_interval() 325 igt_spinner_end(&spin); in live_rps_clock_interval() 361 igt_spinner_fini(&spin); in live_rps_clock_interval() 379 struct igt_spinner spin; in live_rps_control() local 396 if (igt_spinner_init(&spin, gt)) in live_rps_control() 415 rq = igt_spinner_create_request(&spin, in live_rps_control() [all …]
|
H A D | selftest_execlists.c | 114 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 …]
|
H A D | selftest_mocs.c | 49 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()
|
H A D | selftest_workarounds.c | 48 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 …]
|
H A D | selftest_slpc.c | 270 struct igt_spinner spin; in run_test() local 282 if (igt_spinner_init(&spin, gt)) in run_test() 325 rq = igt_spinner_create_request(&spin, in run_test() 336 if (!igt_wait_for_spinner(&spin, rq)) { in run_test() 339 igt_spinner_end(&spin); in run_test() 360 igt_spinner_end(&spin); in run_test() 388 igt_spinner_end(&spin); in run_test() 402 igt_spinner_fini(&spin); in run_test()
|
H A D | selftest_engine_pm.c | 249 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/arch/arm64/boot/dts/apple/ |
H A D | t6002.dtsi | 71 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";
|
H A D | t600x-common.dtsi | 63 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/arch/arm64/boot/dts/qcom/ |
H A D | msm8992-lg-h815.dts | 38 spin-table@6000000 { 95 enable-method = "spin-table"; 99 enable-method = "spin-table"; 103 enable-method = "spin-table"; 107 enable-method = "spin-table"; 111 enable-method = "spin-table"; 115 enable-method = "spin-table";
|
/linux/drivers/pinctrl/spacemit/ |
H A D | pinctrl-k1.c | 173 const struct spacemit_pin *spin = spacemit_get_pin(pctrl, pin); in spacemit_pctrl_dbg_show() local 174 enum spacemit_pin_io_type type = spacemit_to_pin_io_type(spin); in spacemit_pctrl_dbg_show() 434 const struct spacemit_pin *spin = configs[i].pin; in spacemit_pmx_set_mux() local 437 reg = spacemit_pin_to_reg(pctrl, spin->pin); in spacemit_pmx_set_mux() 453 const struct spacemit_pin *spin = spacemit_get_pin(pctrl, pin); in spacemit_request_gpio() local 458 writel_relaxed(spin->gpiofunc, reg); in spacemit_request_gpio() 502 static int spacemit_pinconf_generate_config(const struct spacemit_pin *spin, in spacemit_pinconf_generate_config() argument 512 if (!spin) in spacemit_pinconf_generate_config() 561 type = spacemit_to_pin_io_type(spin); in spacemit_pinconf_generate_config() 606 const struct spacemit_pin *spin = spacemit_get_pin(pctrl, pin); in spacemit_pin_set_config() local [all …]
|
/linux/Documentation/devicetree/bindings/cpu/ |
H A D | cpu-topology.txt | 280 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/arch/arm64/boot/dts/altera/ |
H A D | socfpga_stratix10_swvp.dts | 39 enable-method = "spin-table"; 44 enable-method = "spin-table"; 49 enable-method = "spin-table"; 54 enable-method = "spin-table";
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_migrate.c | 185 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()
|
H A D | i915_gem_context.c | 1047 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/arch/arm64/boot/dts/freescale/ |
H A D | s32v234.dtsi | 30 enable-method = "spin-table"; 39 enable-method = "spin-table"; 48 enable-method = "spin-table"; 57 enable-method = "spin-table";
|
/linux/drivers/of/unittest-data/ |
H A D | overlay_common.dtsi | 30 spin = "clockwise"; 55 spin-controller = <&spin_ctrl_2 5 &spin_ctrl_2 7>; 56 spin-controller-names = "track_1", "track_2";
|
/linux/Documentation/hwmon/ |
H A D | drivetemp.rst | 36 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/arch/arm64/boot/dts/microchip/ |
H A D | sparx5_pcb_common.dtsi | 14 enable-method = "spin-table"; 18 enable-method = "spin-table";
|
/linux/arch/arm64/boot/dts/toshiba/ |
H A D | tmpv7708.dtsi | 60 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";
|