Home
last modified time | relevance | path

Searched refs:last_ctx (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
H A Dhva-debugfs.c305 struct hva_ctx *last_ctx = &hva->dbg.last_ctx; in last_show() local
307 if (last_ctx->flags & HVA_FLAG_STREAMINFO) { in last_show()
310 hva_dbg_perf_compute(last_ctx); in last_show()
311 format_ctx(s, last_ctx); in last_show()
393 memcpy(&hva->dbg.last_ctx, ctx, sizeof(*ctx)); in hva_dbg_ctx_remove()
H A Dhva.h288 * @last_ctx: debug information about last running instance context
292 struct hva_ctx last_ctx; member
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/
H A Dhva-debugfs.c305 struct hva_ctx *last_ctx = &hva->dbg.last_ctx; in last_show() local
307 if (last_ctx->flags & HVA_FLAG_STREAMINFO) { in last_show()
310 hva_dbg_perf_compute(last_ctx); in last_show()
311 format_ctx(s, last_ctx); in last_show()
393 memcpy(&hva->dbg.last_ctx, ctx, sizeof(*ctx)); in hva_dbg_ctx_remove()
H A Dhva.h288 * @last_ctx: debug information about last running instance context
292 struct hva_ctx last_ctx; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dscheduler.c188 if (s->last_ctx[ring_id].valid && in populate_shadow_context()
189 (s->last_ctx[ring_id].lrca == in populate_shadow_context()
191 (s->last_ctx[ring_id].ring_context_gpa == in populate_shadow_context()
195 s->last_ctx[ring_id].lrca = workload->ctx_desc.lrca; in populate_shadow_context()
196 s->last_ctx[ring_id].ring_context_gpa = workload->ring_context_gpa; in populate_shadow_context()
201 s->last_ctx[ring_id].valid = false; in populate_shadow_context()
240 s->last_ctx[ring_id].valid = true; in populate_shadow_context()
1393 memset(s->last_ctx, 0, sizeof(s->last_ctx)); in intel_vgpu_setup_submission()
H A Dgvt.h171 } last_ctx[I915_NUM_ENGINES]; member
H A Dgtt.c2395 if (!s->last_ctx[i].valid) in intel_vgpu_emulate_ggtt_mmio_write()
2398 if (s->last_ctx[i].lrca == (off >> info->gtt_entry_size_shift)) in intel_vgpu_emulate_ggtt_mmio_write()
2399 s->last_ctx[i].valid = false; in intel_vgpu_emulate_ggtt_mmio_write()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dscheduler.c201 if (s->last_ctx[ring_id].valid && in populate_shadow_context()
202 (s->last_ctx[ring_id].lrca == in populate_shadow_context()
204 (s->last_ctx[ring_id].ring_context_gpa == in populate_shadow_context()
208 s->last_ctx[ring_id].lrca = workload->ctx_desc.lrca; in populate_shadow_context()
209 s->last_ctx[ring_id].ring_context_gpa = workload->ring_context_gpa; in populate_shadow_context()
214 s->last_ctx[ring_id].valid = false; in populate_shadow_context()
258 s->last_ctx[ring_id].valid = true; in populate_shadow_context()
1437 memset(s->last_ctx, 0, sizeof(s->last_ctx)); in intel_vgpu_setup_submission()
H A Dgvt.h171 } last_ctx[I915_NUM_ENGINES]; member
H A Dgtt.c2343 if (!s->last_ctx[i].valid) in intel_vgpu_emulate_ggtt_mmio_write()
2346 if (s->last_ctx[i].lrca == (off >> info->gtt_entry_size_shift)) in intel_vgpu_emulate_ggtt_mmio_write()
2347 s->last_ctx[i].valid = false; in intel_vgpu_emulate_ggtt_mmio_write()
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-m2m.c133 if (m2m->last_ctx != ctx) { in mxc_isi_m2m_device_run()
158 m2m->last_ctx = ctx; in mxc_isi_m2m_device_run()
582 if (m2m->last_ctx == ctx) in mxc_isi_m2m_streamoff()
583 m2m->last_ctx = NULL; in mxc_isi_m2m_streamoff()
H A Dimx8-isi-core.h270 /* Protects last_ctx, usage_count and chained_count */
273 struct mxc_isi_m2m_ctx *last_ctx; member
/kernel/linux/linux-6.6/io_uring/
H A Dio_uring.c1220 struct io_ring_ctx *last_ctx = NULL; in io_fallback_tw() local
1226 if (sync && last_ctx != req->ctx) { in io_fallback_tw()
1227 if (last_ctx) { in io_fallback_tw()
1228 flush_delayed_work(&last_ctx->fallback_work); in io_fallback_tw()
1229 percpu_ref_put(&last_ctx->refs); in io_fallback_tw()
1231 last_ctx = req->ctx; in io_fallback_tw()
1232 percpu_ref_get(&last_ctx->refs); in io_fallback_tw()
1239 if (last_ctx) { in io_fallback_tw()
1240 flush_delayed_work(&last_ctx->fallback_work); in io_fallback_tw()
1241 percpu_ref_put(&last_ctx in io_fallback_tw()
[all...]

Completed in 22 milliseconds