Re: [PATCH 1/2] drm: Release filp before global lock

2020-01-27 Thread Daniel Vetter
On Fri, Jan 24, 2020 at 12:56:26PM +, Chris Wilson wrote: > The file is not part of the global drm resource and can be released > prior to take the global mutex to drop the open_count (and potentially > close) the drm device. As the global mutex is indeed global, not only > within the device bu

[PATCH 1/2] drm: Release filp before global lock

2020-01-24 Thread Chris Wilson
The file is not part of the global drm resource and can be released prior to take the global mutex to drop the open_count (and potentially close) the drm device. As the global mutex is indeed global, not only within the device but across devices, a slow file release mechanism can bottleneck the ent