Re: [PATCH v2 1/3] drm/vmwgfx: Introduce userspace managed surfaces

2024-12-09 Thread Maaz Mombasawala
On 11/19/24 11:38, Zack Rusin wrote: >> bool vmw_cmd_describe(const void *buf, u32 *size, char const **cmd) >> diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c >> b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c >> index 835d1eed8dd9..cfa14a34a679 100644 >> --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c >

Re: [PATCH v2 1/3] drm/vmwgfx: Introduce userspace managed surfaces

2024-11-19 Thread Zack Rusin
On Fri, Oct 18, 2024 at 5:01 PM Maaz Mombasawala wrote: > > The kernel currently exposes both mobs and surfaces to userspace through > ioctls. We would like to move to a model where kernel would only expose > mobs and have userspace manage surfaces. This would simplify kernel paths > for surfaces

[PATCH v2 1/3] drm/vmwgfx: Introduce userspace managed surfaces

2024-10-18 Thread Maaz Mombasawala
The kernel currently exposes both mobs and surfaces to userspace through ioctls. We would like to move to a model where kernel would only expose mobs and have userspace manage surfaces. This would simplify kernel paths for surfaces since these userspace managed surfaces will not support prime trans