lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <454bd991-f610-0e9b-82a2-ab1b17498105@quicinc.com>
Date: Tue, 18 Mar 2025 21:08:56 +0530
From: Vikash Garodia <quic_vgarodia@...cinc.com>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
        Dikshita Agarwal
	<quic_dikshita@...cinc.com>,
        Abhinav Kumar <quic_abhinavk@...cinc.com>,
        "Mauro Carvalho Chehab" <mchehab@...nel.org>,
        Rob Herring <robh@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>,
        Conor Dooley <conor+dt@...nel.org>,
        Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio
	<konradybcio@...nel.org>
CC: <linux-arm-msm@...r.kernel.org>, <linux-media@...r.kernel.org>,
        <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/4] arm64: dts: qcom: sa8775p: add support for video node


On 3/18/2025 8:03 PM, Konrad Dybcio wrote:
> On 3/18/25 3:24 PM, Vikash Garodia wrote:
>>
>> On 3/15/2025 7:13 PM, Konrad Dybcio wrote:
>>> On 3/11/25 1:03 PM, Vikash Garodia wrote:
>>>> Video node enables video on Qualcomm SA8775P platform.
>>>>
>>>> Signed-off-by: Vikash Garodia <quic_vgarodia@...cinc.com>
>>>> ---
>>>>  arch/arm64/boot/dts/qcom/sa8775p.dtsi | 67 +++++++++++++++++++++++++++++++++++
>>>>  1 file changed, 67 insertions(+)
>>>>
>>>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>>>> index 3394ae2d13003417a15e64c9e47833725ec779e6..09db8e2eb578f1cada0f4a15e3f844dc097bd46d 100644
>>>> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>>>> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
>>>> @@ -10,6 +10,7 @@
>>>>  #include <dt-bindings/clock/qcom,sa8775p-dispcc.h>
>>>>  #include <dt-bindings/clock/qcom,sa8775p-gcc.h>
>>>>  #include <dt-bindings/clock/qcom,sa8775p-gpucc.h>
>>>> +#include <dt-bindings/clock/qcom,sa8775p-videocc.h>
>>>>  #include <dt-bindings/dma/qcom-gpi.h>
>>>>  #include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
>>>>  #include <dt-bindings/mailbox/qcom-ipcc.h>
>>>> @@ -3783,6 +3784,72 @@ llcc: system-cache-controller@...0000 {
>>>>  			interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>;
>>>>  		};
>>>>  
>>>> +		iris: video-codec@...0000 {
>>>> +			compatible = "qcom,sa8775p-iris";
>>>> +
>>>> +			reg = <0 0x0aa00000 0 0xf0000>;
>>>> +			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
>>>> +
>>>> +			power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>,
>>>> +					<&videocc VIDEO_CC_MVS0_GDSC>,
>>>> +					<&rpmhpd SA8775P_MXC>,
>>>> +					<&rpmhpd SA8775P_MMCX>;
>>>> +			power-domain-names = "venus",
>>>> +					     "vcodec0",
>>>> +					     "mx",
>>>> +					     "mmcx";
>>>> +			operating-points-v2 = <&iris_opp_table>;
>>>> +
>>>> +			clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
>>>> +				 <&videocc VIDEO_CC_MVS0C_CLK>,
>>>> +				 <&videocc VIDEO_CC_MVS0_CLK>;
>>>> +			clock-names = "iface",
>>>> +				      "core",
>>>> +				      "vcodec0_core";
>>>> +
>>>> +			interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
>>>> +					&config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ALWAYS>,
>>>
>>> This path should use QCOM_ICC_TAG_ACTIVE_ONLY on both endpoints
>> What is the advantage of "ALWAYS" vs "ACTIVE_ONLY". Thinking of a possibility of
>> APSS power collapsed, while video hardware is processing a frame ?
> 
> That's totally okay, I'm requesting ACTIVE_ONLY just on the cpu-cfg path,
> which must not be used if APSS if offline anyway
Agree on the CFG path. Will update in next version.
> 
> Konrad

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ