[PATCH 06/10] drm: Put legacy lastclose work into drm_legacy_dev_reinit

2016-03-30 Thread Thierry Reding
On Wed, Mar 30, 2016 at 11:45:16AM +0200, Daniel Vetter wrote: [...] > diff --git a/include/drm/drm_agpsupport.h b/include/drm/drm_agpsupport.h > index e134e9ca422b..b2d912670a7f 100644 > --- a/include/drm/drm_agpsupport.h > +++ b/include/drm/drm_agpsupport.h > @@ -93,7 +93,7 @@ static inline struc

[PATCH 06/10] drm: Put legacy lastclose work into drm_legacy_dev_reinit

2016-03-30 Thread Daniel Vetter
Except for the ->lasclose driver callback evrything in drm_lastclose() is all legacy cruft and can be hidden. Which means another dev->struct_mutex site disappears entirely for modern drivers! Also while at it change the return value of drm_lastclose to void since it will always succeed. No one ch