From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 A827A33A013 for ; Fri, 19 Dec 2025 17:08:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766164120; cv=none; b=EOAGfLUdSiecGT0V3f43Nbbgsltwm3Ep+CaX/tM19/FqxOBj6eFdaq3PdU4WvPj3IYX49L7YglNDfnQhXXmUPomPAzdWUbkLm9pU5DSQc6HmW7mkY9ZUkkDFkUyopxwzBoyRt8XlQu/3Hwv6C3qcIkauZ6y6UgW3Roa/Ui92jU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766164120; c=relaxed/simple; bh=AsXlzOVfO+Z60vNb0r8d6RiA5mPikXJYSHqCQDn8ImY=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:To:From:Subject: References:In-Reply-To; b=sgRng2Xm/368DaDjb2B3kk+yYvb4IN72EajWTKPdYKNP4BUsMrdHyDy+G0YYNDwDB0TUwvUWeTX/4wRVgt7JXtbnRkd2KsQ3y3owTWaJjybYo8DeezqoqyZKvgeIRFAD8Bbr/gK8cPR0q9apdYoXAxNOuctPREex3HKXMUEWIEs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=bIVYf5l9; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="bIVYf5l9" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 313341A22FB; Fri, 19 Dec 2025 17:08:37 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 07FE66071D; Fri, 19 Dec 2025 17:08:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id BE20610AA95D9; Fri, 19 Dec 2025 18:08:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1766164116; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=K6T7Kx7Dfh74hDrph2a5XEaBWwXjdh5yL90vk7rFvY4=; b=bIVYf5l9sWtF4zrexcbDiUXDsI1mxZdM8rM2bVq/7Fsgysa3de87ibY86NZcd3WVbWjEf5 IPhKwaZsVk/Nf6VbDlO0s6M3VB5UfDPaq32R0YhorWBHYHsgvlT9RnZh7Xn9Zny76BVZqQ gT790gSlAYzB94tdvX3f/Jb+osG+FitYKK8cPOD9ZS4A/PQo33HGLK3BnDJ6VeWg7XX21w scw+BrxmLi3EoT1Fy/UThLaPZA05iAuHvHVs+dy5H11wmtO9EkI+QxpLcCtr+D6YuNw5hi 8MHUeyGdhC/FvoSoHs3Lrvd37W+vI1Y+3zmgGqKP1qB2rxJrdocJAHCxXpuz7Q== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 19 Dec 2025 18:08:33 +0100 Message-Id: Cc: , , , , , To: "Louis Chauvet" , "Haneen Mohammed" , "Simona Vetter" , "Melissa Wen" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , , "Jonathan Corbet" From: "Luca Ceresoli" Subject: Re: [PATCH RESEND v2 20/32] drm/vkms: Introduce configfs for plane zpos property X-Mailer: aerc 0.20.1 References: <20251029-vkms-all-config-v2-0-a49a2d4cba26@bootlin.com> <20251029-vkms-all-config-v2-20-a49a2d4cba26@bootlin.com> In-Reply-To: <20251029-vkms-all-config-v2-20-a49a2d4cba26@bootlin.com> X-Last-TLS-Session-Version: TLSv1.3 On Wed Oct 29, 2025 at 3:36 PM CET, Louis Chauvet wrote: > Modern compositor rely on zpos management to offload some processing to > deticated hardware. In order to test multiple configurations, add zpos > configuration to configFS. > > Introduce multiple attributes to configure zpos: > - zpos_enabled - Create or not the zpos property. If not created, the zpo= s > is undefined. > - zpos_mutable - If the zpos property is created, allow or not the > userspace to modify it > - zpos_initial - Initial value for zpos property. Must be between zpos_mi= n > and zpos_max > - zpos_min - Minimal zpos value for this plane. Must be smaller than or Minimum > equals to zpos_max equal or, more simply: - zpos_min - Minimal zpos value for this plane. Must be <=3D zpos_max > - zpos_max - Maximal zpos value for this plane. Must be greater than or Maximum > equals to zpos_min As above > --- a/Documentation/gpu/vkms.rst > +++ b/Documentation/gpu/vkms.rst > @@ -114,6 +114,13 @@ Planes have 9 configurable attributes: > To remove a format, use a minus and its fourcc: -XR24 > To add all formats use +* > To remove all formats, use -* > +- zpos_enabled: Enable or not the zpos property: 1 enable, 0 disable > +- zpos_mutable: Create the zpos property as a mutable or imutable proper= ty: 1 mutable, > + 0 disable. No effect if zpos_enabled is not set. s/disable/immutable/ > +- zpos_initial: Set the initial zpos value. Must be between zpos_min and= zpos_max. No > + effect if zpos_enabled is not set. > +- zpos_min: Set the minimal zpos value. No effect if zpos_enabled is not= set. minimum > +- zpos_max: Set the maximal zpos value. No effect if zpos_enabled is not= set. maximum With those fixed: Reviewed-by: Luca Ceresoli -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com