diff options
author | John Harrison <[email protected]> | 2024-05-24 13:26:03 -0700 |
---|---|---|
committer | John Harrison <[email protected]> | 2024-05-28 14:53:09 -0700 |
commit | fa171d49e49af89dfece89ade803a5d471d919a8 (patch) | |
tree | bcd274f3c9713e43426b743bfb11a8f9acd092a6 /tools/perf/scripts/python | |
parent | 8de6625dafd202da733188f632701e9109188035 (diff) |
drm/xe/guc: Fix uninitialised count in GuC load debug prints
The debug prints about how long the GuC load takes have a loop
counter. However that was neither initialised nor incremented! Plus,
counting loops is no longer meaningful given the wait function returns
early for any change in the status value. So fix it to only count
loops due to actual timeouts.
Signed-off-by: John Harrison <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: b0ac1b42dbdc ("drm/xe/guc: Port over the slow GuC loading support from i915")
Cc: John Harrison <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: Oded Gabbay <[email protected]>
Cc: "Thomas Hellström" <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Matt Roper <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Fei Yang <[email protected]>
Cc: [email protected]
Reviewed-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions