[PATCH 06/35] drm: Hide master MAP cleanup in drm_bufs.c

2016-04-26 Thread Chris Wilson
On Tue, Apr 26, 2016 at 07:29:39PM +0200, Daniel Vetter wrote: > And again make sure it's a no-op for modern drivers, again with the > exception of nouveau. Another case of dev->struct_mutex gone for > modern drivers! > > v2: Also add a DRIVER_* check like for all other maps functions to > really

[PATCH 06/35] drm: Hide master MAP cleanup in drm_bufs.c

2016-04-26 Thread Daniel Vetter
And again make sure it's a no-op for modern drivers, again with the exception of nouveau. Another case of dev->struct_mutex gone for modern drivers! v2: Also add a DRIVER_* check like for all other maps functions to really short-circuit the code. And give drm_legacy_rmmap used by the dev unregiste

[PATCH 06/35] drm: Hide master MAP cleanup in drm_bufs.c

2016-04-26 Thread Alex Deucher
On Tue, Apr 26, 2016 at 1:29 PM, Daniel Vetter wrote: > And again make sure it's a no-op for modern drivers, again with the > exception of nouveau. Another case of dev->struct_mutex gone for > modern drivers! > > v2: Also add a DRIVER_* check like for all other maps functions to > really short-ci