From: Christopher Snowhill Date: Tue, 25 Apr 2023 02:19:21 +0000 (-0700) Subject: drm/xe: Enable the compat ioctl functionality X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=14dac5a5748cc477f5d8887a45ca32011b9ffea3;p=linux.git 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 Reviewed-by: Thomas Hellström Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c index b13bbdeeef51a..2f8777f365a42 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, };