/drivers/gpu/drm/i915/selftests/ |
D | igt_spinner.c | 13 int igt_spinner_init(struct igt_spinner *spin, struct intel_gt *gt) in igt_spinner_init() argument 17 memset(spin, 0, sizeof(*spin)); in igt_spinner_init() 18 spin->gt = gt; in igt_spinner_init() 20 spin->hws = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in igt_spinner_init() 21 if (IS_ERR(spin->hws)) { in igt_spinner_init() 22 err = PTR_ERR(spin->hws); in igt_spinner_init() 25 i915_gem_object_set_cache_coherency(spin->hws, I915_CACHE_LLC); in igt_spinner_init() 27 spin->obj = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in igt_spinner_init() 28 if (IS_ERR(spin->obj)) { in igt_spinner_init() 29 err = PTR_ERR(spin->obj); in igt_spinner_init() [all …]
|
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);
|
D | i915_request.c | 635 struct igt_spinner spin; in __cancel_inactive() local 639 if (igt_spinner_init(&spin, engine->gt)) in __cancel_inactive() 648 rq = igt_spinner_create_request(&spin, ce, MI_ARB_CHECK); in __cancel_inactive() 679 igt_spinner_fini(&spin); in __cancel_inactive() 688 struct igt_spinner spin; in __cancel_active() local 692 if (igt_spinner_init(&spin, engine->gt)) in __cancel_active() 701 rq = igt_spinner_create_request(&spin, ce, MI_ARB_CHECK); in __cancel_active() 710 if (!igt_wait_for_spinner(&spin, rq)) { in __cancel_active() 740 igt_spinner_fini(&spin); in __cancel_active() 749 struct igt_spinner spin; in __cancel_completed() local [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | selftest_slpc.c | 47 struct igt_spinner spin; in live_slpc_clamp_min() local 54 if (igt_spinner_init(&spin, gt)) in live_slpc_clamp_min() 93 rq = igt_spinner_create_request(&spin, in live_slpc_clamp_min() 104 if (!igt_wait_for_spinner(&spin, rq)) { in live_slpc_clamp_min() 107 igt_spinner_end(&spin); in live_slpc_clamp_min() 125 igt_spinner_end(&spin); in live_slpc_clamp_min() 135 igt_spinner_end(&spin); in live_slpc_clamp_min() 160 igt_spinner_fini(&spin); in live_slpc_clamp_min() 174 struct igt_spinner spin; in live_slpc_clamp_max() local 184 if (igt_spinner_init(&spin, gt)) in live_slpc_clamp_max() [all …]
|
D | selftest_rps.c | 222 struct igt_spinner spin; in live_rps_clock_interval() local 228 if (igt_spinner_init(&spin, gt)) in live_rps_clock_interval() 250 rq = igt_spinner_create_request(&spin, in live_rps_clock_interval() 261 if (!igt_wait_for_spinner(&spin, rq)) { in live_rps_clock_interval() 264 igt_spinner_end(&spin); in live_rps_clock_interval() 320 igt_spinner_end(&spin); in live_rps_clock_interval() 356 igt_spinner_fini(&spin); in live_rps_clock_interval() 374 struct igt_spinner spin; in live_rps_control() local 390 if (igt_spinner_init(&spin, gt)) in live_rps_control() 409 rq = igt_spinner_create_request(&spin, in live_rps_control() [all …]
|
D | selftest_execlists.c | 115 struct igt_spinner spin; in live_sanitycheck() local 121 if (igt_spinner_init(&spin, gt)) in live_sanitycheck() 134 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in live_sanitycheck() 141 if (!igt_wait_for_spinner(&spin, rq)) { in live_sanitycheck() 149 igt_spinner_end(&spin); in live_sanitycheck() 161 igt_spinner_fini(&spin); in live_sanitycheck() 169 struct igt_spinner spin; in live_unlite_restore() local 177 if (igt_spinner_init(&spin, gt)) in live_unlite_restore() 229 rq[0] = igt_spinner_create_request(&spin, ce[0], MI_ARB_CHECK); in live_unlite_restore() 239 if (!igt_wait_for_spinner(&spin, rq[0])) { in live_unlite_restore() [all …]
|
D | selftest_mocs.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() 325 struct igt_spinner spin; in active_engine_reset() local 329 err = igt_spinner_init(&spin, ce->engine->gt); in active_engine_reset() 333 rq = igt_spinner_create_request(&spin, ce, MI_NOOP); in active_engine_reset() 335 igt_spinner_fini(&spin); in active_engine_reset() 339 err = request_add_spin(rq, &spin); in active_engine_reset() 347 igt_spinner_end(&spin); in active_engine_reset() 348 igt_spinner_fini(&spin); in active_engine_reset()
|
D | selftest_workarounds.c | 47 static int request_add_spin(struct i915_request *rq, struct igt_spinner *spin) in request_add_spin() argument 53 if (spin && !igt_wait_for_spinner(spin, rq)) in request_add_spin() 273 struct igt_spinner *spin, in switch_to_scratch_context() argument 283 *rq = igt_spinner_create_request(spin, ce, MI_NOOP); in switch_to_scratch_context() 287 spin = NULL; in switch_to_scratch_context() 292 err = request_add_spin(*rq, spin); in switch_to_scratch_context() 294 if (err && spin) in switch_to_scratch_context() 295 igt_spinner_end(spin); in switch_to_scratch_context() 305 struct igt_spinner spin; in check_whitelist_across_reset() local 317 err = igt_spinner_init(&spin, engine->gt); in check_whitelist_across_reset() [all …]
|
D | selftest_engine_pm.c | 222 struct igt_spinner spin; in live_engine_busy_stats() local 229 if (igt_spinner_init(&spin, gt)) in live_engine_busy_stats() 268 rq = igt_spinner_create_request(&spin, in live_engine_busy_stats() 277 if (!igt_wait_for_spinner(&spin, rq)) { in live_engine_busy_stats() 301 igt_spinner_end(&spin); in live_engine_busy_stats() 308 igt_spinner_fini(&spin); in live_engine_busy_stats()
|
D | selftest_reset.c | 28 struct igt_spinner spin; in __igt_reset_stolen() local 54 err = igt_spinner_init(&spin, gt); in __igt_reset_stolen() 73 rq = igt_spinner_create_request(&spin, ce, MI_ARB_CHECK); in __igt_reset_stolen() 169 igt_spinner_fini(&spin); in __igt_reset_stolen()
|
/drivers/gpu/drm/i915/gem/selftests/ |
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 …]
|
/drivers/of/unittest-data/ |
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";
|
D | overlay.dts | 44 spin-controller = < &spin_ctrl_1 3 >; 45 spin-rph = < 30 >;
|
/drivers/net/can/softing/ |
D | softing_main.c | 33 spin_lock_bh(&card->spin); in softing_set_reset_dpram() 36 spin_unlock_bh(&card->spin); in softing_set_reset_dpram() 43 spin_lock_bh(&card->spin); in softing_clr_reset_dpram() 46 spin_unlock_bh(&card->spin); in softing_clr_reset_dpram() 65 spin_lock(&card->spin); in softing_netdev_start_xmit() 114 spin_unlock(&card->spin); in softing_netdev_start_xmit() 324 spin_lock_bh(&card->spin); in softing_irq_thread() 329 spin_unlock_bh(&card->spin); in softing_irq_thread() 776 spin_lock_init(&card->spin); in softing_pdev_probe()
|
D | softing.h | 41 spinlock_t spin; /* protect this structure & DPRAM access */ member
|
/drivers/gpu/drm/i915/ |
D | Kconfig.profile | 80 take a non-negligible time to setup, we do a short spin first to 87 May be 0 to disable the initial spin. In practice, we estimate
|
/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/ |
D | g98.fuc0s | 129 spin: 131 bra #spin
|
/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/ |
D | com.fuc | 160 spin: 162 bra #spin
|
/drivers/media/dvb-frontends/ |
D | drxk_hard.c | 790 const char *spin = ""; in get_device_capabilities() local 844 spin = "A1"; in get_device_capabilities() 848 spin = "A2"; in get_device_capabilities() 852 spin = "A3"; in get_device_capabilities() 973 ((sio_top_jtagid_lo >> 12) & 0xFF), spin, in get_device_capabilities()
|
/drivers/usb/gadget/ |
D | Kconfig | 127 save often and spin up occasionally to move data within VFS.
|