From patchwork Thu Jun 16 12:27:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9180707 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 3F56260760 for ; Thu, 16 Jun 2016 12:26:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27A7627BE5 for ; Thu, 16 Jun 2016 12:26:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B34428359; Thu, 16 Jun 2016 12:26:42 +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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6B5927BE5 for ; Thu, 16 Jun 2016 12:26:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 25DAB6EA2D; Thu, 16 Jun 2016 12:26:38 +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 [212.227.126.130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 060AE6E2A2 for ; Thu, 16 Jun 2016 12:26:35 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue002) with ESMTPA (Nemesis) id 0MXi7y-1asA041oqU-00WZWk; Thu, 16 Jun 2016 14:26:18 +0200 From: Arnd Bergmann To: Mark Yao , David Airlie , Heiko Stuebner Subject: [PATCH] drm: rockchip: select DRM_GEM_CMA_HELPER Date: Thu, 16 Jun 2016 14:27:57 +0200 Message-Id: <20160616122800.1174015-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:I1wJPuf4E/n2oVywFP15zNWR4OGs/kyl8gIg6wljpoKB5RQHlQA D6ZxHWq/TB4TC+FOVN8HvCyf0+8jZZErwx3+pTgnSbsIY40BjqI+dkNQuhwc2eFaagpJ4Z/ JMCr3r4NYGyYlFSGT/0OHG22ha8Bpg1Nlt4JmuDKYf29oixXju/xT6QD/ANQR6CLLF15Yco ii0UbUAOgLQT07pbOhH6Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:66Ew2oRpbUc=:pknl5vPlCyaUKMS4kczvJ/ 15MTNH8U8Gg3KIzS2VVXMnTk8dbwxbWiKdtYHj5oS4p17MyjbeijqF7ZTL/OeZNTTH0rFWwOW AYY5rqkOZgY8I0zJXtJXBKWWiQTxKoIqxT5/2Wnv+MqOKSsBB5RGZVuT1p6MoRiQCjB6NCSx/ d001BZelnfw9c2miDQBVd9OVEaniibuVKxIquteq3Qo2BVhdAMigXyTZYb2ib2gk3Jc5wrCnN MnZ6r+RZR8Iu1dwxLhayeV+8SlYKAs3eFXPYUDACjMjPTVNh3TmfN4gTSr530xYUktIn2mL/3 v/2qsbC44vKWMI/N2BYJ8Wi8G+719fawieUWJnc8LGs4xkM2bxk+EIHA0dfitckpVcCk+FWCY PwWcdZJGlzD8Uuep0r3q9Grv4iN7O7V4+N0LV9310MoZISzM3I01xWcyRPHTRG/MGdREf+KHd lK0bj3+b2zEuDwqGfg29fe69shaOWDSV+dexjhlBxvpoVZ7UmegzLu1ZbIdQG+G/i00nPkI3d jQJzVcY1Cppoeo6U67RfOPvA/tb7UIoKShgZY1ULW/IusiUMMyNILm59qh88kPyLpVeynLCd0 U4yh3nQ8iAWzn5ETMlLXjhbglGItj9jYLYySV3ph5c6R2WLL6s4SC64smYYXJoDVe9dONUexd 4cwdUcKfr6vAmtDF5SLsBp1F3UfmtqmA4twQKt0kwiLrEmcJcV5oCTKmSC/DE7vZ0LhQ= Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, Chris Zhong , 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-Virus-Scanned: ClamAV using ClamSMTP The rockchip drm driver started using drm_gem_cma_vm_ops, but that might not be part of the kernel, causing the link to fail: drivers/gpu/built-in.o:(.data+0xb234): undefined reference to `drm_gem_cma_vm_ops' This adds a Kconfig 'select' statement to enable it like the other user do. Signed-off-by: Arnd Bergmann Fixes: 80f67cd80add ("drm/rockchip: Use cma gem vm ops") --- drivers/gpu/drm/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig index d30bdc38a760..e48611e83c03 100644 --- a/drivers/gpu/drm/rockchip/Kconfig +++ b/drivers/gpu/drm/rockchip/Kconfig @@ -2,6 +2,7 @@ config DRM_ROCKCHIP tristate "DRM Support for Rockchip" depends on DRM && ROCKCHIP_IOMMU depends on RESET_CONTROLLER + select DRM_GEM_CMA_HELPER select DRM_KMS_HELPER select DRM_KMS_FB_HELPER select DRM_PANEL