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 0A423C43334 for ; Mon, 13 Jun 2022 14:49:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 377F910E85D; Mon, 13 Jun 2022 14:49:36 +0000 (UTC) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id D094710E84F for ; Mon, 13 Jun 2022 14:49:34 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8EFDD320090B; Mon, 13 Jun 2022 10:49:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 13 Jun 2022 10:49:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h=cc :cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1655131772; x=1655218172; bh=iO t3Oa3UXrMZz0PJIIBRXAPnmhF0MgeLZwnDxUdg0ak=; b=ZOTonDkoyD7rTX7D4F kvc3angI0xc+wafi6yZ+1XJdZIZxD1wRcH6k0vxV0BTPmTvjtBXDxk+GEQqK7mqp SEmTxLGTRd0KNQC+qEG5lC7+nTJLE+5LLJY28E/+5EJ3ayOZ49yAcpoAaFwmbi3f LHP3aGdjTowRTwbTjHoHYSdyViUbDlGOdA034uG5ThV9z4WD31+iukrfnohhTdoC 81WZ69bEKtUQTFGKjfi+r+STchpTtNLb8GGQMrjLdL4L0Jz+qRdYhm0tt/0xpslZ 1he+3XFQWQ0Fe4AGeKubeHABTgdAg7zSUKoTa5uGwGluGNJJwYQqnAf20IXF3tTN tucg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding: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=fm2; t=1655131772; x=1655218172; bh=iOt3Oa3UXrMZz 0PJIIBRXAPnmhF0MgeLZwnDxUdg0ak=; b=HgrsLw4KhIssP21BVQ4cHz6KrAKmO UzeZIyHO2Yh1GZFVDdV4x3mPxpnhKLNtoJM0kfkkHTAr2f4jszkzjO/Uy2YZ4Qpe R5qZeF1cC3Did7Y3TrVN+gGQHJ5OQMnbANcisjlFM/fyq53Oeya9bftU1z4bi0PU UvVcsLhH/bjx5hOP4XtGgMyQYS/cTA8/6vBDvNpTx/kSke+DFq2aPgjcqPK6Omsa 2L/fXkD6MP7+ReuS/USV/k2NJ/BJXxs7eHjKNsh3cqp1+uwgMvZNDJUHySnv3+QQ fpd5FbQp/Pkbrd1Fzk1Hw1aMmThXBlAWZMx/MXc8Qofg2l0vIAnB9rvdw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddujedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrgihi mhgvucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrg htthgvrhhnpeelkeefteduhfekjeeihfetudfguedvveekkeetteekhfekhfdtlefgfedu vdejhfenucevlhhushhtvghrufhiiigvpeeknecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Feedback-ID: i8771445c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Jun 2022 10:49:31 -0400 (EDT) From: Maxime Ripard To: Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard Subject: [PATCH 28/33] drm/vc4: hdmi: Add MISC_CONTROL register for vc4 Date: Mon, 13 Jun 2022 16:47:55 +0200 Message-Id: <20220613144800.326124-29-maxime@cerno.tech> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613144800.326124-1-maxime@cerno.tech> References: <20220613144800.326124-1-maxime@cerno.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: dri-devel@lists.freedesktop.org, Dave Stevenson Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Dave Stevenson The MISC_CONTROL register allows configuration of pixel repetition for pixel doubling in the HDMI block instead of PixelValve. It was already defined for vc5, so add it for vc4. Signed-off-by: Dave Stevenson Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_hdmi_regs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi_regs.h b/drivers/gpu/drm/vc4/vc4_hdmi_regs.h index 5a56761e75af..48db438550b1 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi_regs.h +++ b/drivers/gpu/drm/vc4/vc4_hdmi_regs.h @@ -200,6 +200,7 @@ static const struct vc4_hdmi_register __maybe_unused vc4_hdmi_fields[] = { VC4_HDMI_REG(HDMI_VERTB0, 0x00d0), VC4_HDMI_REG(HDMI_VERTA1, 0x00d4), VC4_HDMI_REG(HDMI_VERTB1, 0x00d8), + VC4_HDMI_REG(HDMI_MISC_CONTROL, 0x00e4), VC4_HDMI_REG(HDMI_CEC_CNTRL_1, 0x00e8), VC4_HDMI_REG(HDMI_CEC_CNTRL_2, 0x00ec), VC4_HDMI_REG(HDMI_CEC_CNTRL_3, 0x00f0), -- 2.36.1