diff options
author | Christopher Snowhill <kode54@gmail.com> | 2023-04-25 05:19:21 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-20 02:33:13 +0300 |
commit | 14dac5a5748cc477f5d8887a45ca32011b9ffea3 (patch) | |
tree | 56c3ade0e2c32fc85593c99e1b27a489d4fdd7ac /drivers/gpu/drm/xe/xe_device.c | |
parent | 116d32515214910d8a34538dbd09ef26a878d5ae (diff) | |
download | linux-14dac5a5748cc477f5d8887a45ca32011b9ffea3.tar.xz |
drm/xe: Enable the compat ioctl functionality
This is required at the minimum for the DRM UAPI to function from
32-bit userspace with a 64-bit kernel.
Signed-off-by: Christopher Snowhill <kode54@gmail.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_device.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c index b13bbdeeef51..2f8777f365a4 100644 --- a/drivers/gpu/drm/xe/xe_device.c +++ b/drivers/gpu/drm/xe/xe_device.c @@ -112,7 +112,7 @@ static const struct file_operations xe_driver_fops = { .mmap = drm_gem_mmap, .poll = drm_poll, .read = drm_read, -// .compat_ioctl = i915_ioc32_compat_ioctl, + .compat_ioctl = drm_compat_ioctl, .llseek = noop_llseek, }; |