Re: [RESEND PATCH v2 00/13] Enable GPU for SM8150 and SM8250

From: Dmitry Baryshkov
Date: Mon Jul 06 2020 - 15:50:44 EST


On 03/07/2020 18:03, Dmitry Baryshkov wrote:
On 30/06/2020 00:17, Jonathan Marek wrote:
This series adds the missing clock drivers and dts nodes to enable
the GPU on both SM8150 and SM8250.

Note an extra patch [1] is still required for GPU to work on SM8250.

Changes in V2:
* Added "clk: qcom: gcc: fix sm8150 GPU and NPU clocks" to fix the newly added
ÂÂ SM8150 GPU gcc clocks
* Added "Fixes:" tag to "clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL"
* Added yaml schemas to gpucc dt-bindings patches
* Added "clk: qcom: add common gdsc_gx_do_nothing_enable for gpucc drivers" and changed
ÂÂ gpucc patches to use it.
* Removed CLK_IS_CRITICAL from gpu_cc_ahb_clk
* Added missing rpmh regulator level for sm8250 GPU clock levels
* Use sm8150/sm8250 iommu compatibles in dts
* Add gcc_gpu_gpll0_clk_src/gcc_gpu_gpll0_div_clk_src to gpucc clocks in dts

[1] https://gist.github.com/flto/784f1aca761ebf2fe6c105719a4a04ca

With your patches applied:

[ÂÂ 56.751977] msm msm: [drm:adreno_request_fw] loaded qcom/a650_sqe.fw from new location
[ÂÂ 56.760166] msm msm: [drm:adreno_request_fw] loaded qcom/a650_gmu.bin from new location
[ÂÂ 56.768485] arm-smmu 3da0000.iommu: genpd_runtime_resume()
[ÂÂ 56.774196] PM: gpu_cx_gdsc: Power-on latency exceeded, new value 49531 ns
[ÂÂ 56.781730] arm-smmu 3da0000.iommu: resume latency exceeded, 462604 ns
[ÂÂ 56.799559] platform 3d6a000.gmu: [drm:a6xx_gmu_resume] *ERROR* GMU firmware initialization timed out
[ÂÂ 56.809260] arm-smmu 3da0000.iommu: genpd_runtime_suspend()
[ÂÂ 56.813062] msm msm: [drm:adreno_load_gpu] *ERROR* Couldn't power up the GPU: -110


Confirmed to be a firmware issue. With older firmware proposed patches work fine. A patch to support newer firmware releases will be submitted separately.


--
With best wishes
Dmitry