drm/gma500: Drop dev->struct_mutex from fbdev init/teardown code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Nov 2015 09:32:51 +0000 (10:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Dec 2015 09:05:03 +0000 (10:05 +0100)
commit46a0f2234d3a7078808b5416200f55ea2cb1d99b
tree5a62356c584da251ca1c01d2c539a6ca4aefe43d
parent663ab9c4c9b4be8a6aa41d65e3e89194733a5267
drm/gma500: Drop dev->struct_mutex from fbdev init/teardown code

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.

Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1448271183-20523-19-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/gma500/framebuffer.c