From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 254CB1A2C06 for ; Sun, 23 Mar 2025 21:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742766275; cv=none; b=Yrjcqk2ZrFsWvSDTxVhWSx10KYE+ixNJlO8ghmlcbe+yFoFNOI8awhBuOan1Hgh0yQuLFfjVGxldLYuCufYIl3VTXhcZAP2mL87P2C8ROKgi/lN9Rx2/twQkxWZm0SzO83m1L+tx4sAWjKQHelBlWgcnOoZR1GF1agM0s+7dy0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742766275; c=relaxed/simple; bh=Np008TJr5PK+P6vSrV7C4URKZjMVCbHKWGNlLBsimIs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GzxBQwz8ldJzrGnOPan+IIuitzwTkfiHTRu4Hzgg8N3gXk8K+qd5z2dhGAWEZl8MCvslUHLzR4EgHFX+i6Gru8RRYVUtXhA+kEKcCeZk4CsKW/9Fv6ihNorS4DfIcNJ4PE8LsOiOySO4SaaOSky5quCXc0CPICLLdPSuBoxCTWE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rosenzweig.io; spf=pass smtp.mailfrom=rosenzweig.io; dkim=pass (2048-bit key) header.d=rosenzweig.io header.i=@rosenzweig.io header.b=nZ9Le3K9; arc=none smtp.client-ip=95.215.58.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rosenzweig.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rosenzweig.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rosenzweig.io header.i=@rosenzweig.io header.b="nZ9Le3K9" Date: Sun, 23 Mar 2025 17:44:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rosenzweig.io; s=key1; t=1742766271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QjI5CAIKnyK0cdKaefRJI+q3uIG7lhr68HrdHr6otHQ=; b=nZ9Le3K9grAmT8NSqrDY7VgqawNr/XTrJxRvN1cnBj5rG5ctGZFQCbYbmgaahOqfE4y8X6 9KiTK78LgpYvRwVN+5zFnyPVfkywDFasGxtxhKNwLwWoFJmI3aEZJwku1/EAvQL4segCBL GKMhFQ9tW6Sie6nKkCQzSyxkQg/G91JQl5JBVLihPfSOBgK0Rw9zfLdsp5oL61XNAM2K4y EOadBxaZValTGWpyOOX2ozW/iNrMvBnfzLdCp+xW/A4nUucYKeDqrqta/rfKTlhwkGNgDe CZGYYmPXcuH8jntdQWJIvZ7MVHpgdSGE0X7sP901OWfGmctB8KHsZb9uFe7BFA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alyssa Rosenzweig To: Faith Ekstrand Cc: David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?=22Bj=F6rn_Roy_Baron=22?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Janne Grunau , Sven Peter , Jonathan Corbet , Sergio Lopez Pascual , Ryan Houdek , linux-kernel , dri-devel , rust-for-linux , asahi , linux-arm-kernel , linux-doc , Asahi Lina Subject: Re: [PATCH v3] drm: Add UAPI for the Asahi driver Message-ID: References: <20250314-agx-uapi-v3-1-3abf7e74ea2f@rosenzweig.io> <195b507d4b3.b25d0dad175771.7566427576910952468@collabora.com> <195b582682b.121ba4d5e219032.3109114844776468245@collabora.com> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <195b582682b.121ba4d5e219032.3109114844776468245@collabora.com> X-Migadu-Flow: FLOW_OUT > > > +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.)