Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1009390lqs; Wed, 6 Mar 2024 03:48:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVN/rZd6FhMLGKnygxt5LL9s+B1ugaXKyYwRtaAQe05Z0B4HoF58mthFuvtFGSI/aOPQk90i4/sHq3XemJgHgKZkXcxHSC+g/rnOARneA== X-Google-Smtp-Source: AGHT+IHOdcZpeEmaSrr6LgPLB+m0YmfzLGoFnkBb0zGdH7Mhq8Ys4FJ59nAp+gL7flrm0aviS0+f X-Received: by 2002:a17:906:a848:b0:a45:b5a2:e963 with SMTP id dx8-20020a170906a84800b00a45b5a2e963mr1401565ejb.22.1709725708123; Wed, 06 Mar 2024 03:48:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709725708; cv=pass; d=google.com; s=arc-20160816; b=WYnYGOT6jSECret7nUEdgSnb7u0j7mDsTi0zUWFDLSdUnDCPbhUxw9CZa4yZZG+T5N KEUQ7hRK4l+p+fK0euYAzjBs7mm7NqISNzUxiBSZ2Z+ntd90UihjQMGLXHgDEONl72wv HT20rUpmW7VKbAFVVdjUvqeNsHPTf/5/Jsu2p5yWvzxz/cxuTmoW/3/E1pvNSEHxrqjN KfT91Reg2rcZGMCbXMrgHbQvdyxJRkR+w3g+A166fQqrKO4fXwfylA9C462qtkeJgXZx X38ercyKIaMCtYaIvJRUyP+6D/5HMHl1dciVdt7deCmz3bRU0Z6OWoor2o4z2VkDXm1k lZbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=hdjqKhX03PzSI2pyjOvW3uxLZQ+MIlVgUNLnoaZ5QpY=; fh=7IIXA42P8ku6WUYg8EI5X8do8nQqyOwlHi6Vy7HDlhE=; b=DBbUpv3T+tBIS7plieWEYTaDzBFRjFNR3+DMs1DAbLMOhkKq0o38ZwD66ZoUMjwpxU UnsXYUEeDvDU9mrxhn5dB0nSDbLoJM/B6Tf2ci8MMdSB8hgWKsOm4baNta/P3IcRhmA0 r+bPBt5zlNwGeOZH8KseIpPqzNTMPc7GeT0GoY6rWYv7rpO+rkGgoMM9Vpo+mBJ5fXf+ GGrOiEDZUliKXDf3aqCAVFv05D8tjlGhAxa9d+w/e8jKCmoIBb3jHw07KvpWAsxYgQ0q fWIT/EBnfP6VWYFKP4EyQ+0um3GEbRwtughZaG+8SBea/ESn1UQ2v1gx6a/AHmTIKj3v t27w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V5bjZv2J; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-93855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id nc12-20020a1709071c0c00b00a450ecf0086si3445648ejc.716.2024.03.06.03.48.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 03:48:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V5bjZv2J; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-93855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93855-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D3E891F21402 for ; Wed, 6 Mar 2024 11:48:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 366B77FBD4; Wed, 6 Mar 2024 11:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="V5bjZv2J" Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62EE47FBAC for ; Wed, 6 Mar 2024 11:48:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709725696; cv=none; b=jIhEsS08BS4p9VnbDH4LGqzUPwcnuqlaOVxnuYs1IqDF082cXMYAaeyS/9cJPAJ2hg+OjJ3n7Nhn5ZqhNc8VpcpXTk2P9aXrKh5XmuE05GXWR+Z4lPy/qf+2a7oeO18fIjX5zo543GyXW+Vc3EIvd7pqcEyFaWblvUoCai6pdsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709725696; c=relaxed/simple; bh=/NaooI6MCdbyOlXlO6KxhqtDj6Xc9BLxT2lYpNpuyTA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Dax+IfPeFUSkZOg9i6X1IgLYFd/cBOWqwbk+oh3MIj2ghRzXHrWPUB9MLftsfIwJh/6XQ2WvKwzhJJWue2kLZt8dOlDmkuJcX1Dp0JnFMLzKtZ/ycocM0lL7XKqFodl314rEU+Wiv3CCBSjJnGg8aT9D+kAoDKQQIfcvzGBZqTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=V5bjZv2J; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-33d2b354c72so4995851f8f.1 for ; Wed, 06 Mar 2024 03:48:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709725693; x=1710330493; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hdjqKhX03PzSI2pyjOvW3uxLZQ+MIlVgUNLnoaZ5QpY=; b=V5bjZv2J3imnvnThGkTlo+FkH4FH3cxv/3MgIkgQZodEKj7v5zGxaSHTlayFI/PdBv mD1dOS6VXD3jl9L9rtF7wYpaeomReM7nISz+C2WF34p6mST0JJ/pLS3/pOXn2iQLxNJl 45Cv+qNTl0zEzKC9WBiBwM8Qj1zA6qlyaCNls+c8gonKwSyTIvW4l5pn+t873BIE9X76 sd3amm2NVA3TZZdvx0CZT8IOsn2RGT2l9dzEI6JRj531TocrJtujPbWHQxbKMpIlyQJC 69N/zfJD1hXwXY9vGZvBuhChYDBSWYPEphmGy75ajBcSBNqpjZz7P/IPzMWoPrSaGGRV 5UeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709725693; x=1710330493; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hdjqKhX03PzSI2pyjOvW3uxLZQ+MIlVgUNLnoaZ5QpY=; b=Q2/QCytwIxvTsdeyR4eW2LYbvid/AXD8flKOGvxzgiy/0t/VgKS4NLvITgQF566BfQ FN+4M2cBO4pSoHDHc9dnH80vB69OmWJKHi7cA61xZHJwTWIaPNCEgDEJqyVBVxn4NsI8 0brSN4bK2QoM6W7v4iuuC00VUPILVwFQh7mcuPLSlQFS5b/M7psbdja9YtNfWE819bp4 w2PSAVGkP6cVa1IDqN5/KcQ6eWPJZLUbUBwgFze1IWyKb0UrzaoaWFXoP5PSdUjcNE2q aUaU10PUlaBhw8v+ArXykWVxoziG3A84RO5zH6Y9Mq7FCFoD8anFRWrV6h7ufodm5M7J 8qEw== X-Forwarded-Encrypted: i=1; AJvYcCX2zuCawbIZZ26F8jGIsPrdl72u7yfzSbDA0pAwWcpTyiyEKv4YRbQECGfIa3Bydybj4Q+dTA79/XMuWuuKKAPbSpBBUEvnei65QheB X-Gm-Message-State: AOJu0YwbI23paqnd8e1r4agrxaTt8dPinab5EdcWrI9yWxpYJYUmSak+ luBaEkm4hTZZRbs2/BSbISbZ+x0pGAn72sQbJVfH/FUqtpLcaJxKXMd2T5CNCKY= X-Received: by 2002:adf:fccf:0:b0:33d:3fed:3a18 with SMTP id f15-20020adffccf000000b0033d3fed3a18mr10598070wrs.51.1709725692648; Wed, 06 Mar 2024 03:48:12 -0800 (PST) Received: from [192.168.0.102] ([176.61.106.68]) by smtp.gmail.com with ESMTPSA id da8-20020a056000196800b0033b87c2725csm17275033wrb.104.2024.03.06.03.48.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Mar 2024 03:48:12 -0800 (PST) Message-ID: Date: Wed, 6 Mar 2024 11:48:11 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 02/20] media: venus: pm_helpers: Rename core_clks_get to venus_clks_get Content-Language: en-US To: Konrad Dybcio , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , Dikshita Agarwal , Philipp Zabel Cc: Marijn Suijten , Stanimir Varbanov , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230911-topic-mars-v2-0-3dac84b88c4b@linaro.org> <20230911-topic-mars-v2-2-3dac84b88c4b@linaro.org> From: Bryan O'Donoghue In-Reply-To: <20230911-topic-mars-v2-2-3dac84b88c4b@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 09/02/2024 21:09, Konrad Dybcio wrote: > "core" is used in multiple contexts when talking about Venus, rename > the function to save on confusion. > > Signed-off-by: Konrad Dybcio > --- > drivers/media/platform/qcom/venus/pm_helpers.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/media/platform/qcom/venus/pm_helpers.c b/drivers/media/platform/qcom/venus/pm_helpers.c > index 8bd0ce4ce69d..ac7c83404c6e 100644 > --- a/drivers/media/platform/qcom/venus/pm_helpers.c > +++ b/drivers/media/platform/qcom/venus/pm_helpers.c > @@ -23,7 +23,7 @@ > > static bool legacy_binding; > > -static int core_clks_get(struct venus_core *core) > +static int venus_clks_get(struct venus_core *core) > { > const struct venus_resources *res = core->res; > struct device *dev = core->dev; > @@ -294,7 +294,7 @@ static int core_get_v1(struct venus_core *core) > { > int ret; > > - ret = core_clks_get(core); > + ret = venus_clks_get(core); > if (ret) > return ret; > > @@ -961,7 +961,7 @@ static int core_get_v4(struct venus_core *core) > const struct venus_resources *res = core->res; > int ret; > > - ret = core_clks_get(core); > + ret = venus_clks_get(core); > if (ret) > return ret; > > We have vcodec_clks_get(). It seems a bit nit-picky but if you are tidying up the namepsace, then I'd suggest venus_core_clks_get() or vcore_clks_get(). Seems more consistent. --- bod