From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.171.202.116 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795692611; b=mHKEbPrb6qPKBg3m/xtj4uqu+giRUptLtTPUnjkixI5GGg2BrjPIiT4cS7/NEdK0OGRH C08V765F8uBQ55szNiFLDPF2jo548dvaGRv1pFVWEO0WR8V9HLmTqetiPBMArT7u+u/kj kKvRa8qjH/tNjdFm73a382W2rg+xJWSDRuMW62oxQf1X76rMcTKUdCOaWdzG6ukIbo2Nb 45NwOuZ4Rlboc37XuaGc5lggxtbI+++VBWqlQLTX3yHEqlFjhR882NGYOXbct3vcmUZSQ RfQ4FFpFJ1Uo9q/UsmPT9NKiY08CuoEaamW2wMWggD3pZgkLRcKJfgdQq32+iHEi7Dg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795692611; h=DMARC-Filter:Received:Received:Received:DKIM-Signature:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Last-TLS-Session-Version; bh=E2/+MuqVnOusQ1sgK4tYgSvacpJ1DcttubCeZOsut9Y=; b=vWZ5algJ8tnaV4oyRSf+sj6CZro9xUrm1KtV4Oeb3ASf4/RN4FFHEwHoIsn8lWg3K9nQ ChVRrOj4yVx/1XCvre0IxDZicVeIaOVx/U0aQX8MxC+Ju7wa4+6HKLiO+dAGlhV0AuShK yrOAJwv7I/R68i6nknz/Pim+xFy6iFxJn2d19jTmD2SjrQmzzIsuAhmfadV9ueoFNHhRp I4Zc8AJ0ghLP4OFVOnzaYVgMoetIOanBX7QS80JGfI39o/EDZsX4Kir6M0GB1Zhodax3a 0uuKGcXcsGtBygTANZXDv48N2MeteAki2OGN4Tv/egT9FyL2Xs5JMYl0gBz5xlj5aTQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=dkim header.b=poXxYTGD; arc=none smtp.remote-ip=185.171.202.116 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31C46606A323 for ; Thu, 26 Nov 2026 11:30:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 31C46606A323 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.a=rsa-sha256 header.s=dkim header.b=poXxYTGD Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 050CCC2B9C7; Thu, 26 Nov 2026 11:30:18 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id B131960237; Thu, 26 Nov 2026 11:30:09 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A652411E6B367; Thu, 26 Nov 2026 12:30:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1795692607; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=E2/+MuqVnOusQ1sgK4tYgSvacpJ1DcttubCeZOsut9Y=; b=poXxYTGDakjeqdK2ho8kvkTnN9q8SxOv3wYxtoLJGSbvjp+FFWMsYom/7kMNA08hOJo7j+ s43VIUvH71seNGdwhUyEvoG8FAK7hN0dnZ0dlhFak3pcpLnQ+zdzQHgAuu4YsF59LhqiFY kcmmgpf+TJTkY7raC/w6n0CFli5PwIUsxWBMLcFhQGKiFzS1TZCVk+B02Jup0uAgoR6D9G C+p9b4WOlZYCmVFxtB6w25phW9xdtAJomDJn7WKspKgbCl0+JF6YbdkDZguIhDGE7xH1yI iy2gwaf70VXlEOzPfHwMC4355CQMrSdiXyw2GuWOdxvVuTqtazHdK+T8jkfDoA== From: Louis Chauvet Date: Thu, 26 Nov 2026 12:28:52 +0100 Subject: [PATCH v7 09/43] Documentation: ABI: vkms: Add current VKMS ABI documentation X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261126-vkms-all-config-v7-9-21194cda2468@bootlin.com> References: <20261126-vkms-all-config-v7-0-21194cda2468@bootlin.com> In-Reply-To: <20261126-vkms-all-config-v7-0-21194cda2468@bootlin.com> To: Haneen Mohammed , Simona Vetter , Melissa Wen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , jose.exposito89@gmail.com, Jonathan Corbet , Oarora Etimis , Harry Wentland , Lucas De Marchi , =?utf-8?q?Ville_Syrj=C3=A4l=C3=A4?= , Randy Dunlap , Nick Desaulniers , Louis Chauvet , Shuah Khan , Miguel Ojeda , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt Cc: Luca Ceresoli , Kory Maincent , sebastian.wick@redhat.com, victoria@system76.com, thomas.petazzoni@bootlin.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, llvm@lists.linux.dev X-Mailer: b4 0.17-dev X-Last-TLS-Session-Version: TLSv1.3 VKMS recently introduced a ConfigFS API to configure new devices. Add proper ABI documentation. Signed-off-by: Louis Chauvet --- Documentation/ABI/testing/configfs-vkms | 123 ++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) diff --git a/Documentation/ABI/testing/configfs-vkms b/Documentation/ABI/testing/configfs-vkms new file mode 100644 index 000000000000..26e7f81b5b7d --- /dev/null +++ b/Documentation/ABI/testing/configfs-vkms @@ -0,0 +1,123 @@ +What: /sys/kernel/config/vkms/ +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains sub-groups corresponding to created + VKMS devices. Creating a device named "vkms" fails with + -EINVAL: that name is reserved for the default device + created by the create_default_dev module parameter. + +What: /sys/kernel/config/vkms/ +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains sub-groups corresponding to the VKMS + device . + +What: /sys/kernel/config/vkms//connectors +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains sub-groups corresponding to the + connectors of the VKMS device . + +What: /sys/kernel/config/vkms//connectors/ +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains attributes corresponding to the + connector of the VKMS device . + +What: /sys/kernel/config/vkms//connectors//status +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + Connection status of the connector. Possible values: + 1 - connected, 2 - disconnected, 3 - unknown. Changing + the status triggers a connector hotplug if the device is + enabled. + +What: /sys/kernel/config/vkms//connectors//possible_encoders +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains symbolic links to possible encoders + for this connector. + +What: /sys/kernel/config/vkms//crtcs +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains sub-groups corresponding to the + CRTCs of the VKMS device . + +What: /sys/kernel/config/vkms//crtcs/ +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains attributes corresponding to the + CRTC of the VKMS device . + +What: /sys/kernel/config/vkms//crtcs//writeback +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + Enable or disable writeback connector support for this + CRTC. Value: 1 - enabled, 0 - disabled. + +What: /sys/kernel/config/vkms//encoders +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains sub-groups corresponding to the + encoders of the VKMS device . + +What: /sys/kernel/config/vkms//encoders/ +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains attributes corresponding to the + encoder of the VKMS device . + +What: /sys/kernel/config/vkms//encoders//possible_crtcs +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains symbolic links to possible CRTCs + for this encoder. + +What: /sys/kernel/config/vkms//planes +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains sub-groups corresponding to the + planes of the VKMS device . + +What: /sys/kernel/config/vkms//planes/ +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains attributes corresponding to the + plane of the VKMS device . + +What: /sys/kernel/config/vkms//planes//type +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + Plane type. Possible values: 0 - overlay, 1 - primary, + 2 - cursor. + +What: /sys/kernel/config/vkms//planes//possible_crtcs +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + This group contains symbolic links to possible CRTCs + for this plane. + +What: /sys/kernel/config/vkms//enabled +Date: Nov 2025 +Contact: dri-devel@lists.freedesktop.org +Description: + Enable or disable the VKMS device. Value: 1 - enabled, + 0 - disabled. Enabling validates the device configuration + and fails with -EINVAL if it is invalid. -- 2.56.0