drm: check for modesetting on modeset ioctls
authorDave Airlie <airlied@redhat.com>
Tue, 8 Feb 2011 03:55:21 +0000 (13:55 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 21 Mar 2011 00:02:38 +0000 (10:02 +1000)
commitfb3b06c8a1fd1a80298f13b738ab38ef8c73baff
treea7a30a0e2652bce33fb1a29203786a23c1cc3078
parent19b01b5fbf0b78930b3b06ee6080539c17b5d1fd
drm: check for modesetting on modeset ioctls

Noticed this while working on some other things, helps if we check for modeset
enabled on modesetting ioctls.

Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c