[PATCH v3 4/8] drm/panthor: Add support for alloc-on-fault buffers

2025-04-05 Thread Boris Brezillon
This lets the UMD flag buffers are alloc-on-fault (AKA lazy allocation, AKA alloc-on-demand). The ultimate goal is to use this infrastructure for heap objects, but commit only deals with GEM/VM bits. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panthor/panthor_drv.c | 20 +- drivers/gpu/d

Re: [PATCH v3 4/8] drm/panthor: Add support for alloc-on-fault buffers

2025-04-04 Thread Boris Brezillon
On Fri, 4 Apr 2025 11:26:30 +0200 Boris Brezillon wrote: > diff --git a/include/uapi/drm/panthor_drm.h b/include/uapi/drm/panthor_drm.h > index 97e2c4510e69..8071f1c438e2 100644 > --- a/include/uapi/drm/panthor_drm.h > +++ b/include/uapi/drm/panthor_drm.h > @@ -615,6 +615,16 @@ struct drm_pantho