From patchwork Thu Jun 12 14:05:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4342281 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1B67BBEEAA for ; Thu, 12 Jun 2014 14:06:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 224222020F for ; Thu, 12 Jun 2014 14:06:16 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id CA0B320155 for ; Thu, 12 Jun 2014 14:06:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 894326E4CC; Thu, 12 Jun 2014 07:06:13 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F8646E4CB for ; Thu, 12 Jun 2014 07:06:10 -0700 (PDT) Received: from wuerfel.localnet (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue105) with ESMTP (Nemesis) id 0MgNde-1X9zch19kM-00Nl4S; Thu, 12 Jun 2014 16:05:33 +0200 From: Arnd Bergmann To: Dave Airlie Subject: [PATCH] drm: imx: use GENERIC_IRQ_CHIP Date: Thu, 12 Jun 2014 16:05:32 +0200 Message-ID: <7367559.qEUUbIia3C@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V02:K0:AYNkDGhZfac6OGdsRN088AnB+Zlsruqf06JIyTidebd nxtuQm2BKiX2Sqxur2ZRFvYu9wA589wty/Y+x9gIvzQ/TPiVKK zQOZlM2wr2cYXdZKReFg+ujbuSPPcI5Qh3MtqrE1DI0p7wWMFY 8d16gT0Zb3cTMgzeUe3jLo2JlSgl+nGBDLFo3x2T5E91V+IOaK ZgoQa2SREWAjcs4b9YgtiNz1dIZoSXsDlgIdOnHPlQBaQ/d4LD YDeACrWpve43pc58Yj9lyIM0CT69kd4Y+4CJVDV/N6mgtmw5bU ijkQFmFF6AkuKMINdZ4KMHq0U/YCrQ2J/9axwN6oeleSoEOn3x gkQmw5A9k4OlPtlR3Ppo= Cc: linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This driver defines its own irqchip using the generic chip infrastructure, and hence needs the GENERIC_IRQ_CHIP Kconfig symbol enabled, or get this build error: drivers/built-in.o: In function `ipu_probe': :(.text+0x49ea4c): undefined reference to `irq_generic_chip_ops' :(.text+0x49ea5c): undefined reference to `irq_alloc_domain_generic_chips' :(.text+0x49ea60): undefined reference to `irq_get_domain_generic_chip' :(.text+0x49ea64): undefined reference to `irq_gc_ack_set_bit' :(.text+0x49ea6c): undefined reference to `irq_gc_mask_clr_bit' :(.text+0x49ea70): undefined reference to `irq_gc_mask_set_bit' Cc: Dave Airlie Cc: dri-devel@lists.freedesktop.org Cc: Philipp Zabel Signed-off-by: Arnd Bergmann diff --git a/drivers/gpu/ipu-v3/Kconfig b/drivers/gpu/ipu-v3/Kconfig index 2f228a2..01864a5 100644 --- a/drivers/gpu/ipu-v3/Kconfig +++ b/drivers/gpu/ipu-v3/Kconfig @@ -2,6 +2,7 @@ config IMX_IPUV3_CORE tristate "IPUv3 core support" depends on SOC_IMX5 || SOC_IMX6Q || SOC_IMX6SL || ARCH_MULTIPLATFORM depends on RESET_CONTROLLER + select GENERIC_IRQ_CHIP help Choose this if you have a i.MX5/6 system and want to use the Image Processing Unit. This option only enables IPU base support.