Home
last modified time | relevance | path

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

12

/linux-5.19.10/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()
127 struct intel_context *ce = engine->kernel_context; in switch_to_kernel_context()
295 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()
Dselftest_slpc.c94 engine->kernel_context, in live_slpc_clamp_min()
225 engine->kernel_context, in live_slpc_clamp_max()
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.c254 engine->kernel_context, in live_rps_clock_interval()
413 engine->kernel_context, in live_rps_control()
641 engine->kernel_context->vm, false, in live_rps_frequency_cs()
782 engine->kernel_context->vm, true, in live_rps_frequency_srm()
908 rq = igt_spinner_create_request(spin, engine->kernel_context, MI_NOOP); in __rps_up_interrupt()
1167 engine->kernel_context, in live_rps_power()
1275 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.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.c753 *cs++ = i915_ggtt_offset(engine->kernel_context->state) | in mi_set_context()
882 ret = switch_mm(rq, vm_alias(engine->kernel_context->vm)); in clear_residuals()
886 if (engine->kernel_context->state) { in clear_residuals()
888 engine->kernel_context, in clear_residuals()
917 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.c1543 ctx_hi = kernel_context(gt->i915, NULL); in live_busywait_preempt()
1548 ctx_lo = kernel_context(gt->i915, NULL); in live_busywait_preempt()
1739 ctx_hi = kernel_context(gt->i915, NULL); in live_preempt()
1744 ctx_lo = kernel_context(gt->i915, NULL); in live_preempt()
1831 ctx_hi = kernel_context(gt->i915, NULL); in live_late_preempt()
1835 ctx_lo = kernel_context(gt->i915, NULL); in live_late_preempt()
1931 c->ctx = kernel_context(gt->i915, NULL); in preempt_client_init()
3385 ctx_hi = kernel_context(gt->i915, NULL); in live_preempt_timeout()
3390 ctx_lo = kernel_context(gt->i915, NULL); in live_preempt_timeout()
3686 smoke.contexts[n] = kernel_context(smoke.gt->i915, NULL); in live_preempt_smoke()
Dselftest_lrc.c186 engine->kernel_context, engine, true); in live_lrc_layout()
626 err = gpr_make_dirty(engine->kernel_context); in __live_lrc_gpr()
645 err = gpr_make_dirty(engine->kernel_context); in __live_lrc_gpr()
649 err = emit_semaphore_signal(engine->kernel_context, slot); in __live_lrc_gpr()
Dintel_engine_types.h374 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.c296 engine->kernel_context, in live_engine_busy_stats()
Dselftest_mocs.c278 err = check_mocs_engine(&mocs, engine->kernel_context); in live_mocs_kernel()
Dintel_engine_cs.c1140 engine->kernel_context = ce; in engine_init_common()
1206 if (engine->kernel_context) in intel_engine_cleanup_common()
1207 intel_engine_destroy_pinned_context(engine->kernel_context); in intel_engine_cleanup_common()
/linux-5.19.10/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.c680 ctx = kernel_context(i915, NULL); in igt_ctx_exec()
813 ctx = kernel_context(i915, parent->vm); in igt_shared_ctx_exec()
1164 ret = __read_slice_count(ce->engine->kernel_context, obj, NULL, &rpcs); in __sseu_finish()
Di915_gem_mman.c1513 vma = i915_vma_instance(obj, engine->kernel_context->vm, NULL); in __igt_mmap_gpu()
1527 rq = i915_request_create(engine->kernel_context); in __igt_mmap_gpu()
/linux-5.19.10/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()
577 request = i915_request_create(engine->kernel_context); in live_nop_request()
995 request = i915_request_create(engine->kernel_context); in empty_request()
1434 rq = i915_request_create(engine->kernel_context); in __live_parallel_engine1()
1470 rq = i915_request_create(engine->kernel_context); in __live_parallel_engineN()
1528 engine->kernel_context, in __live_parallel_spin()
2184 rq = i915_request_create(engine->kernel_context); in plug()
2321 ce, ce->engine->kernel_context in measure_context_switch()
[all …]
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_active.c374 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
877 u64 idx = engine->kernel_context->timeline->fence_context; in i915_active_acquire_preallocate_barrier()
994 GEM_BUG_ON(i915_request_timeline(rq) != engine->kernel_context->timeline); in i915_request_add_active_barriers()
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_overlay.c1393 if (!engine || !engine->kernel_context) in intel_overlay_setup()
1401 overlay->context = engine->kernel_context; in intel_overlay_setup()

12