rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alyssa Rosenzweig <alyssa@rosenzweig.io>
To: Faith Ekstrand <faith.ekstrand@collabora.com>
Cc: "David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"\"Björn Roy Baron\"" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>, "Janne Grunau" <j@jannau.net>,
	"Sven Peter" <sven@svenpeter.dev>,
	"Jonathan Corbet" <corbet@lwn.net>,
	"Sergio Lopez Pascual" <slp@sinrega.org>,
	"Ryan Houdek" <sonicadvance1@gmail.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	rust-for-linux <rust-for-linux@vger.kernel.org>,
	asahi <asahi@lists.linux.dev>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-doc <linux-doc@vger.kernel.org>,
	"Asahi Lina" <lina@asahilina.net>
Subject: Re: [PATCH v3] drm: Add UAPI for the Asahi driver
Date: Sun, 23 Mar 2025 17:44:23 -0400	[thread overview]
Message-ID: <Z-CAtz-D-CslvABE@blossom> (raw)
In-Reply-To: <195b582682b.121ba4d5e219032.3109114844776468245@collabora.com>

>  >  > +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.)

  parent reply	other threads:[~2025-03-23 21:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-14 23:23 [PATCH v3] drm: Add UAPI for the Asahi driver Alyssa Rosenzweig
2025-03-20 19:29 ` Faith Ekstrand
2025-03-20 21:42   ` Faith Ekstrand
2025-03-23 21:18     ` Alyssa Rosenzweig
2025-03-24  0:20       ` Daniel Almeida
2025-03-24 14:10         ` Alyssa Rosenzweig
2025-03-23 21:44     ` Alyssa Rosenzweig [this message]
2025-03-23 22:22     ` Alyssa Rosenzweig
2025-03-23 19:42   ` Alyssa Rosenzweig
2025-03-21 14:24 ` Simona Vetter
2025-03-23 22:48   ` Alyssa Rosenzweig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z-CAtz-D-CslvABE@blossom \
    --to=alyssa@rosenzweig.io \
    --cc=a.hindborg@kernel.org \
    --cc=airlied@gmail.com \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=asahi@lists.linux.dev \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=corbet@lwn.net \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=faith.ekstrand@collabora.com \
    --cc=gary@garyguo.net \
    --cc=j@jannau.net \
    --cc=lina@asahilina.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=simona@ffwll.ch \
    --cc=slp@sinrega.org \
    --cc=sonicadvance1@gmail.com \
    --cc=sven@svenpeter.dev \
    --cc=tmgross@umich.edu \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).