On Wed, 8 Sep 2021 10:53:21 -0400 Andrey Grodzovsky andrey.grodzovsky@amd.com wrote:
Note that we need to be careful to not call the sync variant in helpers that are called from the interrupt handler itself to avoid deadlocks (i.e. drm_sched_stop()).
I am not clear here - which interrupt handler is drm_sched_stop called from ? It's called from TDR work as far as I see in the code.
My bad, I meant the timeout handler, not the interrupt handler.