]> 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)
commitd52835dd8845c28fb97f13713de4582bd44e61d8
tree309079b59e50b28dc89dcc5e32cb974c6b1d4f13
parent1cbf2ba53333f329f3897712f8850ef8028b9067
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