diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-22 12:58:33 -0700 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-09-24 21:23:19 -0700 |
| commit | a4916b4da44812384388ac09a2baf9da461dbc30 (patch) | |
| tree | c21b20b143fb27d0f77a8e7ed06e638fadcd91eb /tools/perf/scripts/python/bin | |
| parent | abde96d8442de131fc3af647fdc63a0877dc99b6 (diff) | |
| download | linux-a4916b4da44812384388ac09a2baf9da461dbc30.tar.gz linux-a4916b4da44812384388ac09a2baf9da461dbc30.zip | |
drm/xe/guc: Refactor GuC load to use poll_timeout_us()
Currently there are 2 wait loops for loading GuC: one in
xe_mmio_wait32_not() and one guc_wait_ucode(). Now that there's a
generic poll_timeout_us(), refactor the code to use that to be more
readable.
Main change in behavior is that there's no exponential wait anymore:
that is now replaced by a 10msec retry.
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://lore.kernel.org/r/20250922-xe-iopoll-v4-5-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
