Re: [PATCH v5] drm: Add UAPI for the Asahi driver

2025-03-27 Thread Neal Gompa
On Wed, Mar 26, 2025 at 2:16 PM Alyssa Rosenzweig wrote: > > This adds the UAPI for the Asahi driver targeting the GPU in the Apple > M1 and M2 series systems on chip. The UAPI design is based on other > modern Vulkan-capable drivers, including Xe and Panthor. Memory > management is based on expli

Re: [PATCH v5] drm: Add UAPI for the Asahi driver

2025-03-27 Thread Alyssa Rosenzweig
> > https://github.com/alyssarosenzweig/linux/commits/agx-uapi-v5 contains > > the DRM driver implementing this proposed UAPI. > > > > https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33984 contains > > the Mesa patches to implement this proposed UAPI. > > > > That Linux and Mesa branch to

Re: [PATCH v5] drm: Add UAPI for the Asahi driver

2025-03-27 Thread Alyssa Rosenzweig
> > +/** > > + * struct drm_asahi_params_global - Global parameters. > > + * > > + * This struct may be queried by drm_asahi_get_params. > > + */ > > +struct drm_asahi_params_global { > > + /** @features: Feature bits from drm_asahi_feature */ > > + __u64 features; > > + > > + /** @gpu_genera

Re: [PATCH v5] drm: Add UAPI for the Asahi driver

2025-03-27 Thread Janne Grunau
On Wed, Mar 26, 2025 at 02:16:38PM -0400, Alyssa Rosenzweig wrote: > This adds the UAPI for the Asahi driver targeting the GPU in the Apple > M1 and M2 series systems on chip. The UAPI design is based on other > modern Vulkan-capable drivers, including Xe and Panthor. Memory > management is based o

[PATCH v5] drm: Add UAPI for the Asahi driver

2025-03-26 Thread Alyssa Rosenzweig
This adds the UAPI for the Asahi driver targeting the GPU in the Apple M1 and M2 series systems on chip. The UAPI design is based on other modern Vulkan-capable drivers, including Xe and Panthor. Memory management is based on explicit VM management. Synchronization is exclusively explicit sync. Th