From patchwork Mon Dec 4 07:27:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 173084 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2600491vqy; Sun, 3 Dec 2023 23:28:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJPf9Sx3rpkNBLAoemwJa3kFvytORQtZx5az2efZZmKJ2ivg1KZb65ABKymwpqo2FNvBGD X-Received: by 2002:a17:902:d487:b0:1d0:b5aa:2ff6 with SMTP id c7-20020a170902d48700b001d0b5aa2ff6mr319143plg.39.1701674911306; Sun, 03 Dec 2023 23:28:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701674911; cv=none; d=google.com; s=arc-20160816; b=cavm6MgBh1Dy52WtQAxmqNULrECg9QCyrNpU2t2BnjVyETnVD0pdaEYOlSJ3Y9n3HK mZRWtEt4BwYBO9LGzA2bNnjEisoxkWZ8zaPoWsSKbhiEJ9K04ILZ1mbNzVj/f92t0ywr ZlmHOSR+8Km8Mz8657z0Qf5Cq/T0TX9Fgo6FqXfIp3eGe11Hw37PO85NAFXvDsfXrAF5 Cr7fWJC0f7OscKuO1Y+XaKZGEE4jUjtHAlLSFU5soBcK87DcaY3SeWfCU8i/okFc2qt9 KGTdlXhE3X+hvN3f844TXjaa//r6Z9Xi/Jebt/M4bo02Oo2hCgqHlL1O5z4bOg0PLzzy 6zrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GUYmHBYf1UsbnEOE9Z/vyZ1/xTwjLe0Gn/WAdnPsKr4=; fh=JICw4g1AtdgkQ4JaKFUTp9CTdKCwinMv7+0URgMs2HQ=; b=h2dwd12/5wCj0yBgEHU+5moKBPeYJa1HHe4Qp5FDDmUWQvlTwqCISaCtlvnjLMHmNq PUd2LuCCNHVo1aPOkvWNZA6TLO2OfdSjjmxG6VLC10NFSRA7fNscbE6nBnOTYtXzHO45 ozTAdnmHNlykDvAgu04p/ojPZ8KDPnGmn277oLPplVGl90bN5hBQ3DgjJTBaUDHSETpr sdwji/thRXtC2P2j2c02lpbbqr5WWOXePNugzwl7O4iAK3a47uH5Dr+aojyjuEO6550B I4MHULo4ZHRsLa1q2xzcrkxwCmOFzUmivirhW0o/drwH0PuqLD4TPgGJkebOWyGlTKsn 8Pkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BiBzutVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v2-20020a655c42000000b005b96af23fe6si7085250pgr.284.2023.12.03.23.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 23:28:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BiBzutVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 74BAE806676A; Sun, 3 Dec 2023 23:28:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjLDH2S (ORCPT + 99 others); Mon, 4 Dec 2023 02:28:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLDH2R (ORCPT ); Mon, 4 Dec 2023 02:28:17 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34C21CA for ; Sun, 3 Dec 2023 23:28:24 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71705C433C8; Mon, 4 Dec 2023 07:28:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701674903; bh=eJKSep2QD7gJ/0nBUBeTc1a4h97UkN6mjcyAE28MOmA=; h=From:To:Cc:Subject:Date:From; b=BiBzutVln1VIvwewH6Q8mLGqsvH33r9JMIlab6krzKGBBQ4gnZ9oo05jlAzeeV6zF U6/lHP2lHnrolkNWLf0U/ss+OipChnH2ptuIZL1IH56UtIs5uRlb7HI4Pbpmfx2B3U bmd56H7qNkkBlArbReoJmXnkWkVAojR4i4/vPceHbxnx58/sTHgvERdVx+rM54wTsK /UFPIqF8zm6ysCpXga2EGhcHZ5Tw0UAheTt+iB9AgUVRGvftgjqPVY502sKV50J6m2 A/4yewRX/ZbfgUGLmoEbKwF0fo3fQgKYdicgaMzrDzJJtaq+pBjo2Ys2j4FB2eece+ GchdxQbbrQ0IQ== From: Arnd Bergmann To: Andrzej Hajda , Neil Armstrong , Robert Foss , Peter Ujfalusi , Tomi Valkeinen Cc: Arnd Bergmann , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS Date: Mon, 4 Dec 2023 08:27:36 +0100 Message-Id: <20231204072814.968816-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 03 Dec 2023 23:28:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784335472088574072 X-GMAIL-MSGID: 1784335472088574072 From: Arnd Bergmann A dependency on this feature was recently introduced: x86_64-linux-ld: vmlinux.o: in function `tc358768_bridge_pre_enable': tc358768.c:(.text+0xbe3dae): undefined reference to `drm_display_mode_to_videomode' Make sure this is always enabled. Fixes: e5fb21678136 ("drm/bridge: tc358768: Use struct videomode") Signed-off-by: Arnd Bergmann Reviewed-by: Neil Armstrong --- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig index ba82a1142adf..3e6a4e2044c0 100644 --- a/drivers/gpu/drm/bridge/Kconfig +++ b/drivers/gpu/drm/bridge/Kconfig @@ -313,6 +313,7 @@ config DRM_TOSHIBA_TC358768 select REGMAP_I2C select DRM_PANEL select DRM_MIPI_DSI + select VIDEOMODE_HELPERS help Toshiba TC358768AXBG/TC358778XBG DSI bridge chip driver.