Message ID | 20220728-rpi-analog-tv-properties-v1-21-3d53ae722097@cerno.tech (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 05EA0C00144 for <linux-arm-kernel@archiver.kernel.org>; Fri, 29 Jul 2022 17:10:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0RIe5MzmtBwBfrVNO0KcOiUlcoXVfxaDlkCoUE9RdNg=; b=eQUPiY/HWWvpsi NcaGwD7kFOUZjDYtNIycTkSoVXaXAMmbkAUvHNDF1cVG4lN+kPT0opQen+FooSvbQ9/P10mHjcM99 VLAYZYPPO7wVRzeItMcDt4qDpIxNNd8rxIbXNqzI4tV0spb5V2JY/37HHk7MEHB/56+TWcmi5WRTI prDIpslM794hynEQsLLstIF7w6Jn/663D8F7fVmvNGQ4X5dypGyweVoY6w2CYT4Wq2Sw9OIlk5I09 ZTZm70N04kyZX1BxLqjyNCGo+aP6nl2MSC6ujMTTOrQk0NaaztQE22QZp/swkfPQE2+nB65qY14o0 x9EwNyNNFmIfDJo8yYNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHTTt-0075nD-He; Fri, 29 Jul 2022 17:08:58 +0000 Received: from new4-smtp.messagingengine.com ([66.111.4.230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHSyh-006Sbc-8S; Fri, 29 Jul 2022 16:36:44 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 8D6FA58095D; Fri, 29 Jul 2022 12:36:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 29 Jul 2022 12:36:42 -0400 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=1659112602; x= 1659119802; bh=KDco9eCGDduZLjJ6UEu8nzvgHaRDBuru3VXQGkkLnUI=; b=n E0tkzx03WN5TiLGs9ipU/YdE7rVpwNKNzk/pRTKLVCzktxzmICb5Q/h7Hh5rzw2a 2YzFLyOwiRCBiGtDC80HMZLaeRL5og1zTLggerFpWOIyn2vt9CmqqChXcrwAurS4 Jym+kzwu5t0LwtvkLKYup8xKX7jYeu/CDrBuys1TIzC1EN25TpnFQYGqUegKnXFN wFp7cARKd3czLfIAxtfuutOaHAD9XsCkzyy+OzWtDFBCQ/bOUpXx2x7nNjC/BCjT OkbQshwaTiUfXdDO2clZoG+fw8+OEEJZSFDd4xNnagLgmzV1i37qC6XFKOV7Z9jc qRetOt7bLl6FHZV1FVyXg== 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=fm3; t=1659112602; x= 1659119802; bh=KDco9eCGDduZLjJ6UEu8nzvgHaRDBuru3VXQGkkLnUI=; b=o WV8/cNEZ0Bym/9XhKH/7zycveDBjY5tcA20WybRz1B+ATy40EIWgkt12sw1mwXs6 GUSapHLTLVIWlUEy3cC9o+NpqRA+v5pBpwLBk93nGFrGLz4hbtG2ydvDX+xnfaRl mNESpTI2hAXOkTsPPDsPjldemnVafS2dkwul1i3yZuxFh2MjrXe7P+BsEUYVwbLn QpngoNdNBJ3VD/guJW71fdvqy/lVREqip1rpOjZWwGwVE+KOtTLyVOXD3xyJkRT6 8Oj28MhnzG8RTtxvJOPOGBrQgd1m6zpoufNCUsU5+uOHJobo5gZl9yCkJkn/8t1p 4faUZRuRWtZGNugpOIvMA== X-ME-Sender: <xms:mgzkYmucP36Vpc-a6lTYbXnMumf4bqNkVpwez-8tQs0WEte6xVQstg> <xme:mgzkYrfXNyx9YSmIsks0TL3ASWmFGPN-D7RG08MoE_F18QC83PnSx9TwidZJGx2-U VQ8FtSgNArqQou1YNk> X-ME-Received: <xmr:mgzkYhybqYWfXz48ckShCNcCgvEzwAMs4fAkAKieNDaYJuoCLKFAXukttqY7_vFV3ISUarf-y6_UAlmEfM4> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddujedguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvfevufffkffojghfgggtoffgsehtkeertdertdejnecuhfhrohhmpefo rgigihhmvgcutfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecugg ftrfgrthhtvghrnhepgfffgfetffduudelhfevieffffduleevgfegkeeutefgffejheel leekjeefhfejnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilhhfrh homhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: <xmx:mgzkYhOfRdU76YScxjxocfsh-WVZcfJ-6WN7qee43NxZkAV4gJ4Z5A> <xmx:mgzkYm-RV7f1DsPTgJn-H02U4cYhWpmMsqKsBV-9P79eVtgao12_CA> <xmx:mgzkYpVCLZIpV6lx97soF8YMRWaVF7lvWgmhBHPJtr8GI5y_BQw2JQ> <xmx:mgzkYkM7aJOOIwfsy--kdPmtm9q1xKGzGNmA_gu1c_Ah4MxxI6AgkQ> Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 29 Jul 2022 12:36:41 -0400 (EDT) From: Maxime Ripard <maxime@cerno.tech> To: Jernej Skrabec <jernej.skrabec@gmail.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com>, Chen-Yu Tsai <wens@csie.org>, Philipp Zabel <p.zabel@pengutronix.de>, Jerome Brunet <jbrunet@baylibre.com>, Samuel Holland <samuel@sholland.org>, Thomas Zimmermann <tzimmermann@suse.de>, Daniel Vetter <daniel@ffwll.ch>, Emma Anholt <emma@anholt.net>, David Airlie <airlied@linux.ie>, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, =?utf-8?q?Noralf_Tr?= =?utf-8?q?=C3=B8nnes?= <noralf@tronnes.org>, Kevin Hilman <khilman@baylibre.com>, Neil Armstrong <narmstrong@baylibre.com>, Maxime Ripard <mripard@kernel.org> Cc: Maxime Ripard <maxime@cerno.tech>, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Phil Elwell <phil@raspberrypi.com>, Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven <geert@linux-m68k.org>, Dave Stevenson <dave.stevenson@raspberrypi.com>, linux-amlogic@lists.infradead.org, dri-devel@lists.freedesktop.org, Dom Cobley <dom@raspberrypi.com> Subject: [PATCH v1 21/35] drm/vc4: vec: Fix definition of PAL-M mode Date: Fri, 29 Jul 2022 18:35:04 +0200 Message-Id: <20220728-rpi-analog-tv-properties-v1-21-3d53ae722097@cerno.tech> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> References: <20220728-rpi-analog-tv-properties-v1-0-3d53ae722097@cerno.tech> MIME-Version: 1.0 X-Mailer: b4 0.10.0-dev-49460 X-Developer-Signature: v=1; a=openpgp-sha256; l=1298; i=maxime@cerno.tech; h=from:subject:message-id; bh=q6ak9G5lLCyLk1cD0J927SADrL34ogzk7cE5OcIe9fI=; b=owGbwMvMwCHc4XzqmfnC7acZT6slMSQ94VEKlez6xPWljINBRypiGZNEXLT0hsg1tk7ZX/P2T9z8 ferEjlIWBmEOBlkxRZbrgm/t+MKi3CJ4PmyGmcPKBDKEgYtTACbSasjwP/brk6fLdqY0FsqcNUqOkU zy9VujZnyqwCaC5dTtpy8rfBgZVvyJmeHxb6Juh0Xrl2PnNvw9tc9SQedfZH8u8/PitsCybgA= X-Developer-Key: i=maxime@cerno.tech; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220729_093643_425684_30D90F0E X-CRM114-Status: UNSURE ( 8.34 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
drm: Analog TV Improvements
|
expand
|
diff --git a/drivers/gpu/drm/vc4/vc4_vec.c b/drivers/gpu/drm/vc4/vc4_vec.c index 255bba563fce..fba15a14787e 100644 --- a/drivers/gpu/drm/vc4/vc4_vec.c +++ b/drivers/gpu/drm/vc4/vc4_vec.c @@ -69,6 +69,7 @@ #define VEC_CONFIG0_STD_MASK GENMASK(1, 0) #define VEC_CONFIG0_NTSC_STD 0 #define VEC_CONFIG0_PAL_BDGHI_STD 1 +#define VEC_CONFIG0_PAL_M_STD 2 #define VEC_CONFIG0_PAL_N_STD 3 #define VEC_SCHPH 0x108 @@ -241,10 +242,9 @@ static const struct vc4_vec_tv_mode vc4_vec_tv_modes[] = { .config1 = VEC_CONFIG1_C_CVBS_CVBS, }, [VC4_VEC_TV_MODE_PAL_M] = { - .mode = &drm_mode_576i, - .config0 = VEC_CONFIG0_PAL_BDGHI_STD, - .config1 = VEC_CONFIG1_C_CVBS_CVBS | VEC_CONFIG1_CUSTOM_FREQ, - .custom_freq = 0x223b61d1, + .mode = &drm_mode_480i, + .config0 = VEC_CONFIG0_PAL_M_STD, + .config1 = VEC_CONFIG1_C_CVBS_CVBS, }, };