From patchwork Mon Jun 27 09:22:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9200125 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 5FBAB60757 for ; Mon, 27 Jun 2016 09:22:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4ECB9283E0 for ; Mon, 27 Jun 2016 09:22:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4301528405; Mon, 27 Jun 2016 09:22:37 +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 C7E5B283E0 for ; Mon, 27 Jun 2016 09:22:36 +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 1bHSkV-0006ry-Vp; Mon, 27 Jun 2016 09:22:35 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bHSkT-0006nx-NJ; Mon, 27 Jun 2016 09:22:34 +0000 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0LpwTX-1bo2TE2MgZ-00fmag; Mon, 27 Jun 2016 11:21:47 +0200 From: Arnd Bergmann To: David Airlie , Philipp Zabel Subject: [PATCH] drm/mediatek: add ARM_SMCCC dependency Date: Mon, 27 Jun 2016 11:22:37 +0200 Message-Id: <20160627092416.1463857-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:g0e2me/QJCCFKIJROSVIkW5vFaBGnFZFYSODbr42kG9fPOvfZv0 qMLR0bGTTrzSYZqoWNO3A+yJmf/+raf1mGAOL/sKiWWLnp71LViGjjiOTlLSgjLLRwCQoZM 4HnTrsjtELOgH/Vl/chxIOHCqrm9gUY7XhAKP52H+9rZRuCmmpN/3FTkLnj3m9iqFIkN+uL a/JPqsXnJjA7UzoO3Q5ig== X-UI-Out-Filterresults: notjunk:1; V01:K0:Uf8IRBk46WY=:DP0+HM/npuOXCkD3W368t2 TZmJFj50lrliLH4IL046aICbNem5mWIFx4qOEgfYok8obknEsdpXmgkGy/fZXCfhXkn89ydLI vSMORjcO0YWIX5RA2fgD9yIs4GJSdKF86FqyCENgpiTbaKEY1yzEipYB7E/To8j4nxi1hLJiR opfYFChIasDhvIEEFNtbCXX03AjOs6oQMbINryejBpZQhQdGohDEHWWFrq9MLIKbuaS25RrcK AtnqFvA6t4oSbb6vZVaQPdfOsr5eRgvitLpOStWyqmqHUKfy0X6k2rTPhUCtcLKJ6Az1zM1Vl NSjoY5YiI8ViMYuTBqQ9HAOZl1O6tnh+D2rd1eed71ET5B8NRSG9aWE4oSxkK1yOzSdHkQtYx DBqcGjCZbh3F87fGELeiCTYsB5YxoKhR6aYwyKHmrU1sLtIjHl5u4XyVQ0Y7QBye0RYRHVbTV ea5LWRbxlcq1AnZRSyfGq1nuBav7k4LH/Taeijb+7iY6bEngBGIK+JGbjNwMH1c2JNRUKjGOY Ha4Tb1K4rQg6S+4R7FezFX0e7BmyFYaUCyjR5GsWSi+fPAWa8Go19pWjk3crlZ/TH9uyKkiuA iYeASKlaNBC+zMUVqa+o4drwq86CxwjOr8TwH/UuH5Oi/+UmOhaAwx3vO44E4PFjKt8kr+aWU pSE/5Thd4RPd7rNb6tvP9y2R3zED2hTytfZeqwhXg3/eV2GFLUI57KbtUr9aLNN5/SSM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160627_022234_113938_1BC4B5FD X-CRM114-Status: GOOD ( 10.91 ) 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 , Jie Qiu , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, CK Hu , linux-mediatek@lists.infradead.org, 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 --- 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