From patchwork Wed May 11 20:11:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9074511 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 75DE4BF29F for ; Wed, 11 May 2016 20:12:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7CC40201BB for ; Wed, 11 May 2016 20:12:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id AA1B32017D for ; Wed, 11 May 2016 20:12:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C10A89153; Wed, 11 May 2016 20:12:01 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3FCE489153 for ; Wed, 11 May 2016 20:12:00 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0Mf0KP-1bFlzU2DsX-00OYNS; Wed, 11 May 2016 22:11:45 +0200 From: Arnd Bergmann To: airlied@redhat.com, David Airlie Subject: [PATCH] drm: mediatek: remove IOMMU_DMA select Date: Wed, 11 May 2016 22:11:07 +0200 Message-Id: <1462997501-982363-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1462982509-342936-1-git-send-email-arnd@arndb.de> References: <1462982509-342936-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:LauegwECBwASGp5oqnbrOujPvnLjl9pDQXdELqJvjQutdh7gyDw +Sk3EmJ16bVuCrSI/YSpVRhliXLWDVeA+f/4zj/8sqG2pbACfiHyQcmvoH+wh5i58kqVbdu 25Q92xJSd9p2ahqJd2iLE41IAlaAf7EYYGPBYaD+6j6znJvcv6Ovrig9XIlIR1EH8yOdG8X zAHcB6Oas1NrhjVgvCwDA== X-UI-Out-Filterresults: notjunk:1; V01:K0:YInwAqLNnGs=:UQx7Nt+rSNRfzgkthk/te2 UHe/j8BdNXgOvk2o+YBSX/y7SnxS/EUGhFC9lK59aROnrQ+ylvcLUIpKPZO2HbchHDip+SeJb gXdH4Yui87KrR/rkqEZEzTWHJa/0WPqLfyD2HrQcLqVBug5I7zrtknHyIRUr7LQ3F3y6ILTIr uoyfTexeVcNniRTNmJkjNe6LQisI5HH4ERZZGNu+3t/UkKqjj77zozZpKJMDpVI1OsyzWOfxL u2ibPTnKD+7YI2sLvzBJjZKw0ZA2h/EAF9OYcT1XzY97QdTw89iuRaH2EOK8MzJwEkxZMopxv fjgdubEgzGao+m/dOGLK8Q0ccJfZdl/nWDrX412OP6VT2/XeTd5fm6A4/aQm3YfPLCUscPEg1 X7aE8r9Is0byF82+FGWC11pn3FOW3X06JuAetS6KOaLM651Dw7D1Ov7K3S7fL/kFoNhbEyZRV /Bcw7EzJiHDCzdFQPQqmBrwGJxVQEo3LlyErf9ZDk78afFIBh3Ot2CAz72bWrFtQ+ze8iVsP6 Zi2IE2yA2Gve/rATrYqzl4XQYVLKQpA2CpcRXGcCD6y/I56gtcwUvycw6QG+7ImhuJrMTnJTd eXq7mKea4nQ1vQqDTOOmm1At20Gf8H+Ep/576kKIGxtRhISSCWS0aKDYIb3n1gvD1W8FJv/dA qTn/Htk6zQwB88IyZxwIDUevkcNM56IWqwxkdVNnvBTLr8cD5/VXgpFp1B61c/ogTxRM= Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Mao Huang , YT Shen , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.6 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 We get a harmless build warning when trying to use the mediatek DRM driver with IOMMU support disabled: warning: (DRM_MEDIATEK) selects IOMMU_DMA which has unmet direct dependencies (IOMMU_SUPPORT) However, the IOMMU_DMA symbol is not meant to be used by drivers at all, and this driver doesn't seem to have a strict dependency on it other than using the mediatek IOMMU driver that does. Since we also want to be able to do compile tests with the driver on other platforms, the IOMMU_DMA symbol should not be selected here. Signed-off-by: Arnd Bergmann Acked-by: Philipp Zabel --- If someone has a better explanation about why the 'select' is here, let me know, it certainly seems out of place. drivers/gpu/drm/mediatek/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/Kconfig b/drivers/gpu/drm/mediatek/Kconfig index 0c06a69d7f04..545973f6b743 100644 --- a/drivers/gpu/drm/mediatek/Kconfig +++ b/drivers/gpu/drm/mediatek/Kconfig @@ -7,7 +7,6 @@ config DRM_MEDIATEK select DRM_KMS_HELPER select DRM_MIPI_DSI select DRM_PANEL - select IOMMU_DMA select MEMORY select MTK_SMI help