Searched refs:same_context (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | execlist.c | 45 #define same_context(a, b) (((a)->context_id == (b)->context_id) && \ macro 195 if (WARN_ON(!same_context(ctx, execlist->running_context))) { in emulate_execlist_ctx_schedule_out() 204 if (valid_context(ctx1) && same_context(ctx0, ctx)) { in emulate_execlist_ctx_schedule_out() 223 } else if ((!valid_context(ctx1) && same_context(ctx0, ctx)) in emulate_execlist_ctx_schedule_out() 224 || (valid_context(ctx1) && same_context(ctx1, ctx))) { in emulate_execlist_ctx_schedule_out() 339 if ((valid_context(ctx1) && same_context(ctx1, &slot->ctx[0]) && in emulate_execlist_schedule_in() 341 (!same_context(ctx0, execlist->running_context))) || in emulate_execlist_schedule_in() 343 same_context(ctx0, &slot->ctx[0]))) { /* condition b */ in emulate_execlist_schedule_in() 417 lite_restore = same_context(this_desc, next_desc); in complete_execlist_workload()
|
D | scheduler.c | 1610 #define same_context(a, b) (((a)->context_id == (b)->context_id) && \ macro 1660 if (same_context(&last_workload->ctx_desc, desc)) { in intel_vgpu_create_workload()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_request.c | 1669 bool same_context = prev->context == rq->context; in __i915_request_ensure_ordering() local 1677 GEM_BUG_ON(same_context && in __i915_request_ensure_ordering() 1681 if ((same_context && uses_guc) || (!uses_guc && pow2)) in __i915_request_ensure_ordering()
|