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: 123483 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp591342qgn; Fri, 5 Jan 2018 01:44:01 -0800 (PST) X-Google-Smtp-Source: ACJfBovLusSBs6fniafDCI4KL+mXfIWa7kSGbSMurkZqgZkXplwoGnBwm51qaFj7+YB941ry4BfE X-Received: by 10.99.125.9 with SMTP id y9mr2087711pgc.417.1515145441716; Fri, 05 Jan 2018 01:44:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515145441; cv=none; d=google.com; s=arc-20160816; b=i/6hYUI36iZRlwQLvgE1Sd4TokytoBNixiVKokskJkvbvRvHOSszk+O+0zmdqX/c9X 9Ed8XoMsAzO4Bsg8YTqVlknLNR1aZxv4Gfnax1R7U378jlV/PbbdHJ5K8YFIwABi9gSM ifJfARZAzWvqmIx0TwcILTmgZKQDD/4TscyGi8ZcRl6E1s9T+5ZAZ3uSF2C/eGME2in1 UI3nIACjnBOOQIJT+zclwffhUXZLgM9+kopHqi/5eHCqFQDJFfp1T04S+IOflDamiET6 GWrjktQaspBXzDLTSWBGTdFBnB6trQDMt/d4PYlntGFuq7x50tDu3K2HjiioT42Mqnju GklA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=RpKvvcAsnZ2YTDyDd6OpVq4wN6zj2tHQc5M6m/zX2Nw=; b=KVMEiPuTxtF+vEQ0lw5OVvhxebcsFMuoAi7XMRuySKCqQ5ARwxhj0DuGD7VdDHSZZR wU1LaRqDAc0Iz5m0AlUYS1C4eWWGtCgP8M/kojkyxEWBGNywOw5rqHWnKpy88WGBpZ0N zoWuApch4KtyRKCuiZI9T6ZKnFjDoAEX/6UK6E78jJvre1ngcTTXEcPy0nQ71lrgp9jX H9p+Cti2qub5HZHs9+sFBgW1+GILPQleHoFUg1iaI7zu4IR+K6SM5xMuNrjN5/dwh8Av ua0/MO6PG3xKlQIeYMnHe821TtiLp9rzC4oZbleWCC7F78W5XGgY95RC9nDf/qabINVX 4qYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h69si3830223pfk.114.2018.01.05.01.44.01; Fri, 05 Jan 2018 01:44:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751436AbeAEJn6 (ORCPT + 24 others); Fri, 5 Jan 2018 04:43:58 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/staging/media/tegra-vde/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 Acked-by: Dmitry Osipenko 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