OSDN Git Service

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)
commit1c806a6e76795b72b09e2bf967d23b4ed791d0a2
tree27b74707eb58cd00fdd0bcb0a195bab611860efd
parentb44f84081b8db1b5830cbd30280ba1109cc1a084
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