Home
last modified time | relevance | path

Searched refs:same_context (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dexeclist.c45 #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()
H A Dscheduler.c1610 #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()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_request.c1685 bool same_context = prev->context == rq->context; in __i915_request_ensure_ordering() local
1693 GEM_BUG_ON(same_context && in __i915_request_ensure_ordering()
1697 if ((same_context && uses_guc) || (!uses_guc && pow2)) in __i915_request_ensure_ordering()