From patchwork Mon Feb 22 16:02:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 385799 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp1396678jap; Mon, 22 Feb 2021 08:04:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxswgi6ce8DusnDNG1MzpB6YfV2MAuvNrn3sJevUSMc3vQ+PobuEEtL67CnfcBx/XJkpaHu X-Received: by 2002:aa7:c704:: with SMTP id i4mr18650225edq.95.1614009898085; Mon, 22 Feb 2021 08:04:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614009898; cv=none; d=google.com; s=arc-20160816; b=Lxs8N4iAiuRB4z8vxToLon6ny5zZ1gibKkfqy1knh0VuxG1oJXR8lbvGeS7TXO2trk 7GQLnAWmC39SOGgMOkrLAEbCdcRoSZ5bxzIv36GOhyN7GjAZP9QVy25Xq8OXsR7fCML2 LfAqTAFJSraVlBgTRBLnLij4sWOkIDEbUhgTqoiAJrvimDVh45JWhumySFg4BoGq2uLZ gFyzlVZEmq7CQ8biQo0TZPP+XPKi4f1u2W0yOOW2HQsfQkY0z4dOCm3OSap4F6UA+0n5 kvSLi0RqgZMz65VwJJs6TmBqjeHelT9BwmnGVNNAZdvO/YCCNFKG+XkB2piAqJjdQal9 X2hQ== 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=PezLYwUJemK5YD1XfzJtDVf4NCDS101gBrfpO/EAkMg=; b=N3hmJ4yxNp6NvI5F3Zy6F1Q55oANJwtB5F0L656KdX5L9I2eKJw6s6L4SLmnPcdtPo GSlx/5hmJvtHHgZNet/Zr3R786QVEh1HL/ZBKBVTIejsBUux5d83dDtF1lJzNc7kyoTQ uxR0/rcyRP21wdnhIrlkB1pOtu0hSCxtssAW4Ot7kNei6JzDtveZNzfW8YoT8WyQTJwt 38R38V2y6uwhx2Y54xV82ycb7ve3CeypY3AnYvKJzxr0I8NxOlPLDFHr2ao0DPldDhOh d70f54X69Oxg1SGQkDlcqFyNpLVnulB8w2EsTcWOvWQWIR655pinA/ckZwx1JiZIvead JS9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=isCjhUtg; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s13si12459169edj.330.2021.02.22.08.04.57; Mon, 22 Feb 2021 08:04:58 -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; dkim=pass header.i=@linaro.org header.s=google header.b=isCjhUtg; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230398AbhBVQEh (ORCPT + 3 others); Mon, 22 Feb 2021 11:04:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231284AbhBVQDh (ORCPT ); Mon, 22 Feb 2021 11:03:37 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D3BEC061A2E for ; Mon, 22 Feb 2021 08:01:55 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id m1so14868790wml.2 for ; Mon, 22 Feb 2021 08:01:55 -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=PezLYwUJemK5YD1XfzJtDVf4NCDS101gBrfpO/EAkMg=; b=isCjhUtg+Q2fze4zFP2qOO6AzXCSyk2KIa2d/NzB9Kc2oR76hjz8PuCHoviDMu/i0Q 7gMnJHRSGhiuSn7nxKqDKWic7ArX4JLnWm3ZkksNuUXbPGbPvDlW7KYd+c9+ku9FS1wf z/XlJ2Dec2hPS9SaoMDcMfnWVf7MTG0k/5wYMT0uT7jCR2gtmwg0qzLo0cVRoupHVPXX SO/W++vcHbJ6Lx2RkKVghFqNiP7S1ADDP50eTM2wYD4LBGEEYeO1/U5d67bCGabe7V5s ra9qKTztlALtvs9cXNNDaFG8E8PBLtk12e9yvDLDldQ9G2EQzH6WnNZQ+vwrB3zoBs0s ijYA== 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=PezLYwUJemK5YD1XfzJtDVf4NCDS101gBrfpO/EAkMg=; b=pOD0DmY/KCnRDroYmK6PuSoNvW1AKhMkoWTEjTCygDZ5D1MS49p3m7zLDmvPDfAHTi GglDKP7VEC09Phm1iF6FcXOl6BD3fbTUpUvBkLeyoijh1CzW5XMnoQfT5JHTIPMsZZXF 8NT1VkUXhiA6IehjrReI9CG8nroh50Pb0b4L//lS7a/atf1j2jFK3zhsSVK+V31+TeVy 0MFP+bA79EaQmNfSuq9paRIRELCEMBk1GfvyOOGKB1oADdGOUtxgKCioME2ivWB5XnMX olW4qI704KQUqXO2Lydx9olhnMFDHndBkXvQSAQ0gT2PNgRE3vnRammfQj5ia6YPuhSX wePQ== X-Gm-Message-State: AOAM530j6W0VRLEOUi7TONGjKaNSdbNkPo5qyd8oeIbSqNLmATHP27GV q6JQn/UrgT6fbGun8nvo33iQ8w== X-Received: by 2002:a1c:2311:: with SMTP id j17mr20701210wmj.38.1614009714303; Mon, 22 Feb 2021 08:01:54 -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 c3sm7373697wrw.80.2021.02.22.08.01.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Feb 2021 08:01:53 -0800 (PST) From: Bryan O'Donoghue 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 17/25] media: venus: pm: Hook 6xx pm ops into 4xx pm ops Date: Mon, 22 Feb 2021 16:02:52 +0000 Message-Id: <20210222160300.1811121-18-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210222160300.1811121-1-bryan.odonoghue@linaro.org> References: <20210222160300.1811121-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org At this time there is no need to differentiate between the two, we can reuse the 4xx pm ops callback structure for 6xx. Signed-off-by: Bryan O'Donoghue --- drivers/media/platform/qcom/venus/pm_helpers.c | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/media/platform/qcom/venus/pm_helpers.c b/drivers/media/platform/qcom/venus/pm_helpers.c index ea08b4d71e39..f163526c3f83 100644 --- a/drivers/media/platform/qcom/venus/pm_helpers.c +++ b/drivers/media/platform/qcom/venus/pm_helpers.c @@ -1119,6 +1119,7 @@ const struct venus_pm_ops *venus_pm_get(enum hfi_version version) case HFI_VERSION_3XX: return &pm_ops_v3; case HFI_VERSION_4XX: + case HFI_VERSION_6XX: return &pm_ops_v4; }