[Intel-xe] [PATCH 1/1] drm/xe: Enable the compat ioctl functionality

Thomas Hellström thomas.hellstrom at linux.intel.com
Tue Apr 25 07:46:54 UTC 2023


On 4/25/23 04:19, Christopher Snowhill wrote:
> 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 at gmail.com>

LGTM.

Reviewed-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>


> ---
>   drivers/gpu/drm/xe/xe_device.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_device.c b/drivers/gpu/drm/xe/xe_device.c
> index 45d6e5ff47fd..00f1d9e386f1 100644
> --- a/drivers/gpu/drm/xe/xe_device.c
> +++ b/drivers/gpu/drm/xe/xe_device.c
> @@ -113,7 +113,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,
>   };
>   


More information about the Intel-xe mailing list