diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-22 12:58:32 -0700 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-24 21:23:19 -0700 |
| commit | abde96d8442de131fc3af647fdc63a0877dc99b6 (patch) | |
| tree | f740e9349a49df9d3d194cadce5fdddec1c7935c /tools/perf/scripts/python/bin | |
| parent | 2a16f47dcc75e7bfd98291f0951c5e864294341e (diff) | |
| download | linux-abde96d8442de131fc3af647fdc63a0877dc99b6.tar.gz linux-abde96d8442de131fc3af647fdc63a0877dc99b6.zip | |
drm/xe/guc: Extract function to print load error
Move the error parsing and print out of guc_wait_ucode() into a helper
to clean up the wait function. Since now the `load_done != 1` condition
has a return statement, also simplify the if/else chain.
Reviewed-by: John Harrison <John.C.Harrison@Intel.com> # v2
Link: https://lore.kernel.org/r/20250922-xe-iopoll-v4-4-06438311a63f@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
