]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark getparam ioctl as DRM_UNLOCKED
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Sep 2015 11:56:25 +0000 (13:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 16 Oct 2015 13:50:53 +0000 (15:50 +0200)
commit2568da24c9aadb45576d360cadfae3a2faae9780
tree27b74707eb58cd00fdd0bcb0a195bab611860efd
parent45c070cb60ccd04c88295b9c16812f364c2a0d6a
drm/i915: Mark getparam ioctl as DRM_UNLOCKED

With kms all the data getparam looks at is actually invariant, and
certainly not protected by the global kms mutex. With ums all the
setup code is already racy as hell, so this won't make things any
worse.

I've done this change so that all ioctl still used by kms drivers
are marked as DRM_UNLOCKED, besides that we obviously don't need
it any more in kms mode.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c