]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Mark set/drop master ioctl as unlocked.
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 17 Jun 2016 07:33:23 +0000 (09:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 20 Jun 2016 20:04:23 +0000 (22:04 +0200)
commitce833ba9693ca28754c8d468a9290ce04f2fd65a
tree418f33e33239ba8666eb54b55e7adbb444269299
parent94e86f5d90048ca9ff23803114ede3757298b7e9
drm: Mark set/drop master ioctl as unlocked.

Again this is neatly protected by the dev->master_mutex now. There is
a driver callback both for set and drop, but it's only used by vmwgfx.
And vmwgfx has it's own solid locking for shared resources (besides
dev->master_mutex), hence is all safe. Let's drop another place where
the drm legacy bkl is used.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1466148814-8194-6-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_ioctl.c