[Freedreno] [PATCH v8] arm64: dts: sdm845: Add gpu and gmu device nodes

Doug Anderson dianders at chromium.org
Thu Jan 17 23:15:18 UTC 2019


Hi,

On Wed, Jan 16, 2019 at 10:03 AM Jordan Crouse <jcrouse at codeaurora.org> wrote:
> +               gpu at 5000000 {
> +                       compatible = "qcom,adreno-630.2", "qcom,adreno";
> +                       #stream-id-cells = <16>;
> +
> +                       reg = <0x5000000 0x40000>, <0x509e000 0x10>;

This will now need to be adjusted to:

reg = <0 0x05000000 0 0x40000>, <0 0x0509e000 0 0x10>;

This fixes things up to deal with the patch ("arm64: dts: qcom:
sdm845: Increase address and size cells for soc"), AKA:
- https://patchwork.kernel.org/patch/10767511/
- https://lkml.kernel.org/r/20190117042940.25487-2-bjorn.andersson@linaro.org


> +               adreno_smmu: iommu at 5040000 {
> +                       compatible = "qcom,sdm845-smmu-v2", "qcom,smmu-v2";
> +                       reg = <0x5040000 0x10000>;

This one to:

reg = <0 0x05040000 0 0x10000>;


> +               gmu: gmu at 506a000 {
> +                       compatible="qcom,adreno-gmu-630.2", "qcom,adreno-gmu";
> +
> +                       reg = <0x506a000 0x30000>,
> +                               <0xb280000 0x10000>,
> +                               <0xb480000 0x10000>;

This one to:

reg = <0 0x0506a000 0 0x30000>,
        <0 0x0b280000 0 0x10000>,
        <0 0x0b480000 0 0x10000>;


In the email:

https://lkml.kernel.org/r/20190117192955.16515-1-bjorn.andersson@linaro.org

...Bjorn provided a link to a github tree that should be OK to use as
a basis for sending a new patch.  Specifically
<https://github.com/andersson/kernel/commits/for-andy/arm64-for-5.1>.
That tree not only has the address-cells / size-cells change but also
has gpucc.


-Doug


More information about the Freedreno mailing list