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

Rodrigo Vivi rodrigo.vivi at kernel.org
Fri May 5 14:50:50 UTC 2023


On Tue, Apr 25, 2023 at 09:46:54AM +0200, Thomas Hellström wrote:
> 
> 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>

Pushed. thanks for the patch and review.

> 
> 
> > ---
> >   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