drm: Disallow DRM_IOCTL_MODESET_CTL for KMS drivers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 29 May 2012 22:58:09 +0000 (00:58 +0200)
committerDave Airlie <airlied@gmail.com>
Tue, 17 Jul 2012 20:05:48 +0000 (06:05 +1000)
commit29935554b384b1b3a7377d6f0b03b21d18a61683
treea79b4e7322a46881bd38816ea153741f5c523e3c
parentfaadaf97e5314d7463e7a815445d2f9166934ad4
drm: Disallow DRM_IOCTL_MODESET_CTL for KMS drivers

DRM_IOCTL_MODESET_CTL must only be used for UMS drivers. Make it a no-op
for KMS drivers.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/drm_irq.c