Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp59951lqf; Tue, 26 Mar 2024 14:24:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWE3z9MsTYa4t76LFmmn2ElkKFDTJMk5bpx08fvKUITK1Aho/pIVsa2XklhWzfomv3VxM763+PmUFRtcTOGR2Z6Dy+CImeBumnQOQZI4w== X-Google-Smtp-Source: AGHT+IEpzMqzDXF7tfsQlznD/1IZFSXfUdT8WJRKSrfuplgZLxQLJQF6NtOOEq/kJWL1lKCi2D9Z X-Received: by 2002:ac8:5c86:0:b0:431:156:b0a0 with SMTP id r6-20020ac85c86000000b004310156b0a0mr13031090qta.23.1711488284940; Tue, 26 Mar 2024 14:24:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711488284; cv=pass; d=google.com; s=arc-20160816; b=JWBpAYK2UnfYgcb2z+Er6i5qQv7o+dtv+CShddZg+80QCCMs5ojp1CzyCHcVvNC2kV cTi+MEqAT5RqbEXTSdSAzCpnBMGojC60E/dvhtS+H4dvE0ySrmxKRa2UOZsOoaXmzlV5 gXWk/IcV7+ViKb6CwjUhqdQMSOtB8B8u277xf6fkdvhra12SEZU0SbKvdmxTcUNjy2Px FHwRGaGdppFe9/FDhiad9YAMTgIBkgy0qvdbPvuvqZC0ys1YCxolg40J7yxmOPB3uFvv VEgK57E8FnL0mGfCcMt1LsMMITP52K49oBfaTHMSzDnrr9gVQ8CPQMYAWZZqbNw21SWG U8yA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=GoDGazPiRgb9L75Xk/2NTAz5erShDCuLjlFhO/Pzeh4=; fh=xYPnIfUkl9AIiypuebLkiIc26f4OcfJ04sMhVBhh4hY=; b=HvGPd1kq3G3bf3vFcLEFmH4RzW344t1Gn+7NPKFbkJmjj329ZFOvKuepxGpeVREt4n B+OtITKQ8kiyVNjF1eplK7yc85I6hdXBkf8sH4EAEYdl84a2LA3iolqyySmZPG3TcxBD sVUKvTfT7bfnPK6JyRlsxYmNEMPYgOt8UPn/stE7s80a4p/VU5XNLDuvV8RA6fsqaEXe 1QutIdWgz27PI6H93wvoElflFuyvKvwZkzh/A0gBBGNOimm7tGQblMFbar8FHIElv7EZ tkytgazhz7Arw6EHcSrbABRg160Qruc2Ih8c7md1fuo1ytipcSTCIv4iy0oGShbbswTK SWLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlOs0o7Q; 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-120001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120001-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bp33-20020a05622a1ba100b00430c97962cdsi8582052qtb.303.2024.03.26.14.24.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 14:24:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlOs0o7Q; 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-120001-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120001-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9B9911C67120 for ; Tue, 26 Mar 2024 21:24:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3126613D63E; Tue, 26 Mar 2024 21:24:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VlOs0o7Q" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 6090413D528 for ; Tue, 26 Mar 2024 21:24:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711488270; cv=none; b=RrhbkAfiBKj+izbNuYyYvAiIJqaAZTZ7AEM+Z0TTs4O59xyHPWs1krxM5VrgoPGb1iJjCXZ9pFsuh7PGZrVh7GykFh8Ej7s1FCHYs2z9yEBMg2MqREOUw/wutlSTf+twX2FaTVwLWoFQJjZApijMwB+/18sNdQ7tTzYLZ61uYD4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711488270; c=relaxed/simple; bh=gOajk2iNWyP+O2AHmKvHxVTPbsYOBpiVOI2qazoxc28=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nyGUjY5QJR9YLGu5lz+TO9woR1eKRvK7szv8cgVoGYB8CrrpfsHiXUwFgDoiskAFaUtV075WkcZPcgcn/2zcWt3nQWhikwKRF+Pp5bAXY8Z8caQ5KScgEajTHjtAamJC5P4XtyFvbOk6WShMyxJlDwbhn+lPfD22t/aKKh+ijtk= 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=VlOs0o7Q; arc=none smtp.client-ip=209.85.218.48 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-ej1-f48.google.com with SMTP id a640c23a62f3a-a474c4faf5eso358027566b.2 for ; Tue, 26 Mar 2024 14:24:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711488266; x=1712093066; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=GoDGazPiRgb9L75Xk/2NTAz5erShDCuLjlFhO/Pzeh4=; b=VlOs0o7Qs7Lkz9J4R11fWFstXVFvhwpGuuoSwux0FFeqvhOSrcGvfTBI8OvCvkNJnY kHz4HI6o8mBphiWl13cpKiKLjr6dHMaR5tLxnrT0pICOPCyByrV3gh+XRZHUrCLuakqD 0UGWvwRx0Fpgyqh1AMGHSiivni+LVfN+M5F35PTp/xID8t2D2JveIN1Z2IneiQWf3PIm wNNcnX7Ikha8ON3lnJgkwBYoNhMEppUtWBTul2jf/i/VaMm81yu8xrcjZij19cfYT5so 8wwJYbcaCqy3ejv7Blb5hfgADw9pc4MPRl6FnW2h8iC1DgkVShVhr/6wPOX6hQ8rhxQO i3nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711488266; x=1712093066; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=GoDGazPiRgb9L75Xk/2NTAz5erShDCuLjlFhO/Pzeh4=; b=LZYcar8raURs0+/UUDYdc9XRKolSMhWRfkWUczTY9MG2Fr7Chsbpm7cZoWUY/0/Nah 9FeUQKeomQdqU6ShMS36/aV9uvQssf+3ZHXDawEV0IinZ+tjNsvD0MMzUDtKdvQEfKXN jmE1We4JO6j5h+6P5eT9DXU78N1ndZVwUksPdjc3EWMrDI7Ztpe7LCdhMcwaw0I1ADmH FsERiDWElE3gilpT3D9gzhRs3uGDa/02khk4KfSZj6Ns1MD2FejAG3CWeVtWVRPHMwdF 0NWeCUHj7mb0/8baJrz8/Y0JovTsywVfqvybJ6F7+qzcLWl5JNWfJOb09xD3X3bC1rmi KsmQ== X-Forwarded-Encrypted: i=1; AJvYcCX+Y0n+lCxrZi8L7oIczFScKbVUlgJeoCrjnRJd04hF7ijXfOy0W4phGlAA6XhY3SEEekkr/119lgDMiiZ9nQsNWLNpDPjZvo3sUgm8 X-Gm-Message-State: AOJu0Yz0mivNk8itmDvlpOxzUvjg0t2cK+nDLszSrV5UZNjTWznyU2Ts jobpqBX4NUjVT9ifFWjkxN/32Dr8ZydQLrihYcZGfEqdFGIZEVEROb9F8K+0ftA= X-Received: by 2002:a17:907:2d9f:b0:a4a:20df:e032 with SMTP id gt31-20020a1709072d9f00b00a4a20dfe032mr6132998ejc.66.1711488266550; Tue, 26 Mar 2024 14:24:26 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id a5-20020a1709065f8500b00a46478fbbbesm4608980eju.153.2024.03.26.14.24.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Mar 2024 14:24:25 -0700 (PDT) Message-ID: Date: Tue, 26 Mar 2024 22:24:24 +0100 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 To: Bryan O'Donoghue , Stanimir Varbanov , Vikash Garodia , 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> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9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L2zd AAQVR4cBcg5dfFgFAmQ5bvICGwwACgkQR4cBcg5dfFju1Q//Xta1ShwL0MLSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 6.03.2024 12:48 PM, Bryan O'Donoghue wrote: > 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. No, that's not the point, you got confused by the inconsistent namespace :/ These are not any "core clocks", they're either "all clocks except vcodec" or "all clocks", depending on the binding type used Konrad