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: 102177 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp233290qgy; Thu, 16 Jun 2016 05:26:41 -0700 (PDT) X-Received: by 10.98.32.148 with SMTP id m20mr4778790pfj.77.1466080001444; Thu, 16 Jun 2016 05:26:41 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTP id o128si5816685pfg.246.2016.06.16.05.26.40; Thu, 16 Jun 2016 05:26:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org 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" 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