From patchwork Thu Dec 3 23:14:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 336965 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp700966ilb; Thu, 3 Dec 2020 15:17:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgiZZ+KO/4hVgep3wTx0MmtD0gXoNbKKXqJBk/UV52rSuF4NKPK+7nNUF0QMXFXSHSYkV/ X-Received: by 2002:a50:fd18:: with SMTP id i24mr5166068eds.146.1607037447042; Thu, 03 Dec 2020 15:17:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607037447; cv=none; d=google.com; s=arc-20160816; b=TDp94D16FWVwv4yLRnriaDUAMx5R/HThuu1JHtlnzn37jZqHnBDDHZsQKcofpKL+ke F01S9oMzimDQlSp54xrLAVisr3m+q706L0h9bhqbvSWrVe0qYuQnEQy3YiKltmClJ/ZW +fKYUmIQ2S+nTrQuqbLIJRrdQqUdwCuVjUdpmKRB0BN4+3XZPP5+drvfeCrPmps0fdIl Uoo+mY0uYOB01oPoR6aFEKGb/E8bBMfrRL4UIJIS8EHS5RSTY/i8OLVqtzdHWOVboca4 wXV1HlgeZhQS+1yXAeeoUyVzZiI4E9jvWoA0hJgmtk3rT1FljiE4Tsz5lM8j8nQL0iv7 8NZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=DtchtBa7lVMrEQ/F9yKxC/0wTKfSaQBVoQdyLDuvjsQ=; b=GX2E791zNZ5rTSAKG2UAK/gg/UroQHgYgZKwyqUCyIHhBNTGB++2E/pFUaLVAbDRA3 bYs4GYb9ooX9W8+O0/GQMi6e1kj+EPAlTbQy0MfPyC8JzTlSuSsQyC3pKej9JaIfH/fL PTiJxvmx3ftZ5kazQRC4vk8PxmPof/LoD7nw05xWtwC7TPLO6Y8lBSImd8fAZE4GNiZl ecdGX6PUdnemYwxPrDwbdZUDQbLkq8lUkQpOFvMK7BjRX4TxAnKbUOfvSsEvDUMpxKM0 xGOohsyXO3wDK2bA8K19/pkQwAObIrlePYH6xGORigkaVQUg9r2cKb8RjlRdW3AG9P/j j0hw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p2si277046ejx.577.2020.12.03.15.17.25; Thu, 03 Dec 2020 15:17:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729674AbgLCXPv (ORCPT + 4 others); Thu, 3 Dec 2020 18:15:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:36532 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgLCXPv (ORCPT ); Thu, 3 Dec 2020 18:15:51 -0500 From: Arnd Bergmann Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: Mauro Carvalho Chehab , Alexandre Courbot , Yunfei Dong , Hans Verkuil , Tiffany Lin Cc: Arnd Bergmann , Laurent Pinchart , Jernej Skrabec , Krzysztof Kozlowski , Helen Koike , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: mtk-vcodec: add remoteproc dependency Date: Fri, 4 Dec 2020 00:14:58 +0100 Message-Id: <20201203231505.1483971-1-arnd@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Arnd Bergmann The SCP firmware can only be built if CONFIG_REMOTEPROC is enabled: WARNING: unmet direct dependencies detected for MTK_SCP Depends on [n]: REMOTEPROC [=n] && (ARCH_MEDIATEK [=y] || COMPILE_TEST [=y]) Selected by [y]: - VIDEO_MEDIATEK_VCODEC [=y] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && V4L_MEM2MEM_DRIVERS [=y] && (MTK_IOMMU [=y] || COMPILE_TEST [=y]) && VIDEO_DEV [=y] && VIDEO_V4L2 [=y] && (ARCH_MEDIATEK [=y] || COMPILE_TEST [=y]) Add this as a dependency for mtk-vcodec. Fixes: c7244811b1c9 ("media: mtk-vcodec: add SCP firmware ops") Signed-off-by: Arnd Bergmann --- drivers/media/platform/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index ffffef2267f4..295f74c3c04b 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -276,6 +276,7 @@ config VIDEO_MEDIATEK_VCODEC # our dependencies, to avoid missing symbols during link. depends on VIDEO_MEDIATEK_VPU || !VIDEO_MEDIATEK_VPU depends on MTK_SCP || !MTK_SCP + depends on REMOTEPROC select VIDEOBUF2_DMA_CONTIG select V4L2_MEM2MEM_DEV select VIDEO_MEDIATEK_VCODEC_VPU if VIDEO_MEDIATEK_VPU