Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2683701pxp; Mon, 14 Mar 2022 02:37:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW445AW9Qc/jnq/8NAGUWl/4OTBpUJteUXwvuXm5/ON+yxmZwF3JBQjYsw3EPQO5WtfQ96 X-Received: by 2002:a17:902:9a46:b0:14e:ea0f:28cf with SMTP id x6-20020a1709029a4600b0014eea0f28cfmr22773732plv.43.1647250652871; Mon, 14 Mar 2022 02:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647250652; cv=none; d=google.com; s=arc-20160816; b=rh3K8yjs0xjzXYRWHK01QckWbQW8sh4TNd9/3/N+O0rJoQIjlwRcOFFA6QvLph2EbF X17hyrFYTLVH4lJQwwgpEH4IG2/Tzg183CRhHNjB734GVqgVEgbMeHMY8YjtnMD5zz3Y 5/QU/SElkDnb0HzXV6pCp6ZcDQoMHbR+VsBg5Ygt3n7HM1r9gfO/5YKCWYlTAc9j7zPG Zk2AYPbCY8LHvDA3oY9GW465VWD7zG5IPQsJ1PAXL2EQ8AkJ4aW6FcpJvuU6cv8Y+WzG CPDOYmEmEl49zQZAQVaWm8NZAg8Ae5De6/k0SQ5qApwmk3VHqot4q9Kizx/6DqRCWA1W BmSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=3kE7u0+m+4z4QSEhjx0oKTYWMRoCrmijgG2ZzrmDAbo=; b=uRNt/k+At7mVBuqqJeRo/GKJgX2Jjhrwm7quRWjMS2hG2+9i/hjN37nbpYbd6FZyiI OYHTUUIQcDd6julJ+69ZHS9I/SSa6Rmq5Fiprub1ne7wN/wikZBYgzQrwRc+4sgCLf4E tBnSpmhC01ZLo2bDPxmlcNDw2qeAa7mtSSaiPVxO3pXBXLoztTAKXnZ3tErGpgMB2nd4 B33gkFm4Z6NA+ydsu8bWW/qKoGYQmDHUa7FD73opogp6cI/N0gctSkxdFk1UvC6G4rSD TsKS6TesukDeYthtF99IMsAvbjl6dpbV+K5het4mN6SmO51RsCR0SQoCOPDjpLT0Yysh +nKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=hKbkseoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170902650900b0015004066257si14693735plk.495.2022.03.14.02.37.20; Mon, 14 Mar 2022 02:37:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=hKbkseoZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S236822AbiCNH7U (ORCPT + 99 others); Mon, 14 Mar 2022 03:59:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236922AbiCNH5f (ORCPT ); Mon, 14 Mar 2022 03:57:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D39F4133B; Mon, 14 Mar 2022 00:56:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CD9C5B80D49; Mon, 14 Mar 2022 07:56:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72F04C3411D; Mon, 14 Mar 2022 07:56:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647244561; bh=hLXlZDsANXrQDNOF5BHnehyTUuhg/sL1AnjnfHoobO0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hKbkseoZgTmkhbIJDaWcYf0/bwJI1XXMSGfndwA3bQXcYcpzWuC0nsMjDHaHK1iC6 i0SVyJ2/OporjtuQHSTVbhlKzICmv7Y5sCZCuoyA2MaK+iwqCT7kGX2SPU+l/XrWrw Kz1y7icf0LDivII0qPHbz9EzR7mBOZmAy/K8XP0YgHASQTilHtNPtRqxTMoF+SwXFa zSE/jZbUny9/UwfPX38j4hyv62istqngymjyOtSyq2vY6MEuAgl1MQbYmTerLEAbu1 jfP17lEEnXa9CbTHbFdmnRIjJeVxIKP7oQNMlR6Qz95MoWXqwmHaI9XbQ+KVe23k6r O9+zwZK0o7iFA== Received: from mchehab by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1nTfYd-001kVb-7u; Mon, 14 Mar 2022 08:55:59 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Andy Gross , Bjorn Andersson , Dmitry Osipenko , Hans Verkuil , Jernej Skrabec , Laurent Pinchart , Ming Qian , Stanimir Varbanov , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 22/64] media: platform: venus: move config to its own file Date: Mon, 14 Mar 2022 08:55:14 +0100 Message-Id: <54e5d62d97b01544d78619605eebe533993bb2fb.1647242579.git.mchehab@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to better organize the platform/Kconfig, place venus-specific config stuff on a separate Kconfig file. Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 00/64] at: https://lore.kernel.org/all/cover.1647242578.git.mchehab@kernel.org/ drivers/media/platform/Kconfig | 16 +--------------- drivers/media/platform/qcom/venus/Kconfig | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 drivers/media/platform/qcom/venus/Kconfig diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index b5a1cb0d62c2..5a8495338fd4 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -55,6 +55,7 @@ source "drivers/media/platform/mtk-vpu/Kconfig" source "drivers/media/platform/omap3isp/Kconfig" source "drivers/media/platform/omap/Kconfig" source "drivers/media/platform/qcom/camss/Kconfig" +source "drivers/media/platform/qcom/venus/Kconfig" source "drivers/media/platform/aspeed/Kconfig" @@ -319,21 +320,6 @@ config VIDEO_TI_VPE_DEBUG help Enable debug messages on VPE driver. -config VIDEO_QCOM_VENUS - tristate "Qualcomm Venus V4L2 encoder/decoder driver" - depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && VIDEO_V4L2 && QCOM_SMEM - depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST - select QCOM_MDT_LOADER if ARCH_QCOM - select QCOM_SCM - select VIDEOBUF2_DMA_CONTIG - select V4L2_MEM2MEM_DEV - help - This is a V4L2 driver for Qualcomm Venus video accelerator - hardware. It accelerates encoding and decoding operations - on various Qualcomm SoCs. - To compile this driver as a module choose m here. - config VIDEO_SUN8I_DEINTERLACE tristate "Allwinner Deinterlace driver" depends on V4L_MEM2MEM_DRIVERS diff --git a/drivers/media/platform/qcom/venus/Kconfig b/drivers/media/platform/qcom/venus/Kconfig new file mode 100644 index 000000000000..de0fe3f7be5f --- /dev/null +++ b/drivers/media/platform/qcom/venus/Kconfig @@ -0,0 +1,14 @@ +config VIDEO_QCOM_VENUS + tristate "Qualcomm Venus V4L2 encoder/decoder driver" + depends on V4L_MEM2MEM_DRIVERS + depends on VIDEO_DEV && VIDEO_V4L2 && QCOM_SMEM + depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST + select QCOM_MDT_LOADER if ARCH_QCOM + select QCOM_SCM + select VIDEOBUF2_DMA_CONTIG + select V4L2_MEM2MEM_DEV + help + This is a V4L2 driver for Qualcomm Venus video accelerator + hardware. It accelerates encoding and decoding operations + on various Qualcomm SoCs. + To compile this driver as a module choose m here. -- 2.35.1