Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1833635rdh; Sat, 25 Nov 2023 04:54:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBKKqn/HQmhgL/EsLeAw82cy1SxRSqOqUxz9Eqg7z8Ej0FcP9/4IYRJwE5WfDL4uLyEdpH X-Received: by 2002:a05:6a20:2449:b0:187:5db4:168c with SMTP id t9-20020a056a20244900b001875db4168cmr7441854pzc.31.1700916896671; Sat, 25 Nov 2023 04:54:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700916896; cv=none; d=google.com; s=arc-20160816; b=uxZ/wfkhwCE0HbNdWZlvAzOuq53EJRq9kIPqDRfdngdwuBpb0MdmVNtXIwD3I5OkUt oWiH/A3j8m+uFCn6fPmRK98a2wejkWynM7XpK/2ss3nRTMtyioI7lwJX5OsJm0SBvmn+ xU4iQqEYR+nlmVmJJjPamyTLWk7tUuxUwzSB5hGiLK6zqcWwNAVcFk1k6f65qAAZJnjK fiakWUZIuqB2vdZasIvNygkMGC8GWcvS0kzGExNTIky6pB+VnC7kU4GkTEGMFqJS/VFz Nhb08GBhhmoa90eIE5F3YRU4SbfqqnmKds04R4Qzhxmf29fJLt78vhrLR5WUOi3m2915 4+6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :references:cc:to:from:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=xwsnRDL1c2UPqNmwiMYiMuvGOKXcoVAjfq7yoygNLK8=; fh=FOwmIRuy7LSfW1ynNtnPg7u/Pv+Nz7Y4K/4oivuV384=; b=A1nTwc4oJBPEwbKVHasWTlZPAs3y0kDslL4O4RfOEU4yBsB3t89bRyRtZn92Km0h1Z 735XyCLBIcpqLlafCXJCcj79xxJg/nS5EAUsBtqxW14tFcEFq/Wy3C/6NEXptjaz2kWk 1GJZAQR2CTtdPQlRK6CMhFv3aows+cmHZg+vWL/li1fJRDJyXTuKmdpKl48dYSutAvmV lNJ4DRUCy37W+E2d96W18X0o144ktDi93kWyI/H9GGUHcb8zhRnhwFBlmThHuF2JJY2e L2MCMdZpthbhEnG+r8js7owtBOF2FoRVJkKkdySflgCXNnV63C2b1cDZ9l8evnsdTczU 4iUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v4PimsF3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id fc40-20020a056a002e2800b006be04b8c3basi5787715pfb.178.2023.11.25.04.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 04:54:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v4PimsF3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 668E5803EE21; Sat, 25 Nov 2023 04:54:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232117AbjKYMyl (ORCPT + 99 others); Sat, 25 Nov 2023 07:54:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232272AbjKYMyX (ORCPT ); Sat, 25 Nov 2023 07:54:23 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2319ABC for ; Sat, 25 Nov 2023 04:54:26 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-548d60a4d60so3644067a12.2 for ; Sat, 25 Nov 2023 04:54:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700916864; x=1701521664; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=xwsnRDL1c2UPqNmwiMYiMuvGOKXcoVAjfq7yoygNLK8=; b=v4PimsF3mnqAX8t/f2Ull7F7FZ0GWd9gTt3pAJUMsmvO4OoPLKE8naRvRfwZYFDmtI D9Fu6c99DtiMla+JHDH5Nuvb1pj87dL9EUoqeLNm1y9Mln706UbAOTX2pDWo7LofegsD zyg+1hCVajDEZdD05G9tpaI+oZdIezjlDTFKcQtZdEs9DNnLUBVElEEqd9HOqPHEn8AJ 5pE1gGeQHuXj+hFddFWuwqvbJ5NG9eM0rF3m/PXtnzfcok7Lp3am3AXCmb79QeQv94MV yUoqZfS3z3Gj4TKHVlV7SJw97gRSVu88fOfY2kjHFGvs/hs7F/lqbYSU8oMVcbP7Uggo 1YKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700916864; x=1701521664; h=content-transfer-encoding:in-reply-to:autocrypt:references:cc:to :from:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xwsnRDL1c2UPqNmwiMYiMuvGOKXcoVAjfq7yoygNLK8=; b=KkcDvddLUQ1rTsZrt07YqM3vOOPbo1RsAldrJfgbvgvwyClWJWBP8kcwXOLeEMODSs eIDi3calomzMzZw2Y0EfpP4NGBq2mzJZXqKOyT9+A46eiHdwjCmm0d0bGF586eCVKxyA Z+l8AvPHYStFxjeinof+0e+RaAB9lrnauO+sHQfF4voT68HHrKcSOhgWTEzZGSm+WXBv zI61ZnAVy8+2XL2mvk1gi1pK0pFGi7iOO+WxRyKmf7THpoz3Um/hQvTFQVE64tkZ/5Wg kNNVUdnI4NQ/oocLiYOmMduPo6CO/m8Yo8hVxlZFwPXkDwho8FLay5AD+vd0S/gZkNFm HrxQ== X-Gm-Message-State: AOJu0YzLj6zGQ4cX/Bsfh8mR5hdZokTe/Y6ZlbkGBcrtGD2LeiAodcac HA6lYn0s7gUViAxl0O/hFY2TlQ== X-Received: by 2002:a17:906:594c:b0:a04:c787:4117 with SMTP id g12-20020a170906594c00b00a04c7874117mr4721576ejr.19.1700916864595; Sat, 25 Nov 2023 04:54:24 -0800 (PST) Received: from [192.168.201.100] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id uz2-20020a170907118200b00a098348d803sm1983946ejb.141.2023.11.25.04.54.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Nov 2023 04:54:24 -0800 (PST) Message-ID: <6b30c1ba-9740-41f7-95c0-cdb1803fe19a@linaro.org> Date: Sat, 25 Nov 2023 13:54:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 4/8] media: qcom: camss: Move VFE power-domain specifics into vfe.c Content-Language: en-US From: Konrad Dybcio To: Bryan O'Donoghue , hverkuil-cisco@xs4all.nl, laurent.pinchart@ideasonboard.com, Robert Foss , Todor Tomov , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , matti.lehtimaki@gmail.com, quic_grosikop@quicinc.com Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231123-b4-camss-named-power-domains-v6-0-3ec2fd9e8e36@linaro.org> <20231123-b4-camss-named-power-domains-v6-4-3ec2fd9e8e36@linaro.org> <3b8e6b65-5f37-49e5-b83e-b89726867ed2@linaro.org> Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lvIDxrb25yYWQuZHliY2lvQGxpbmFyby5vcmc+wsGOBBMBCAA4FiEEU24if9oCL2zdAAQV R4cBcg5dfFgFAmQ5bqwCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQR4cBcg5dfFjO BQ//YQV6fkbqQCceYebGg6TiisWCy8LG77zV7DB0VMIWJv7Km7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Tx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <3b8e6b65-5f37-49e5-b83e-b89726867ed2@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 25 Nov 2023 04:54:54 -0800 (PST) On 25.11.2023 13:53, Konrad Dybcio wrote: > On 23.11.2023 18:03, Bryan O'Donoghue wrote: >> Moving the location of the hooks to VFE power domains has several >> advantages. >> >> 1. Separation of concerns and functional decomposition. >> vfe.c should be responsible for and know best how manage >> power-domains for a VFE, excising from camss.c follows this >> principle. >> >> 2. Embedding a pointer to genpd in struct camss_vfe{} meas that we can >> dispense with a bunch of kmalloc array inside of camss.c. >> >> 3. Splitting up titan top gdsc from vfe/ife gdsc provides a base for >> breaking up magic indexes in dtsi. >> >> Suggested-by: Matti Lehtimäki >> Tested-by: Matti Lehtimäki >> Signed-off-by: Bryan O'Donoghue >> --- > Reviewed-by: Konrad Dybcio Reviewed-by: Konrad Dybcio Konrad