Message ID | 20210312173039.1387617-9-bryan.odonoghue@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1383481jai; Fri, 12 Mar 2021 09:30:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfmC8WLuSFDplEAq9dQHjf7NMfipsJd7gvhJb8LggmavQ8KQBAslCSEtdfbN/x3sb8Zox0 X-Received: by 2002:a17:906:abcd:: with SMTP id kq13mr10001541ejb.477.1615570204355; Fri, 12 Mar 2021 09:30:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615570204; cv=none; d=google.com; s=arc-20160816; b=ByAPbTroEhgaiPKAefW7/66dLaB37X61V/56TCv/xk919OqlDi0HXf32ajxa3X188z LDkmf+cwr79NRXejUId+XNd72B6sftSGn9uysW1mblUFcfnHw61vtSIjf5rQjf3sXQ5d pNX5yzt/yRQ7oJ2f6HCh6L3djr4IZ51mtPY/KxgcIc2DDQjX/vXgfOyuEzuLQjmrJu99 hwAFCU3NqoKwZniBGz8ED6SnFgLf2/MJD/NGWa8tME437MoFdszv1N13gfnAAMuJV8UO AyupV8s96iI4p0jvwOtKfPIGgZr4asriZRwFh2Q/mMRlnDZT0eX00b3IJ7ehe/RxSNZH VRDA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ns2FNG0XYO8CSarlZvsWL5K0oFxStVf7JDc9WV+CdgM=; b=dopuMW3UtlndR/4uNxSGl56eu0yTLNglB3inU34u7Er3vvyzhSlyKU9jS6TtDY5x9k vkrn+t8AuchavEo2fnCySI+HE6oH4a6lBc1JfGUpo0bYn2pr0nMfLyhnyymygF3BkMP4 L394TdiRnwOVbXR7Vj0IjSYp9lVjo2GwBvu4axlPoi6hiL/vOdgN3xNTf3Zut/N70Rv4 qfo+y3cE1Jkhxw2KTeNBMQrY83MaCYxUeY2fkqQNPBmEzSGfm/AEFEKmjgNTgZXItep7 yuynrMZMpnOmZf2+AmLuYGsw/MYrB4isCTfRTuk0GlAM6gWyE7fkIY7cpA94rROjNmd6 vk+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oRwI0GNv; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-arm-msm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ot6si4540497ejb.337.2021.03.12.09.30.04; Fri, 12 Mar 2021 09:30:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oRwI0GNv; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232653AbhCLR3Z (ORCPT <rfc822;bhupesh.sharma@linaro.org> + 16 others); Fri, 12 Mar 2021 12:29:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232804AbhCLR3V (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Fri, 12 Mar 2021 12:29:21 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 401ABC061574 for <linux-arm-msm@vger.kernel.org>; Fri, 12 Mar 2021 09:29:21 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id g20so4266027wmk.3 for <linux-arm-msm@vger.kernel.org>; Fri, 12 Mar 2021 09:29:21 -0800 (PST) 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=ns2FNG0XYO8CSarlZvsWL5K0oFxStVf7JDc9WV+CdgM=; b=oRwI0GNv26UBWNzWGgBeK3oJP3HbQlSskJYVRCfDP+KXBI6dHxKNFYfL1Sbv6txdpL j9MopI20nH2y5mT5ZfdsMyQjsyN1VWeyoBwPUJhtnwLi1tvPknpimzEzZjBilFa/lJjo WoeAoipB2JEzTb0G6eAVqjzkd9Gle9CafmiV8sHQwsaCKNJy7/a94aRMTt10l99YeNXG pB2AFFn05z3i1uCQwe8931qbgXM2jXIJj/BQrYy/ddBJGZ6NF2rUXBs+ronCObqEBEKA VpWuMRYCDegk1cgBXqMSoEIkcytp4oRgbWreBOPeZATC6IgULsOgr9Invp3jopW7Eazz nepg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ns2FNG0XYO8CSarlZvsWL5K0oFxStVf7JDc9WV+CdgM=; b=QIde/DwRdVLbuyv+BSMhVR6CdnQ9b4NIvjAszp0wqtq8+aMfIyz9U2RHYDMRlbY4m3 OAkF+JZOLC2cKCCO2KXQOUosq7kXxsQtUk6knJS80sEBB88i6yTOPO9fmDY5Nfd2RuOe ZF8Q94onBy9Eivpr722auvyUDHMut7HBxPw44UgwKBuBf3dDiZpnSi8wVqQknlMuMYXU YyMw/cZ1odLxfOocC0UBsG+FQDpNQdaorXDaUxu+s5hTmTKOFhOHx+Z1udk5f6JFxZQM BhzaiE5h3XtuwIMdhIXRph/BNxTNEr2gKJfD7izK910UJw9GoEMCkkm0wSm/bH+VvHp/ WZvg== X-Gm-Message-State: AOAM531shR8ktz5t704fhkaaXXS4Qm7uCjN7/MhlvfRNpyBwf35bdtnL lCOtBHSWFO/Fwh4M8mP9JaU6VQ== X-Received: by 2002:a05:600c:2145:: with SMTP id v5mr14373934wml.65.1615570160033; Fri, 12 Mar 2021 09:29:20 -0800 (PST) Received: from sagittarius-a.chello.ie (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id 18sm2876375wmj.21.2021.03.12.09.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 09:29:19 -0800 (PST) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: stanimir.varbanov@linaro.org, agross@kernel.org, bjorn.andersson@linaro.org, mchehab@kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: bryan.odonoghue@linaro.org, dikshita@codeaurora.org, jonathan@marek.ca, vgarodia@codeaurora.org Subject: [PATCH v2 08/25] media: venus: core: Add differentiator IS_V6(core) Date: Fri, 12 Mar 2021 17:30:22 +0000 Message-Id: <20210312173039.1387617-9-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210312173039.1387617-1-bryan.odonoghue@linaro.org> References: <20210312173039.1387617-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
media: venus: Enable 6xx support
|
expand
|
diff --git a/drivers/media/platform/qcom/venus/core.h b/drivers/media/platform/qcom/venus/core.h index 110287279f05..85047806142f 100644 --- a/drivers/media/platform/qcom/venus/core.h +++ b/drivers/media/platform/qcom/venus/core.h @@ -420,6 +420,7 @@ struct venus_inst { #define IS_V1(core) ((core)->res->hfi_version == HFI_VERSION_1XX) #define IS_V3(core) ((core)->res->hfi_version == HFI_VERSION_3XX) #define IS_V4(core) ((core)->res->hfi_version == HFI_VERSION_4XX) +#define IS_V6(core) ((core)->res->hfi_version == HFI_VERSION_6XX) #define ctrl_to_inst(ctrl) \ container_of((ctrl)->handler, struct venus_inst, ctrl_handler)
This commit adds the macro helper IS_V6() which will be used to differentiate iris2/v6 silicon from previous versions. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- drivers/media/platform/qcom/venus/core.h | 1 + 1 file changed, 1 insertion(+) -- 2.30.1