]> git.karo-electronics.de Git - karo-tx-linux.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)
commit83be003807415a07465fc5d748803b702409f3da
tree309079b59e50b28dc89dcc5e32cb974c6b1d4f13
parent7e7392a6e854a29016377b87bebe5ae263f65e5c
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