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

2020-07-02 Thread Tvrtko Ursulin
On 02/07/2020 14:06, 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

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

2020-07-02 Thread Chris Wilson
Quoting Chris Wilson (2020-07-02 14:06:05) > 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 littl

[Intel-gfx] [PATCH v2 2/2] 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