Home
last modified time | relevance | path

Searched refs:kernel_context (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c140 struct intel_context *ce = engine->kernel_context; in heartbeat()
277 struct intel_context *ce = engine->kernel_context; in __intel_engine_pulse()
313 struct intel_context *ce = engine->kernel_context; in intel_engine_set_heartbeat()
356 struct intel_context *ce = engine->kernel_context; in intel_engine_pulse()
379 struct intel_context *ce = engine->kernel_context; in intel_engine_flush_barriers()
Dintel_engine_pm.c69 ce = engine->kernel_context; in __engine_unpark()
152 struct intel_context *ce = engine->kernel_context; in switch_to_kernel_context()
320 if (ce == engine->kernel_context) in intel_engine_reset_pinned_contexts()
Dselftest_ring_submission.c111 err = context_sync(engine->kernel_context); in mixed_contexts_sync()
189 err = context_sync(engine->kernel_context); in kernel_context_sync_00()
Dmock_engine.c335 intel_context_unpin(engine->kernel_context); in mock_engine_release()
336 intel_context_put(engine->kernel_context); in mock_engine_release()
419 engine->kernel_context = ce; in mock_engine_init()
Dselftest_rps.c255 engine->kernel_context, in live_rps_clock_interval()
414 engine->kernel_context, in live_rps_control()
642 engine->kernel_context->vm, false, in live_rps_frequency_cs()
781 engine->kernel_context->vm, true, in live_rps_frequency_srm()
905 rq = igt_spinner_create_request(spin, engine->kernel_context, MI_NOOP); in __rps_up_interrupt()
1170 engine->kernel_context, in live_rps_power()
1278 engine->kernel_context, in live_rps_dynamic()
Dintel_engine_pm.h101 rq = i915_request_create(engine->kernel_context); in intel_engine_create_kernel_request()
Dselftest_context.c276 err = context_sync(engine->kernel_context); in __live_active_context()
398 err = __remote_sync(engine->kernel_context, remote); in __live_remote_context()
Dselftest_engine_cs.c143 struct intel_context *ce = engine->kernel_context; in perf_mi_bb_start()
270 struct intel_context *ce = engine->kernel_context; in perf_mi_noop()
Dintel_ring_submission.c758 *cs++ = i915_ggtt_offset(engine->kernel_context->state) | in mi_set_context()
887 ret = switch_mm(rq, vm_alias(engine->kernel_context->vm)); in clear_residuals()
891 if (engine->kernel_context->state) { in clear_residuals()
893 engine->kernel_context, in clear_residuals()
922 if (engine->wa_ctx.vma && ce != engine->kernel_context) { in switch_context()
Dintel_gt_requests.c31 return !list_empty(&engine->kernel_context->timeline->requests); in engine_active()
Dselftest_execlists.c1541 ctx_hi = kernel_context(gt->i915, NULL); in live_busywait_preempt()
1547 ctx_lo = kernel_context(gt->i915, NULL); in live_busywait_preempt()
1741 ctx_hi = kernel_context(gt->i915, NULL); in live_preempt()
1746 ctx_lo = kernel_context(gt->i915, NULL); in live_preempt()
1833 ctx_hi = kernel_context(gt->i915, NULL); in live_late_preempt()
1837 ctx_lo = kernel_context(gt->i915, NULL); in live_late_preempt()
1933 c->ctx = kernel_context(gt->i915, NULL); in preempt_client_init()
3383 ctx_hi = kernel_context(gt->i915, NULL); in live_preempt_timeout()
3388 ctx_lo = kernel_context(gt->i915, NULL); in live_preempt_timeout()
3678 smoke.contexts[n] = kernel_context(smoke.gt->i915, NULL); in live_preempt_smoke()
Dselftest_lrc.c189 engine->kernel_context, engine, true); in live_lrc_layout()
628 err = gpr_make_dirty(engine->kernel_context); in __live_lrc_gpr()
647 err = gpr_make_dirty(engine->kernel_context); in __live_lrc_gpr()
651 err = emit_semaphore_signal(engine->kernel_context, slot); in __live_lrc_gpr()
Dintel_engine_types.h418 struct intel_context *kernel_context; /* pinned */ member
Dselftest_engine_heartbeat.c39 return timeline_sync(engine->kernel_context->timeline); in engine_sync_barrier()
Dselftest_engine_pm.c297 engine->kernel_context, in live_engine_busy_stats()
Dselftest_mocs.c276 err = check_mocs_engine(&mocs, engine->kernel_context); in live_mocs_kernel()
Dselftest_slpc.c325 engine->kernel_context, in run_test()
Dintel_engine_cs.c1466 engine->kernel_context = ce; in engine_init_common()
1537 if (engine->kernel_context) in intel_engine_cleanup_common()
1538 intel_engine_destroy_pinned_context(engine->kernel_context); in intel_engine_cleanup_common()
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h29 struct i915_gem_context *kernel_context(struct drm_i915_private *i915,
Dmock_context.c149 kernel_context(struct drm_i915_private *i915, in kernel_context() function
Di915_gem_context.c704 ctx = kernel_context(i915, NULL); in igt_ctx_exec()
837 ctx = kernel_context(i915, parent->vm); in igt_shared_ctx_exec()
1185 ret = __read_slice_count(ce->engine->kernel_context, obj, NULL, &rpcs); in __sseu_finish()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dselftest_guc_hangcheck.c47 ctx = kernel_context(gt->i915, NULL); in intel_hang_guc()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_request.c75 request = mock_request(rcs0(i915)->kernel_context, HZ / 10); in igt_add_request()
93 request = mock_request(rcs0(i915)->kernel_context, T); in igt_wait_request()
162 request = mock_request(rcs0(i915)->kernel_context, T); in igt_fence_wait()
597 request = i915_request_create(engine->kernel_context); in live_nop_request()
1023 request = i915_request_create(engine->kernel_context); in empty_request()
1478 rq = i915_request_create(engine->kernel_context); in __live_parallel_engine1()
1516 rq = i915_request_create(engine->kernel_context); in __live_parallel_engineN()
1577 engine->kernel_context, in __live_parallel_spin()
2246 rq = i915_request_create(engine->kernel_context); in plug()
2383 ce, ce->engine->kernel_context in measure_context_switch()
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_active.c373 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
878 u64 idx = engine->kernel_context->timeline->fence_context; in i915_active_acquire_preallocate_barrier()
995 GEM_BUG_ON(i915_request_timeline(rq) != engine->kernel_context->timeline); in i915_request_add_active_barriers()
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_overlay.c1398 if (!engine || !engine->kernel_context) in intel_overlay_setup()
1406 overlay->context = engine->kernel_context; in intel_overlay_setup()

12