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: 590103 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 B743ECCA483 for ; Wed, 13 Jul 2022 11:04:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235540AbiGMLEe (ORCPT ); Wed, 13 Jul 2022 07:04:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235490AbiGMLEc (ORCPT ); Wed, 13 Jul 2022 07:04:32 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31E0DDFD6 for ; Wed, 13 Jul 2022 04:04:29 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id e15so13618504edj.2 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=S+XmJAPFv2qzgUvkDzxySkiTxxtXp1MIHBecJRqyQIWK2lSkmz49ED3nDv9i/REMfy y/QjZBaskkbbeR8DCwukn9NcxU+dExGyDN3OUITH+HEHdTbh8shuiiNrwD83DydZXa63 WLrqicKD1FSuKiodi7K1WW6KlUnp3x313+i7flqkrDs4xcXNVE7753MfcqT0tn+eo7bH 8ionuzFClFQhcoyn6iii22AgsnHziF61AA9KBmGj+Vbops6Ajg+DLY2H9ocHjB0+iEFA v2ePq1aN9N1c62OjCLhxjVcjf67X6fueMYrSgGlPGQArY9glMJJsWh8IDRx3xEria/O+ PUQA== X-Gm-Message-State: AJIora8wEsHS73CpsMvgL3IOe7G/6Ao3R9jxqUgwd6bWhPMi/oETH9fG FdQvn/U+2n188KO+4Yw9hLYKZw== 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-arm-msm@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