Lines Matching refs:last
54 struct i915_request *last[3] = {NULL, NULL, NULL}, *rq; in intel_guc_scrub_ctbs() local
95 last[i] = rq; in intel_guc_scrub_ctbs()
99 ret = i915_request_wait(last[i], 0, HZ); in intel_guc_scrub_ctbs()
104 i915_request_put(last[i]); in intel_guc_scrub_ctbs()
105 last[i] = NULL; in intel_guc_scrub_ctbs()
124 if (last[i]) in intel_guc_scrub_ctbs()
125 i915_request_put(last[i]); in intel_guc_scrub_ctbs()
153 struct i915_request *spin_rq = NULL, *rq, *last = NULL; in intel_guc_steal_guc_ids() local
207 if ((ret != -EAGAIN) || !last) { in intel_guc_steal_guc_ids()
209 last ? "" : "first ", context_index, ERR_PTR(ret)); in intel_guc_steal_guc_ids()
213 if (last) in intel_guc_steal_guc_ids()
214 i915_request_put(last); in intel_guc_steal_guc_ids()
215 last = rq; in intel_guc_steal_guc_ids()
224 i915_request_put(last); in intel_guc_steal_guc_ids()
232 ret = i915_request_wait(last, 0, HZ * 30); in intel_guc_steal_guc_ids()
233 i915_request_put(last); in intel_guc_steal_guc_ids()