Commit 53dcd0e
committed
drm/xe: Use DRM_GPU_SCHED_STAT_NO_HANG to skip the reset
Xe can skip the reset if TDR has fired before the free job worker and can
also re-arm the timeout timer in some scenarios. Instead of manipulating
scheduler's internals, inform the scheduler that the job did not actually
timeout and no reset was performed through the new status code
DRM_GPU_SCHED_STAT_NO_HANG.
Note that, in the first case, there is no need to restart submission if it
hasn't been stopped.
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250714-sched-skip-reset-v6-7-5c5ba4f55039@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>1 parent 8902c2b commit 53dcd0e
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
| 1095 | + | |
| 1096 | + | |
1101 | 1097 | | |
1102 | 1098 | | |
1103 | 1099 | | |
| |||
1275 | 1271 | | |
1276 | 1272 | | |
1277 | 1273 | | |
1278 | | - | |
1279 | 1274 | | |
1280 | | - | |
1281 | | - | |
| 1275 | + | |
1282 | 1276 | | |
1283 | 1277 | | |
1284 | 1278 | | |
| |||
0 commit comments