Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c66 struct intel_context *ce = engine->kernel_context; in heartbeat()
183 struct intel_context *ce = engine->kernel_context; in __intel_engine_pulse()
223 struct intel_context *ce = engine->kernel_context; in intel_engine_set_heartbeat()
255 struct intel_context *ce = engine->kernel_context; in intel_engine_pulse()
285 rq = i915_request_create(engine->kernel_context); in intel_engine_flush_barriers()
Dmock_engine.c277 intel_context_unpin(engine->kernel_context); in mock_engine_release()
278 intel_context_put(engine->kernel_context); in mock_engine_release()
353 engine->kernel_context = ce; in mock_engine_init()
Dintel_engine_pm.c31 ce = engine->kernel_context; in __engine_unpark()
136 struct intel_context *ce = engine->kernel_context; in switch_to_kernel_context()
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.c248 engine->kernel_context, in live_rps_clock_interval()
407 engine->kernel_context, in live_rps_control()
636 engine->kernel_context->vm, false, in live_rps_frequency_cs()
777 engine->kernel_context->vm, true, in live_rps_frequency_srm()
903 rq = igt_spinner_create_request(spin, engine->kernel_context, MI_NOOP); in __rps_up_interrupt()
1162 engine->kernel_context, in live_rps_power()
1270 engine->kernel_context, in live_rps_dynamic()
Dintel_engine_pm.h65 rq = i915_request_create(engine->kernel_context); in intel_engine_create_kernel_request()
Dselftest_workarounds.c305 ctx = kernel_context(i915); in check_whitelist_across_reset()
340 tmp = kernel_context(i915); in check_whitelist_across_reset()
1038 c = kernel_context(gt->i915); in live_isolated_whitelist()
1068 if (!engine->kernel_context->vm) in live_isolated_whitelist()
1168 ctx = kernel_context(gt->i915); in live_gpu_reset_workarounds()
1215 ctx = kernel_context(gt->i915); in live_engine_reset_workarounds()
Dselftest_context.c269 err = context_sync(engine->kernel_context); in __live_active_context()
387 err = __remote_sync(engine->kernel_context, remote); in __live_remote_context()
Dintel_ring_submission.c726 *cs++ = i915_ggtt_offset(engine->kernel_context->state) | in mi_set_context()
853 ret = switch_mm(rq, vm_alias(engine->kernel_context->vm)); in clear_residuals()
857 if (engine->kernel_context->state) { in clear_residuals()
859 engine->kernel_context, in clear_residuals()
888 if (engine->wa_ctx.vma && ce != engine->kernel_context) { in switch_context()
Dselftest_engine_cs.c130 struct intel_context *ce = engine->kernel_context; in perf_mi_bb_start()
254 struct intel_context *ce = engine->kernel_context; in perf_mi_noop()
Dselftest_engine_pm.c66 engine->kernel_context, in live_engine_busy_stats()
Dintel_gt_requests.c31 return !list_empty(&engine->kernel_context->timeline->requests); in engine_active()
Dselftest_lrc.c1547 ctx_hi = kernel_context(gt->i915); in live_busywait_preempt()
1553 ctx_lo = kernel_context(gt->i915); in live_busywait_preempt()
1757 ctx_hi = kernel_context(gt->i915); in live_preempt()
1763 ctx_lo = kernel_context(gt->i915); in live_preempt()
1854 ctx_hi = kernel_context(gt->i915); in live_late_preempt()
1858 ctx_lo = kernel_context(gt->i915); in live_late_preempt()
1948 c->ctx = kernel_context(gt->i915); in preempt_client_init()
3351 ctx_hi = kernel_context(gt->i915); in live_preempt_timeout()
3357 ctx_lo = kernel_context(gt->i915); in live_preempt_timeout()
3648 smoke.contexts[n] = kernel_context(smoke.gt->i915); in live_preempt_smoke()
[all …]
Dintel_engine_cs.c880 engine->kernel_context = ce; in engine_init_common()
941 if (engine->kernel_context) { in intel_engine_cleanup_common()
942 intel_context_unpin(engine->kernel_context); in intel_engine_cleanup_common()
943 intel_context_put(engine->kernel_context); in intel_engine_cleanup_common()
Dintel_engine_types.h349 struct intel_context *kernel_context; /* pinned */ member
Dselftest_engine_heartbeat.c34 return timeline_sync(engine->kernel_context->timeline); in engine_sync_barrier()
Dselftest_mocs.c291 err = check_mocs_engine(&mocs, engine->kernel_context); in live_mocs_kernel()
/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.h28 struct i915_gem_context *kernel_context(struct drm_i915_private *i915);
Dmock_context.c142 kernel_context(struct drm_i915_private *i915) in kernel_context() function
Di915_gem_object_blt.c46 struct intel_context *ce = engine->kernel_context; in __perf_fill_blt()
126 struct intel_context *ce = engine->kernel_context; in __perf_copy_blt()
Di915_gem_context.c683 ctx = kernel_context(i915); in igt_ctx_exec()
816 ctx = kernel_context(i915); in igt_shared_ctx_exec()
1169 ret = __read_slice_count(ce->engine->kernel_context, obj, NULL, &rpcs); in __sseu_finish()
Di915_gem_mman.c1139 vma = i915_vma_instance(obj, engine->kernel_context->vm, NULL); in __igt_mmap_gpu()
1153 rq = i915_request_create(engine->kernel_context); in __igt_mmap_gpu()
/drivers/gpu/drm/i915/selftests/
Di915_request.c73 request = mock_request(rcs0(i915)->kernel_context, HZ / 10); in igt_add_request()
91 request = mock_request(rcs0(i915)->kernel_context, T); in igt_wait_request()
160 request = mock_request(rcs0(i915)->kernel_context, T); in igt_fence_wait()
565 request = i915_request_create(engine->kernel_context); in live_nop_request()
666 request = i915_request_create(engine->kernel_context); in empty_request()
1105 rq = i915_request_create(engine->kernel_context); in __live_parallel_engine1()
1141 rq = i915_request_create(engine->kernel_context); in __live_parallel_engineN()
1199 engine->kernel_context, in __live_parallel_spin()
1854 rq = i915_request_create(engine->kernel_context); in plug()
1993 ce, ce->engine->kernel_context in measure_context_switch()
[all …]
/drivers/gpu/drm/i915/
Di915_active.c383 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
909 u64 idx = engine->kernel_context->timeline->fence_context; in i915_active_acquire_preallocate_barrier()
1026 GEM_BUG_ON(i915_request_timeline(rq) != engine->kernel_context->timeline); in i915_request_add_active_barriers()
/drivers/gpu/drm/i915/display/
Dintel_overlay.c1362 if (!engine || !engine->kernel_context) in intel_overlay_setup()
1370 overlay->context = engine->kernel_context; in intel_overlay_setup()

12