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

2025-03-11 Thread Rob Clark
On Mon, Mar 10, 2025 at 7:14 AM 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] drm: Add UAPI for the Asahi driver

2025-03-11 Thread Alyssa Rosenzweig
> > +/** > > + * struct drm_asahi_gem_bind - Arguments passed to > > + * DRM_IOCTL_ASAHI_GEM_BIND > > + */ > > +struct drm_asahi_gem_bind { > > + /** @op: Bind operation (enum drm_asahi_bind_op) */ > > + __u32 op; > > + > > + /** @flags: One or more of ASAHI_BIND_* (BIND only) */