From patchwork Fri Jan 5 09:43:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10146143 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 44FB5601A1 for ; Fri, 5 Jan 2018 09:44:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A5A2287C3 for ; Fri, 5 Jan 2018 09:44:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DDDA288AD; Fri, 5 Jan 2018 09:44:15 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A68D6287C3 for ; Fri, 5 Jan 2018 09:44:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751344AbeAEJn5 (ORCPT ); Fri, 5 Jan 2018 04:43:57 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:59456 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751262AbeAEJn4 (ORCPT ); Fri, 5 Jan 2018 04:43:56 -0500 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0LbDic-1fCo6k3dPO-00kzvA; Fri, 05 Jan 2018 10:43:45 +0100 From: Arnd Bergmann To: Dmitry Osipenko , Mauro Carvalho Chehab Cc: Arnd Bergmann , Greg Kroah-Hartman , Thierry Reding , Jonathan Hunter , Hans Verkuil , linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: staging: tegra-vde: select DMA_SHARED_BUFFER Date: Fri, 5 Jan 2018 10:43:27 +0100 Message-Id: <20180105094343.2813148-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:xLSmBqTftJyd0YOAqzamiDm7ZTeJy0DLQ95OT/EEHc/epX1rAEl 6lY+O/WIaAKS1mg9smuC8C7RfiieiJF0Dt4XSqU0kA89/kFBEkF8moA1YhrhfCHRHwmcWgN eYm8XKbVRg2g7uOK5u565kmcxvC+jRCGvLlflFZKH0H74YwIYyDzDaC81XMdNXf0FZYKJTk /VP9bABCmsRiqLxt+KNLw== X-UI-Out-Filterresults: notjunk:1; V01:K0:AQ3pFUNu2RU=:DzoPtrvFHYnvvZLNkQkcrX N1L41SDQ+qEwqOrhVsfHf0iumclf1BDOxqkr8ddT2RzZDqiq7FA0QTvnQ78G8YLxQLRj/n3wG 9ibUAKSHnhNq/5lMtwdVgdXFJdMR9xJqOjFSAlh9Ed49Sf9reiNRLKwAzz/TMfmTE6MdWQ01s 2lolnVLUGy2FOHFpnpiaxcuYEJA3YEpMYd2ZR884B55LH34dr0Ti3sgEUMb6eW9J2x5ot4Chx SxACq0BxvXeZJ+ngpejnTiGCCizN3TTHzdEt55Eww4/zOH3etalR3LE5XheowOdSHgKj/dTEA 5YjlBZ0aorH2YFIENFj7d0XNhLvl3cZLovNsGB1UiXpk+eN6wdbGzG2jDY2A9L89B5qMDzlFo at3hiwChntfFnYGasZqBcckGB6cPJiG+KWhA21elA66WdSpiLAxwScuo820NQ63Bo+9SpXbCm 5jSvV8kfvRv5m/pQIhUSq5IQW2V2mZXRBdYLp+HvI2nmkri8NlP017fLqBstQqdc1psBMLil2 Z5MHp3uJZM+jUu+Wt3TFwcfoBvcWv05rdPg8nfRyerhXqMb+3/0a8ZURn7Kcs1vJKJrVZyacx Ie8tN3HK89bdBNuOZwKNkSVvCR7pbMVBLQ4AbQsxNanC+tkmuAbk+n40/DX93TI5reaJGKTgw DYteo/7HIyZtBxm50tsSfwGXmjNGLEquAHv+479uMvzA++Ut/6qZVb/X3mc1UmrxhYh2tNKmE Gxo4eV5RmP/10QYVFpmaY9/FX/2+THW7qq7vwA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Without CONFIG_DMA_SHARED_BUFFER we run into a link error for the dma_buf_* APIs: ERROR: "dma_buf_map_attachment" [drivers/staging/media/tegra-vde/tegra-vde.ko] undefined! ERROR: "dma_buf_attach" [drivers/staging/media/tegra-vde/tegra-vde.ko] undefined! ERROR: "dma_buf_get" [drivers/staging/media/tegra-vde/tegra-vde.ko] undefined! ERROR: "dma_buf_put" [drivers/staging/media/tegra-vde/tegra-vde.ko] undefined! ERROR: "dma_buf_detach" [drivers/staging/media/tegra-vde/tegra-vde.ko] undefined! ERROR: "dma_buf_unmap_attachment" [drivers/staging/media/tegra-vde/tegra-vde.ko] undefined! Signed-off-by: Arnd Bergmann Acked-by: Dmitry Osipenko --- drivers/staging/media/tegra-vde/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/tegra-vde/Kconfig b/drivers/staging/media/tegra-vde/Kconfig index ec3ddddebdaa..5c4914674468 100644 --- a/drivers/staging/media/tegra-vde/Kconfig +++ b/drivers/staging/media/tegra-vde/Kconfig @@ -1,6 +1,7 @@ config TEGRA_VDE tristate "NVIDIA Tegra Video Decoder Engine driver" depends on ARCH_TEGRA || COMPILE_TEST + select DMA_SHARED_BUFFER select SRAM help Say Y here to enable support for the NVIDIA Tegra video decoder