Lines Matching refs:guc
147 struct intel_guc *guc = gt_to_guc(gt); in intel_guc_steal_guc_ids() local
154 int number_guc_id_stolen = guc->number_guc_id_stolen; in intel_guc_steal_guc_ids()
158 guc_err(guc, "Context array allocation failed\n"); in intel_guc_steal_guc_ids()
164 sv = guc->submission_state.num_guc_ids; in intel_guc_steal_guc_ids()
165 guc->submission_state.num_guc_ids = 512; in intel_guc_steal_guc_ids()
171 guc_err(guc, "Failed to create context: %pe\n", ce[context_index]); in intel_guc_steal_guc_ids()
177 guc_err(guc, "Failed to create spinner: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
184 guc_err(guc, "Failed to create spinner request: %pe\n", spin_rq); in intel_guc_steal_guc_ids()
189 guc_err(guc, "Failed to add Spinner request: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
198 guc_err(guc, "Failed to create context: %pe\n", ce[context_index]); in intel_guc_steal_guc_ids()
208 guc_err(guc, "Failed to create %srequest %d: %pe\n", in intel_guc_steal_guc_ids()
223 guc_err(guc, "Spin request failed to complete: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
235 guc_err(guc, "Last request failed to complete: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
243 guc_err(guc, "Failed to steal guc_id %d: %pe\n", context_index, rq); in intel_guc_steal_guc_ids()
251 guc_err(guc, "Request with stolen guc_id failed to complete: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
258 guc_err(guc, "GT failed to idle: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
263 if (guc->number_guc_id_stolen == number_guc_id_stolen) { in intel_guc_steal_guc_ids()
264 guc_err(guc, "No guc_id was stolen"); in intel_guc_steal_guc_ids()
284 guc->submission_state.num_guc_ids = sv; in intel_guc_steal_guc_ids()
293 static int bad_h2g(struct intel_guc *guc) in bad_h2g() argument
300 return intel_guc_send_nb(guc, action, ARRAY_SIZE(action), 0); in bad_h2g()
354 gt->uc.guc.fast_response_selftest = 1; in intel_guc_fast_request()
356 ret = bad_h2g(>->uc.guc); in intel_guc_fast_request()
362 ret = wait_for(gt->uc.guc.fast_response_selftest != 1 || i915_request_completed(rq), in intel_guc_fast_request()
375 if (gt->uc.guc.fast_response_selftest != 2) { in intel_guc_fast_request()
377 gt->uc.guc.fast_response_selftest); in intel_guc_fast_request()