projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
116d325
)
drm/xe: Enable the compat ioctl functionality
author
Christopher Snowhill
<kode54@gmail.com>
Tue, 25 Apr 2023 02:19:21 +0000
(19:19 -0700)
committer
Rodrigo Vivi
<rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:33:13 +0000
(18:33 -0500)
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>
drivers/gpu/drm/xe/xe_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_device.c
b/drivers/gpu/drm/xe/xe_device.c
index b13bbdeeef51a441b4a5f7f23c6698512789b2cc..2f8777f365a4295fdad30228face35545666d073 100644
(file)
--- 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,
};