Re: [Intel-gfx] [PATCH 04/23] drm/i915/gem: Only revoke mmap handlers if active

2020-07-02 Thread Chris Wilson
Quoting Chris Wilson (2020-07-02 13:47:00) > Quoting Tvrtko Ursulin (2020-07-02 13:35:41) > > > > On 02/07/2020 09:32, Chris Wilson wrote: > > > Avoid waking up the device and taking stale locks if we know that the > > > object is not currently mmapped. This is particularly useful as not many > >

Re: [Intel-gfx] [PATCH 04/23] drm/i915/gem: Only revoke mmap handlers if active

2020-07-02 Thread Chris Wilson
Quoting Tvrtko Ursulin (2020-07-02 13:35:41) > > On 02/07/2020 09:32, Chris Wilson wrote: > > Avoid waking up the device and taking stale locks if we know that the > > object is not currently mmapped. This is particularly useful as not many > > object are actually mmapped and so we can destroy the

Re: [Intel-gfx] [PATCH 04/23] drm/i915/gem: Only revoke mmap handlers if active

2020-07-02 Thread Tvrtko Ursulin
On 02/07/2020 09:32, Chris Wilson wrote: Avoid waking up the device and taking stale locks if we know that the object is not currently mmapped. This is particularly useful as not many object are actually mmapped and so we can destroy them without waking the device up, and gives us a little more

[Intel-gfx] [PATCH 04/23] drm/i915/gem: Only revoke mmap handlers if active

2020-07-02 Thread Chris Wilson
Avoid waking up the device and taking stale locks if we know that the object is not currently mmapped. This is particularly useful as not many object are actually mmapped and so we can destroy them without waking the device up, and gives us a little more freedom of workqueue ordering during shutdow