[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z-CAtz-D-CslvABE@blossom>
Date: Sun, 23 Mar 2025 17:44:23 -0400
From: Alyssa Rosenzweig <alyssa@...enzweig.io>
To: Faith Ekstrand <faith.ekstrand@...labora.com>
Cc: David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
"Björn Roy Baron" <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Janne Grunau <j@...nau.net>, Sven Peter <sven@...npeter.dev>,
Jonathan Corbet <corbet@....net>,
Sergio Lopez Pascual <slp@...rega.org>,
Ryan Houdek <sonicadvance1@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
dri-devel <dri-devel@...ts.freedesktop.org>,
rust-for-linux <rust-for-linux@...r.kernel.org>,
asahi <asahi@...ts.linux.dev>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-doc <linux-doc@...r.kernel.org>,
Asahi Lina <lina@...hilina.net>
Subject: Re: [PATCH v3] drm: Add UAPI for the Asahi driver
> > > +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.)
Powered by blists - more mailing lists