From patchwork Mon Nov 14 13:00:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13042301 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF4D6C433FE for ; Mon, 14 Nov 2022 13:00:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4515710E0AE; Mon, 14 Nov 2022 13:00:42 +0000 (UTC) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by gabe.freedesktop.org (Postfix) with ESMTPS id E4B3510E0AE; Mon, 14 Nov 2022 13:00:36 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 7D31F580401; Mon, 14 Nov 2022 08:00:35 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 14 Nov 2022 08:00:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1668430835; x= 1668438035; bh=0JWLmMS4ys53k+X9d2nf5UFm2Qt1wBBlnbOmVwqA2+A=; b=P 2fMj4KVYbgu6OYfTCbnyhUqrbpstYhG2qs8K1avdLRBBbqBLyApf2QITRDktrcv1 oBpY+ASY1YL46/+YRaH2cs1JhGhgTy4mP3iqot4niMC0aG6Uk2bv/7OHYMEx8FX5 OSunRc2kfqb3Y9ZuwIbB4MYTTPLCC13bRnxAIP1cr/iZqAoedlFjKz6JqovE5Ik8 7Ya3CBcJbahPCPgX2w1i06qi75QhxpRKlWLJY7+MzZlx+GOO5mpzUvBhbkaLExyt fjmyKbwJ5yRzFsviTZS26Rq+ZgTU/LgGiBTOQ2cfAEExiJJtTu18P3RtkN2bM5jT 6b211sMAOT4NflUf7SWRQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1668430835; x= 1668438035; bh=0JWLmMS4ys53k+X9d2nf5UFm2Qt1wBBlnbOmVwqA2+A=; b=N dHvTNE3efzcmT1UmedezIyraShPjtEqqQE2l5qJMa08kAwuEizrUhJ9m7cPesNlh k2YXLOAtQkr+AQp2AnjHVikZX5q4wN+G3ZFty6nOpz3Hd9X1VqqInFUtmUioicVd S1chJTeJdCJ4EVI/SyUp1LxQ6v2EP1D1hl3R9Wun6kc518o4ox8221tfIA/aNhSM uWmA4T3/BnCZKrZWxz8rN4WBCR4fbSQR2v/oVy7CK+K3Wq+Ne2OzCsNFY48wSW2R 9NKmwrPvbiio7AK6qMk6+E4cLmbu95VYpC2EhIDVlLEY8QwH2QrGVUg7vblcspOL NKSIdfX3EuG7Pvs2d1NBg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrgedvgddvtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhfffugggtgffkfhgjvfevofesthekredtredtjeenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeduudduhfevjeetfeegvdffvdevvdejudegudekjeehtdelhfffveethfej ledtveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Nov 2022 08:00:34 -0500 (EST) From: Maxime Ripard Date: Mon, 14 Nov 2022 14:00:20 +0100 Subject: [PATCH v9 01/25] docs/fb: Document current named modes MIME-Version: 1.0 Message-Id: <20220728-rpi-analog-tv-properties-v9-1-24b168e5bcd5@cerno.tech> References: <20220728-rpi-analog-tv-properties-v9-0-24b168e5bcd5@cerno.tech> In-Reply-To: <20220728-rpi-analog-tv-properties-v9-0-24b168e5bcd5@cerno.tech> To: Maxime Ripard , Karol Herbst , Samuel Holland , Joonas Lahtinen , Daniel Vetter , Chen-Yu Tsai , Maarten Lankhorst , Lyude Paul , Thomas Zimmermann , Emma Anholt , Jani Nikula , Rodrigo Vivi , Ben Skeggs , Tvrtko Ursulin , David Airlie , Jernej Skrabec X-Mailer: b4 0.11.0-dev-99e3a X-Developer-Signature: v=1; a=openpgp-sha256; l=1097; i=maxime@cerno.tech; h=from:subject:message-id; bh=HwgUgivGxiNK6PYRp//hctyxx0DYl44g6S9kEphLQOk=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDMlF1q8DGM6ms7pM2VtQ/7Zulsi/EzNsjjs05BX+ymw16+4r qHvWUcrCIMbFICumyBIjbL4k7tSs151sfPNg5rAygQxh4OIUgIns92f4X7WPycHy9hcD0UeCJ/4XG1 2JCii9d9I5tz988V+D/eYvOBgZ9lhnbp04wc7zgOSWPTfSvO/d3HWlq63cs22R35eGlsZ7DAA= X-Developer-Key: i=maxime@cerno.tech; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?unknown-8bit?q?Dom_Cobley_=3Cdom=40raspberrypi=2Ecom=3E=2C_Dave_Steven?= =?unknown-8bit?q?son_=3Cdave=2Estevenson=40raspberrypi=2Ecom=3E=2C_nouveau?= =?unknown-8bit?q?=40lists=2Efreedesktop=2Eorg=2C_intel-gfx=40lists=2Efreede?= =?unknown-8bit?q?sktop=2Eorg=2C_linux-kernel=40vger=2Ekernel=2Eorg=2C_dri-d?= =?unknown-8bit?q?evel=40lists=2Efreedesktop=2Eorg=2C_Mateusz_Kwiatkowski_?= =?unknown-8bit?q?=3Ckfyatek+publicgit=40gmail=2Ecom=3E=2C_Hans_de_Goede_=3C?= =?unknown-8bit?q?hdegoede=40redhat=2Ecom=3E=2C_Noralf_Tr=C3=B8nnes_=3Cnoral?= =?unknown-8bit?q?f=40tronnes=2Eorg=3E=2C_Geert_Uytterhoeven_=3Cgeert=40linu?= =?unknown-8bit?q?x-m68k=2Eorg=3E=2C_Maxime_Ripard_=3Cmaxime=40cerno=2Etech?= =?unknown-8bit?q?=3E=2C_linux-sunxi=40lists=2Elinux=2Edev=2C_Phil_Elwell_?= =?unknown-8bit?q?=3Cphil=40raspberrypi=2Ecom=3E=2C_linux-arm-kernel=40lists?= =?unknown-8bit?q?=2Einfradead=2Eorg?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" KMS supports a number of named modes already, but it's never been documented anywhere, let's fix that. Signed-off-by: Maxime Ripard Reviewed-by: Noralf Trønnes --- Changes in v9: - New patch --- Documentation/fb/modedb.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/fb/modedb.rst b/Documentation/fb/modedb.rst index 4d2411e32ebb..e53375033146 100644 --- a/Documentation/fb/modedb.rst +++ b/Documentation/fb/modedb.rst @@ -26,6 +26,11 @@ Valid mode specifiers (mode_option argument):: with , , and decimal numbers and a string. Things between square brackets are optional. +Valid names are:: + + - NSTC: 480i output, with the CCIR System-M TV mode and NTSC color encoding + - PAL: 576i output, with the CCIR System-B TV mode and PAL color encoding + If 'M' is specified in the mode_option argument (after and before and , if specified) the timings will be calculated using VESA(TM) Coordinated Video Timings instead of looking up the mode from a table.