Re: [PATCH v5 2/2] drm/i915/gt: Serialize TLB invalidates with GT resets

2022-07-12 Thread Rodrigo Vivi
On Tue, Jul 12, 2022 at 04:21:33PM +0100, Mauro Carvalho Chehab wrote: > From: Chris Wilson > > Avoid trying to invalidate the TLB in the middle of performing an > engine reset, as this may result in the reset timing out. Currently, > the TLB invalidate is only serialised by its own mutex, forgoi

[PATCH v5 2/2] drm/i915/gt: Serialize TLB invalidates with GT resets

2022-07-12 Thread Mauro Carvalho Chehab
From: Chris Wilson Avoid trying to invalidate the TLB in the middle of performing an engine reset, as this may result in the reset timing out. Currently, the TLB invalidate is only serialised by its own mutex, forgoing the uncore lock, but we can take the uncore->lock as well to serialise the mmi