From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1FB3B606A320 for ; Mon, 30 Nov 2026 14:03:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=qUYZ2cUt; dkim=pass (1024-bit key, unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=iNETuPVj DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Unsubscribe-Post:List-Owner; bh=rHZsoYbqOSHXZMxfaVYuIU6FBF/AOnJu5QDfSZ/zey0=; b=qUYZ2cUttcEgVueKl4nKgkrhOP ZeC8VMBj1K2vpPKK9GKTpY6HIkKJJOwb2L5yp8NBZld9KBZKVMCNi+W0UAITO/dxDiSGZvLT77O6I oCjYp9UVr/xB5mbM48Sh8Q9Ndv7sdWyLSpFmSQu4aeuH7829V+iWkPVOvNobm1YkEUveOE160Mpzh UN0WJaYH2OtTLdiMZzdNOk/lRuyUWEVyxd4KOaulDv9OmbSmaGe2HJuevHaS5GUCvMVgKAHtIJX0w f2lB6RbXsrWtGjQkzBK40R+P9mSNBGL/jpsRiZRtl1pOq/k+1v6T2pq2cuHrlGSb91rseMiBz/3R4 BPm3Obvg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY1TW-00000004ifV-2PD8; Mon, 30 Nov 2026 13:31:22 +0000 Received: from m16.mail.163.com ([117.135.210.2]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY1TL-00000004iZm-2Vhf; Mon, 30 Nov 2026 13:31:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:To:Subject:Date:Message-ID:MIME-Version; bh=rH ZsoYbqOSHXZMxfaVYuIU6FBF/AOnJu5QDfSZ/zey0=; b=iNETuPVjpllS/5fakF hqEhWmwDWS0w0bmoIQlwKhA0gchF6jz2m08sSXRiIdwFeUz8Ebw6zbCSPtprUeq3 LHvsEczHlD8U2vFLstJ+vv0w4PpKdmej83GZ4vL2l/1wKl5+QWoMDoQuFCJKhaGn h25v3sAgzDIAgY/ILpgmi55p0= Received: from localhost.localdomain (unknown []) by gzga-smtp-mtada-g1-0 (Coremail) with SMTP id _____wB3n5l_eg1rRi96Kg--.59491S2; Mon, 30 Nov 2026 21:30:40 +0800 (CST) From: Pengpeng Hou To: neil.armstrong@linaro.org Cc: mchehab@kernel.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, linux-media@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hppiscas@163.com Subject: [PATCH] media: meson-ge2d: select REGMAP_MMIO Date: Mon, 30 Nov 2026 21:30:37 +0800 Message-ID: <20261130133037.84849-1-hppiscas@163.com> X-Mailer: git-send-email 2.50.1 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wB3n5l_eg1rRi96Kg--.59491S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7CryUZr43Xr13AF4DKry3Jwb_yoW8GFWxpr Z7Ka4xAr97XrW5KF1jva47uFW8JwnaqFW7GryrZwnF9r98ZFnIk34j9a1a9r98Ars7Aa1a qrWrKanIvF4DArUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0JUb2-bUUUUU= X-CM-SenderInfo: 5kssx2xfdvqiywtou0bp/xtbC7QDcpWsNeoBwFwAA3v X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_053112_060751_373578DD X-CRM114-Status: UNSURE ( 8.22 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 ge2d.c initializes an MMIO regmap using devm_regmap_init_mmio(), but VIDEO_MESON_GE2D does not select REGMAP_MMIO. The driver can therefore be enabled without the required register-transport implementation and fail to build. Select REGMAP_MMIO so the backend is enabled at the linkage level required by this consumer, rather than relying on another driver to pull it in. The issue was found by our static-analysis tool and manually reviewed. Fixes: 59a635327ca7 ("media: meson: Add M2M driver for the Amlogic GE2D Accelerator Unit") Signed-off-by: Pengpeng Hou --- AI assistance: gpt 5 (patch preparation and review). drivers/media/platform/amlogic/meson-ge2d/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/amlogic/meson-ge2d/Kconfig b/drivers/media/platform/amlogic/meson-ge2d/Kconfig index 312c416..ba51bd6 100644 --- a/drivers/media/platform/amlogic/meson-ge2d/Kconfig +++ b/drivers/media/platform/amlogic/meson-ge2d/Kconfig @@ -5,6 +5,7 @@ config VIDEO_MESON_GE2D depends on ARCH_MESON || COMPILE_TEST select VIDEOBUF2_DMA_CONTIG select V4L2_MEM2MEM_DEV + select REGMAP_MMIO help This is a v4l2 driver for Amlogic GE2D 2D graphics accelerator. GE2D is a standalone 2D graphic acceleration unit, with color converter, base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244