Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c112 struct intel_context *ce = engine->kernel_context; in heartbeat()
249 struct intel_context *ce = engine->kernel_context; in __intel_engine_pulse()
285 struct intel_context *ce = engine->kernel_context; in intel_engine_set_heartbeat()
317 struct intel_context *ce = engine->kernel_context; in intel_engine_pulse()
340 struct intel_context *ce = engine->kernel_context; in intel_engine_flush_barriers()
Dintel_engine_pm.c53 ce = engine->kernel_context; in __engine_unpark()
160 struct intel_context *ce = engine->kernel_context; in switch_to_kernel_context()
316 if (ce == engine->kernel_context) in intel_engine_reset_pinned_contexts()
Dselftest_slpc.c94 engine->kernel_context, in live_slpc_clamp_min()
225 engine->kernel_context, in live_slpc_clamp_max()
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()
Dselftest_rps.c251 engine->kernel_context, in live_rps_clock_interval()
410 engine->kernel_context, in live_rps_control()
639 engine->kernel_context->vm, false, in live_rps_frequency_cs()
780 engine->kernel_context->vm, true, in live_rps_frequency_srm()
906 rq = igt_spinner_create_request(spin, engine->kernel_context, MI_NOOP); in __rps_up_interrupt()
1165 engine->kernel_context, in live_rps_power()
1273 engine->kernel_context, in live_rps_dynamic()
Dmock_engine.c317 intel_context_unpin(engine->kernel_context); in mock_engine_release()
318 intel_context_put(engine->kernel_context); in mock_engine_release()
401 engine->kernel_context = ce; in mock_engine_init()
Dintel_engine_pm.h64 rq = i915_request_create(engine->kernel_context); in intel_engine_create_kernel_request()
Dselftest_context.c275 err = context_sync(engine->kernel_context); in __live_active_context()
397 err = __remote_sync(engine->kernel_context, remote); in __live_remote_context()
Dselftest_engine_cs.c133 struct intel_context *ce = engine->kernel_context; in perf_mi_bb_start()
257 struct intel_context *ce = engine->kernel_context; in perf_mi_noop()
Dintel_ring_submission.c747 *cs++ = i915_ggtt_offset(engine->kernel_context->state) | in mi_set_context()
876 ret = switch_mm(rq, vm_alias(engine->kernel_context->vm)); in clear_residuals()
880 if (engine->kernel_context->state) { in clear_residuals()
882 engine->kernel_context, in clear_residuals()
911 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.c1542 ctx_hi = kernel_context(gt->i915, NULL); in live_busywait_preempt()
1548 ctx_lo = kernel_context(gt->i915, NULL); in live_busywait_preempt()
1748 ctx_hi = kernel_context(gt->i915, NULL); in live_preempt()
1753 ctx_lo = kernel_context(gt->i915, NULL); in live_preempt()
1840 ctx_hi = kernel_context(gt->i915, NULL); in live_late_preempt()
1844 ctx_lo = kernel_context(gt->i915, NULL); in live_late_preempt()
1934 c->ctx = kernel_context(gt->i915, NULL); in preempt_client_init()
3391 ctx_hi = kernel_context(gt->i915, NULL); in live_preempt_timeout()
3396 ctx_lo = kernel_context(gt->i915, NULL); in live_preempt_timeout()
3687 smoke.contexts[n] = kernel_context(smoke.gt->i915, NULL); in live_preempt_smoke()
Dselftest_lrc.c163 engine->kernel_context, engine, true); in live_lrc_layout()
590 err = gpr_make_dirty(engine->kernel_context); in __live_lrc_gpr()
609 err = gpr_make_dirty(engine->kernel_context); in __live_lrc_gpr()
613 err = emit_semaphore_signal(engine->kernel_context, slot); in __live_lrc_gpr()
Dintel_engine_types.h320 struct intel_context *kernel_context; /* pinned */ member
Dselftest_engine_pm.c269 engine->kernel_context, in live_engine_busy_stats()
Dselftest_engine_heartbeat.c39 return timeline_sync(engine->kernel_context->timeline); in engine_sync_barrier()
Dselftest_mocs.c278 err = check_mocs_engine(&mocs, engine->kernel_context); in live_mocs_kernel()
Dintel_engine_cs.c953 engine->kernel_context = ce; in engine_init_common()
1019 if (engine->kernel_context) in intel_engine_cleanup_common()
1020 intel_engine_destroy_pinned_context(engine->kernel_context); in intel_engine_cleanup_common()
/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h29 struct i915_gem_context *kernel_context(struct drm_i915_private *i915,
Dmock_context.c148 kernel_context(struct drm_i915_private *i915, in kernel_context() function
Di915_gem_context.c703 ctx = kernel_context(i915, NULL); in igt_ctx_exec()
836 ctx = kernel_context(i915, ctx_vm(parent)); in igt_shared_ctx_exec()
1185 ret = __read_slice_count(ce->engine->kernel_context, obj, NULL, &rpcs); in __sseu_finish()
Di915_gem_mman.c1173 vma = i915_vma_instance(obj, engine->kernel_context->vm, NULL); in __igt_mmap_gpu()
1187 rq = i915_request_create(engine->kernel_context); in __igt_mmap_gpu()
/drivers/gpu/drm/i915/selftests/
Di915_request.c74 request = mock_request(rcs0(i915)->kernel_context, HZ / 10); in igt_add_request()
92 request = mock_request(rcs0(i915)->kernel_context, T); in igt_wait_request()
161 request = mock_request(rcs0(i915)->kernel_context, T); in igt_fence_wait()
586 request = i915_request_create(engine->kernel_context); in live_nop_request()
887 request = i915_request_create(engine->kernel_context); in empty_request()
1335 rq = i915_request_create(engine->kernel_context); in __live_parallel_engine1()
1373 rq = i915_request_create(engine->kernel_context); in __live_parallel_engineN()
1434 engine->kernel_context, in __live_parallel_spin()
2102 rq = i915_request_create(engine->kernel_context); in plug()
2239 ce, ce->engine->kernel_context in measure_context_switch()
[all …]
/drivers/gpu/drm/i915/
Di915_active.c373 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
899 u64 idx = engine->kernel_context->timeline->fence_context; in i915_active_acquire_preallocate_barrier()
1016 GEM_BUG_ON(i915_request_timeline(rq) != engine->kernel_context->timeline); in i915_request_add_active_barriers()
/drivers/gpu/drm/i915/display/
Dintel_overlay.c1389 if (!engine || !engine->kernel_context) in intel_overlay_setup()
1397 overlay->context = engine->kernel_context; in intel_overlay_setup()

12