]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm: More specific locking for get* ioctls
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Nov 2014 07:45:01 +0000 (08:45 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 12 Nov 2014 07:56:34 +0000 (17:56 +1000)
commitfcf93f6948c3c29fd414bc00f1f713c501dfd22e
tree15bbd6c58452f5e3a23cb1de7080213904d81309
parent4d02e2de0e80a786452e70d7f3a20a50641e6620
drm: More specific locking for get* ioctls

Motivated by the per-plane locking I've gone through all the get*
ioctls and reduced the locking to the bare minimum required.

v2: Rebase and make it compile ...

v3: Review from Sean:
- Simplify return handling in getplane_res.
- Add a comment to getplane_res that the plane list is invariant and
  can be walked locklessly.

v4: Actually git add.

Cc: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c