From patchwork Wed Jul 13 11:03:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 590646 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 145ECCCA482 for ; Wed, 13 Jul 2022 11:04:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235672AbiGMLEf (ORCPT ); Wed, 13 Jul 2022 07:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235765AbiGMLEc (ORCPT ); Wed, 13 Jul 2022 07:04:32 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6455411A11 for ; Wed, 13 Jul 2022 04:04:29 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id y8so13619795eda.3 for ; Wed, 13 Jul 2022 04:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qNYP8B1ME9KY0a8jTfTcqgXcyXU8mAW2KwCYvewBtYU=; b=T7znwU0n1MdPtajzmK7Z6fMAwbtfuwSIUu8mM8O7VeRVr6QGzfWysCMZQH344Csi9c oQUSSw9tGF1UgDTtRcN25QkNoCMaCjWOdTCpNLch2HOtVv/s7tTtWr+jl1IFdPF+4ejd HLSUotBKqnR24kDe/koZBTZfQ2emZ/kEiJGWPsu9IvsS1Iv/4Oo+kb8vJzCEMPz/3lVr VJ1NePYiwRaxCsoT1JiFExVvi/AVaCsVC3j2G8iNQWL15KYNBkKzAgol826nOzx/igsX RRgOE+MTu16LEhyaaVlKs59KVkekV6gQ1mqdPcoUYrtPYEhlpXtP9lc7Iy2qZVDWb2NV yN5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qNYP8B1ME9KY0a8jTfTcqgXcyXU8mAW2KwCYvewBtYU=; b=k+sP/Smjxkd6pvx/2YEZbOrwVULyju9iKyWM4miR7lnnCsv8h4MYoV50f4LAdX/yX6 906r2w28J+f4yksKhHgOdgt5JzE7mpA3cfqA4OXaRRWUXKOxwv8zm+R+CcD5exI5LzSi DtE2bZtNOmbvp8LyJFnnjTvY5a3/ff6XmcR0SAJdhoYfljp7jsKket9fenijrM3I1kgY NuQw9UNmDPmbA++PqqTrjTwNg1P5hiNTF0iuVS7f6rBDmcYasUIIq34NWKcK8GI1UQGE MS5oDtpq6+r0d16hxq8T4K8DFGia/BReSxHOFagRqgUARcvonDBdakTKGlzrSz2/U6E9 1jiQ== X-Gm-Message-State: AJIora/1InW2XRv8Y4EEvuuVBZYirxIiFMwq07xtCgaK/NrV3ay0Fwwx Gu+eJzqZcrNFdyseA2THr5c6TaEdP/o+mJCS X-Google-Smtp-Source: AGRyM1s2KBHAmTAhxDYhWdtvoYkDXjG3eS3gnOPmKV32f9vYdsQr7ybH+7neovTiTcbxD3KuTYNi2A== X-Received: by 2002:a05:6402:3219:b0:43b:6f3:8ccb with SMTP id g25-20020a056402321900b0043b06f38ccbmr4050107eda.345.1657710267815; Wed, 13 Jul 2022 04:04:27 -0700 (PDT) Received: from localhost.localdomain ([195.24.90.54]) by smtp.gmail.com with ESMTPSA id c9-20020aa7d609000000b0043a75f62155sm7801152edr.86.2022.07.13.04.04.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 04:04:27 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bjorn Andersson , Mauro Carvalho Chehab , Hans Verkuil , Stanimir Varbanov Subject: [PATCH 1/2] venus: kconfig: Fix compile-testing on x86 platforms Date: Wed, 13 Jul 2022 14:03:50 +0300 Message-Id: <20220713110351.827446-2-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220713110351.827446-1-stanimir.varbanov@linaro.org> References: <20220713110351.827446-1-stanimir.varbanov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fix Venus driver COMPILE_TEST compilation on x86 platform by adding a dependacy on V4L_PLATFORM_DRIVERS and select QCOM_SMEM instead of depending on it. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/qcom/venus/Kconfig b/drivers/media/platform/qcom/venus/Kconfig index bfd50e8f3421..95814b175c3e 100644 --- a/drivers/media/platform/qcom/venus/Kconfig +++ b/drivers/media/platform/qcom/venus/Kconfig @@ -1,12 +1,14 @@ config VIDEO_QCOM_VENUS tristate "Qualcomm Venus V4L2 encoder/decoder driver" + depends on V4L_PLATFORM_DRIVERS depends on V4L_MEM2MEM_DRIVERS - depends on VIDEO_DEV && QCOM_SMEM + depends on VIDEO_DEV 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 + select QCOM_SMEM help This is a V4L2 driver for Qualcomm Venus video accelerator hardware. It accelerates encoding and decoding operations