[PATCH v3] drm: Add UAPI for the Asahi driver
Alyssa Rosenzweig
alyssa at rosenzweig.io
Sun Mar 23 14:44:23 PDT 2025
> > > +struct drm_asahi_queue_create {
> > > + /** @flags: MBZ */
> > > + __u32 flags;
> > > +
> > > + /** @vm_id: The ID of the VM this queue is bound to */
> > > + __u32 vm_id;
> > > +
> > > + /** @queue_caps: Bitmask of DRM_ASAHI_QUEUE_CAP_* */
> > > + __u32 queue_caps;
> > > +
> > > + /** @priority: Queue priority, 0-3 */
> > > + __u32 priority;
>
> Is one of these priorities REALTIME and only usable by privileged apps? If so, maybe document that and/or have an enum?
Actually, I've reserved realtime&high but always deny right now to make
sure Mesa doesn't assume it can use them, then we can relax in the
future once the kernel permission gating is there. (Needs rust
bindings.)
More information about the linux-arm-kernel
mailing list