Re: [PATCH v3 10/13] drm/sched: Add helper to set TDR timeout

2023-09-14 Thread Matthew Brost
On Wed, Sep 13, 2023 at 10:38:24PM -0400, Luben Tuikov wrote: > On 2023-09-11 22:16, Matthew Brost wrote: > > Add helper to set TDR timeout and restart the TDR with new timeout > > value. This will be used in XE, new Intel GPU driver, to trigger the TDR > > to cleanup drm_sched_entity that

Re: [PATCH v3 10/13] drm/sched: Add helper to set TDR timeout

2023-09-13 Thread Luben Tuikov
On 2023-09-11 22:16, Matthew Brost wrote: > Add helper to set TDR timeout and restart the TDR with new timeout > value. This will be used in XE, new Intel GPU driver, to trigger the TDR > to cleanup drm_sched_entity that encounter errors. Do you just want to trigger the cleanup or do you really

[PATCH v3 10/13] drm/sched: Add helper to set TDR timeout

2023-09-11 Thread Matthew Brost
Add helper to set TDR timeout and restart the TDR with new timeout value. This will be used in XE, new Intel GPU driver, to trigger the TDR to cleanup drm_sched_entity that encounter errors. Signed-off-by: Matthew Brost --- drivers/gpu/drm/scheduler/sched_main.c | 18 ++