From patchwork Wed Aug 10 21:54:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9274277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CC895600CB for ; Wed, 10 Aug 2016 21:57:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC1FF28338 for ; Wed, 10 Aug 2016 21:57:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0FB02840F; Wed, 10 Aug 2016 21:57:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 46B9628338 for ; Wed, 10 Aug 2016 21:57:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXbVc-0008F2-Mo; Wed, 10 Aug 2016 21:57:56 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bXbVT-0007vW-LT; Wed, 10 Aug 2016 21:57:49 +0000 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue005) with ESMTPA (Nemesis) id 0MYrDT-1bk1hX0tZT-00Ve7W; Wed, 10 Aug 2016 23:57:16 +0200 From: Arnd Bergmann To: David Airlie Subject: [PATCH 5/9] drm/mediatek: add ARM_SMCCC dependency Date: Wed, 10 Aug 2016 23:54:11 +0200 Message-Id: <20160810215424.1926658-6-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160810215424.1926658-1-arnd@arndb.de> References: <20160810215424.1926658-1-arnd@arndb.de> X-Provags-ID: V03:K0:SJxuRWRprBdISdUU3yqY3swUrrBPl8fegksHHv1NhylsJLQlC2H FxWyiIV86FCWWIIYwCuIuksWK1VahEcQWTBbySzfWH2hzxtVEFilhrdir9KeP7FsQFmofbv SAKBFFqP5rVHyZpel2QGvM/VxLZsRNDkqvnTPwcGAi+YuHg0tO+O600tXDIbCfmAxixBNxC bKHMbw96kR37oT6DgOISg== X-UI-Out-Filterresults: notjunk:1; V01:K0:hc88IJpJ6RM=:m9M/cHJd+DRninIYbM1ftp Llwyd047LqCpqeZyzVqtQn9zSg3DGMYArulMk4NKJ/yBIv7oLRWEcP/20MrRvFc787thWqGvv iiIobbDoPM5mDV3To+C+XMj7WXh2SfJAkV16SjpJetl0Kl843wpLASale8cRLfWEZMyZTE3fp c8FzgV8xYpqvnOXO3H+bLULIz/Qg1O1AFoQr9EKE6Thg2o5fADkEUAL0p+MRPG3M+aU1EYJl7 nn+S9pGS/74cZIFEdPCro+FtdljKOeaTnAMFRz8iWQ8wxRBicOd6PmBhuYLE0NmLI/dMqnZqu LzcznrAiHF1CFVDsnDWnYRolC1Y9Hg0MRqvUp3DH5vScbgqE8YuB6kXY9V8DmH6AvjD/Tk8HF lBgKkwXuwbl4TQJVKkJRNw0dg2ObhWKtEzxTaeB5NJva86hMovApdb8sGi8bJRB/XNas1/hNt CvOquQo1pf7nuuJgWDJcfvzFYzBYVRG/67j0wQTVDOpApWsPD0mqlOgyl0XqjBMUvHDl3LLmd mbE98UYsfrObwrSH8OGu3GI8vD7vJNDx/lBq4+alAdrLl8STuipNFG1OcYwc76QA18bqGZFfC JfrXy4fGTDSsJSp5VzAu9XsIavRiMehzm3lRZm3nxlZhJprfc0fHnanCqouDH/PfgMkzIi8QZ xRggY2tXstxkn3WsU0JZNll8P5OsuuUOlrmda4VMQLb8Y6sSTmemPK22d6qA/6qCNNiY= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160810_145748_287215_3EDFDE84 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Philipp Zabel , Matthias Brugger , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ARM SMCCC is only set for ARMv7 and ARMv8 CPUs, but we currently allow the driver to be build for older architecture levels as well, which results in a link failure: drivers/gpu/built-in.o: In function `mtk_hdmi_hw_make_reg_writable': :(.text+0x1e737c): undefined reference to `arm_smccc_smc' This adds a Kconfig dependency. The patch applies on my two previous fixes that are not yet applied, so please apply all three to get randconfig builds to work correctly. Signed-off-by: Arnd Bergmann Fixes: 8f83f26891e1 ("drm/mediatek: Add HDMI support") Reviewed-by: Matthias Brugger --- Sent first on June 27 when it first broke in linux-next. Two other dependencies were already missing, so I'm sending all three patches again now. --- drivers/gpu/drm/mediatek/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig index 96ebf8bb6024..294de4549922 100644 --- a/drivers/gpu/drm/mediatek/Kconfig +++ b/drivers/gpu/drm/mediatek/Kconfig @@ -3,6 +3,7 @@ config DRM_MEDIATEK depends on DRM depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST) depends on COMMON_CLK + depends on HAVE_ARM_SMCCC depends on OF select DRM_GEM_CMA_HELPER select DRM_KMS_HELPER