Re: [Intel-gfx] [PATCH 16/37] drm/i915: Always defer fenced work to the worker

2020-08-05 Thread Tvrtko Ursulin
On 05/08/2020 13:22, Chris Wilson wrote: Currently, if an error is raised we always call the cleanup locally [and skip the main work callback]. However, some future users may need to take a mutex to cleanup and so we cannot immediately execute the cleanup as we may still be in interrupt context

[Intel-gfx] [PATCH 16/37] drm/i915: Always defer fenced work to the worker

2020-08-05 Thread Chris Wilson
Currently, if an error is raised we always call the cleanup locally [and skip the main work callback]. However, some future users may need to take a mutex to cleanup and so we cannot immediately execute the cleanup as we may still be in interrupt context. For example, if we have committed sensitive