[PATCH 14/25] drm/gma500: Drop dev->struct_mutex from fbdev init/teardown code

2015-10-15 Thread Patrik Jakobsson
On Thu, Oct 15, 2015 at 9:36 AM, Daniel Vetter wrote: > This is init/teardown code, locking is just to appease locking checks. > And since gem create/free doesn't need this any more there's really no > reason for grabbing dev->struct_mutex. > > Again important to switch obj_unref to _unlocked var

[PATCH 14/25] drm/gma500: Drop dev->struct_mutex from fbdev init/teardown code

2015-10-15 Thread Daniel Vetter
This is init/teardown code, locking is just to appease locking checks. And since gem create/free doesn't need this any more there's really no reason for grabbing dev->struct_mutex. Again important to switch obj_unref to _unlocked variants. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/gma500