diff options
author | Jani Nikula <jani.nikula@intel.com> | 2020-02-27 20:00:45 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-03-02 14:32:37 +0300 |
commit | 062705be45c8de79aee54620e5facc402eeee43a (patch) | |
tree | 2a72d8dadd2d7a1c0629e4cbac2ae6ef893d974a /drivers/gpu/drm/i915/i915_ioc32.c | |
parent | b28bba8997f5259cb0e63423c04e846eeab34d62 (diff) | |
download | linux-062705be45c8de79aee54620e5facc402eeee43a.tar.xz |
drm/i915: add i915_ioc32.h for compat
Keep reducing i915_drv.h.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227170047.31089-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_ioc32.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_ioc32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_ioc32.c b/drivers/gpu/drm/i915/i915_ioc32.c index df7d19bd9b3a..8e45ca3d2ede 100644 --- a/drivers/gpu/drm/i915/i915_ioc32.c +++ b/drivers/gpu/drm/i915/i915_ioc32.c @@ -29,7 +29,9 @@ #include <linux/compat.h> #include <drm/drm_ioctl.h> + #include "i915_drv.h" +#include "i915_ioc32.h" struct drm_i915_getparam32 { s32 param; @@ -66,7 +68,7 @@ static drm_ioctl_compat_t *i915_compat_ioctls[] = { }; /** - * i915_compat_ioctl - handle the mistakes of the past + * i915_ioc32_compat_ioctl - handle the mistakes of the past * @filp: the file pointer * @cmd: the ioctl command (and encoded flags) * @arg: the ioctl argument (from userspace) @@ -74,7 +76,7 @@ static drm_ioctl_compat_t *i915_compat_ioctls[] = { * Called whenever a 32-bit process running under a 64-bit kernel * performs an ioctl on /dev/dri/card<n>. */ -long i915_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) +long i915_ioc32_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) { unsigned int nr = DRM_IOCTL_NR(cmd); drm_ioctl_compat_t *fn = NULL; |