Lines Matching refs:t
305 struct smoketest *t; member
313 struct smoketest *t = thread->t; in __igt_breadcrumbs_smoketest() local
314 const unsigned int max_batch = min(t->ncontexts, t->max_batch) - 1; in __igt_breadcrumbs_smoketest()
315 const unsigned int total = 4 * t->ncontexts + 1; in __igt_breadcrumbs_smoketest()
366 t->contexts[order[n] % t->ncontexts]; in __igt_breadcrumbs_smoketest()
370 ce = i915_gem_context_get_engine(ctx, t->engine->legacy_idx); in __igt_breadcrumbs_smoketest()
372 rq = t->request_alloc(ce); in __igt_breadcrumbs_smoketest()
411 t->engine->name); in __igt_breadcrumbs_smoketest()
414 intel_gt_set_wedged(t->engine->gt); in __igt_breadcrumbs_smoketest()
445 atomic_long_add(num_fences, &t->num_fences); in __igt_breadcrumbs_smoketest()
446 atomic_long_add(num_waits, &t->num_waits); in __igt_breadcrumbs_smoketest()
457 struct smoketest t = { in mock_breadcrumbs_smoketest() local
478 t.contexts = kcalloc(t.ncontexts, sizeof(*t.contexts), GFP_KERNEL); in mock_breadcrumbs_smoketest()
479 if (!t.contexts) { in mock_breadcrumbs_smoketest()
484 for (n = 0; n < t.ncontexts; n++) { in mock_breadcrumbs_smoketest()
485 t.contexts[n] = mock_context(t.engine->i915, "mock"); in mock_breadcrumbs_smoketest()
486 if (!t.contexts[n]) { in mock_breadcrumbs_smoketest()
503 threads[n].t = &t; in mock_breadcrumbs_smoketest()
526 atomic_long_read(&t.num_waits), in mock_breadcrumbs_smoketest()
527 atomic_long_read(&t.num_fences), in mock_breadcrumbs_smoketest()
531 for (n = 0; n < t.ncontexts; n++) { in mock_breadcrumbs_smoketest()
532 if (!t.contexts[n]) in mock_breadcrumbs_smoketest()
534 mock_context_close(t.contexts[n]); in mock_breadcrumbs_smoketest()
536 kfree(t.contexts); in mock_breadcrumbs_smoketest()
571 struct igt_live_test t; in live_nop_request() local
585 err = igt_live_test_begin(&t, i915, __func__, engine->name); in live_nop_request()
630 err = igt_live_test_end(&t); in live_nop_request()
926 struct igt_live_test t; in live_cancel_request() local
932 err = igt_live_test_begin(&t, i915, __func__, engine->name); in live_cancel_request()
942 err2 = igt_live_test_end(&t); in live_cancel_request()
1041 struct igt_live_test t; in live_empty_request() local
1061 err = igt_live_test_begin(&t, i915, __func__, engine->name); in live_empty_request()
1100 err = igt_live_test_end(&t); in live_empty_request()
1195 struct igt_live_test t; in live_all_engines() local
1209 err = igt_live_test_begin(&t, i915, __func__, ""); in live_all_engines()
1295 err = igt_live_test_end(&t); in live_all_engines()
1324 struct igt_live_test t; in live_sequential_engines() local
1339 err = igt_live_test_begin(&t, i915, __func__, ""); in live_sequential_engines()
1426 err = igt_live_test_end(&t); in live_sequential_engines()
1634 struct igt_live_test t; in live_parallel_engines() local
1638 err = igt_live_test_begin(&t, i915, __func__, name); in live_parallel_engines()
1679 if (igt_live_test_end(&t)) in live_parallel_engines()
1816 threads[i].t = &smoke[idx]; in live_breadcrumbs_smoketest()
2877 struct igt_live_test t; in perf_series_engines() local
2880 err = igt_live_test_begin(&t, i915, __func__, name); in perf_series_engines()
2901 if (igt_live_test_end(&t)) in perf_series_engines()
3204 struct igt_live_test t; in perf_parallel_engines() local
3208 err = igt_live_test_begin(&t, i915, __func__, name); in perf_parallel_engines()
3257 if (igt_live_test_end(&t)) in perf_parallel_engines()