]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Simplify core vs. drv ioctl handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Mar 2015 13:51:58 +0000 (15:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Mar 2015 15:08:41 +0000 (16:08 +0100)
commit60f6f5cff80681b0fbf34e92cc625007610e9221
tree309079b59e50b28dc89dcc5e32cb974c6b1d4f13
parentd07187cb5ac91a01f6bb443743b9bc52fdb28ea9
drm: Simplify core vs. drv ioctl handling

Now that cmd_drv is gone the handling for core and driver ioctls is
mostly identical, so eliminate the duplication. Also take the
opportunity to simplify the range checks to be less cluttered.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_ioctl.c