diff options
author | Matthew Brost <[email protected]> | 2024-10-25 14:43:29 -0700 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2024-10-30 22:14:06 -0700 |
commit | 35d25a4a0012e690ef0cc4c5440231176db595cc (patch) | |
tree | de6f27d71ca40e9754cafa1165dc56759a2d15e7 /tools/perf/scripts/python/gecko.py | |
parent | 5a710196883e0ac019ac6df2a6d79c16ad3c32fa (diff) |
drm/xe: Don't short circuit TDR on jobs not started
Short circuiting TDR on jobs not started is an optimization which is not
required. On LNL we are facing an issue where jobs do not get scheduled
by the GuC if it misses a GGTT page update. When this occurs let the TDR
fire, toggle the scheduling which may get the job unstuck, and print a
warning message. If the TDR fires twice on job that hasn't started,
timeout the job.
v2:
- Add warning message (Paulo)
- Add fixes tag (Paulo)
- Timeout job which hasn't started after TDR firing twice
v3:
- Include local change
v4:
- Short circuit check_timeout on job not started
- use warn level rather than notice (Paulo)
Fixes: 7ddb9403dd74 ("drm/xe: Sample ctx timestamp to determine if jobs have timed out")
Cc: [email protected]
Cc: Paulo Zanoni <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions