From patchwork Thu May 2 15:16:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2512441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 56151DF215 for ; Thu, 2 May 2013 15:21:54 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvH5-0000mu-42; Thu, 02 May 2013 15:18:24 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvGH-0002Rx-QB; Thu, 02 May 2013 15:17:33 +0000 Received: from moutng.kundenserver.de ([212.227.17.9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UXvFP-0002Hx-Ab for linux-arm-kernel@lists.infradead.org; Thu, 02 May 2013 15:16:43 +0000 Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0M8X0Z-1UKOUg1N23-00wF9c; Thu, 02 May 2013 17:16:13 +0200 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Subject: [PATCH, RFC 06/22] gpu/drm: host1x: add dependency on Tegra Date: Thu, 2 May 2013 17:16:10 +0200 Message-Id: <1367507786-505303-7-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1367507786-505303-1-git-send-email-arnd@arndb.de> References: <1367507786-505303-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:hIzQirefdEKlmH0BhMXkfr9lhr+KLjVliI+TwUs/wLH eqBYWi+M4kBCNsZVay2hnabyG2yEjhr4ec2kuqyYJnYtu4uhUu cq6I3LT9zfhYEQh5pPqjqJ9iOqqaRVHgjYsepewT/eH6VRnAi0 gkIe/OiguapDLjRBBD364r0Me/zeCqLChjjLCaIikbrMm1+Mgh Cbd17udqwdz5m66mrS8viQXKs6zOkfOYWudGr/RK8i1VBs4mtu ijcTn3MhV3m4H/1vl+SNJPSvhlX8+bs2HFBMORw+TGKKU7B+4L Su4qzemJxs4OwZO/UkKokgnk53BYTL5PF4dYLP5t0z5zyNmrNI WSD8wwCZK+qdTEzI5BlkfB5qUlNNvIujKEs0wjbPL X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130502_111639_788507_7777C7F3 X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.17.9 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Thierry Reding , Terje Bergstrom , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Arto Merilainen X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org While we try to make drivers platform independent, this driver currently calls into an exported interface that is only provided on its own platform, so we have to add the dependency. drivers/built-in.o: In function `tegra_crtc_prepare': drivers/gpu/host1x/drm/dc.c:650: undefined reference to `tegra_periph_reset_deassert' drivers/built-in.o: In function `tegra_output_hdmi_disable': drivers/gpu/host1x/drm/hdmi.c:840: undefined reference to `tegra_periph_reset_assert' drivers/built-in.o: In function `tegra_output_hdmi_enable': drivers/gpu/host1x/drm/hdmi.c:651: undefined reference to `tegra_periph_reset_assert' drivers/gpu/host1x/drm/hdmi.c:653: undefined reference to `tegra_periph_reset_deassert' Cc: Thierry Reding Cc: Arto Merilainen Cc: Terje Bergstrom Signed-off-by: Arnd Bergmann --- drivers/gpu/host1x/drm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/host1x/drm/Kconfig b/drivers/gpu/host1x/drm/Kconfig index 69853a4..5a6a5cd 100644 --- a/drivers/gpu/host1x/drm/Kconfig +++ b/drivers/gpu/host1x/drm/Kconfig @@ -1,6 +1,7 @@ config DRM_TEGRA bool "NVIDIA Tegra DRM" depends on DRM + depends on ARCH_TEGRA select DRM_KMS_HELPER select FB_SYS_FILLRECT select FB_SYS_COPYAREA