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>
This commit is contained in:
Christopher Snowhill 2023-04-24 19:19:21 -07:00 committed by Rodrigo Vivi
parent 116d325152
commit 14dac5a574

View File

@ -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,
};