Commit c354feb5 authored by John Harrison's avatar John Harrison

drm/i915/guc: Print status register when waiting for GuC to load

If the GuC load is taking an excessively long time, the wait loop
currently prints the GT frequency. Extend that to include the GuC
status as well so we can see if the GuC is actually making progress or
not.
Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Reviewed-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230502234007.1762014-3-John.C.Harrison@Intel.com
parent 6b8bfff5
...@@ -191,8 +191,10 @@ static int guc_wait_ucode(struct intel_guc *guc) ...@@ -191,8 +191,10 @@ static int guc_wait_ucode(struct intel_guc *guc)
if (!ret || !success) if (!ret || !success)
break; break;
guc_dbg(guc, "load still in progress, count = %d, freq = %dMHz\n", guc_dbg(guc, "load still in progress, count = %d, freq = %dMHz, status = 0x%08X [0x%02X/%02X]\n",
count, intel_rps_read_actual_frequency(&uncore->gt->rps)); count, intel_rps_read_actual_frequency(&uncore->gt->rps), status,
REG_FIELD_GET(GS_BOOTROM_MASK, status),
REG_FIELD_GET(GS_UKERNEL_MASK, status));
} }
after = ktime_get(); after = ktime_get();
delta = ktime_sub(after, before); delta = ktime_sub(after, before);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment