[Freedreno] [PATCH 1/2] drm/msm/a6xx: Fix llcc configuration for a660 gpu

2021-07-23 Thread Akhil P Oommen
Add the missing scache_cntl0 register programing which is required for a660 gpu. Signed-off-by: Akhil P Oommen --- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 46 --- 1 file changed, 27 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gpu.c

[Freedreno] [PATCH 2/2] drm/msm/a6xx: Add support for Adreno 7c Gen 3 gpu

2021-07-23 Thread Akhil P Oommen
This patch adds support for the gpu found in the Snapdragon 7c Gen 3 compute platform. This gpu is similar to the exisiting a660 gpu with minor delta in the programing sequence. As the Adreno GPUs are moving away from a numeric chipid based naming scheme to a string, it was decided to use 0x0603050

[Freedreno] [PATCH] arm64: dts: qcom: sc7280: Add gpu support

2021-07-23 Thread Akhil P Oommen
Add the necessary dt nodes for gpu support in sc7280. Signed-off-by: Akhil P Oommen --- This patch has dependency on the GPUCC bindings patch here: https://patchwork.kernel.org/project/linux-arm-msm/patch/1619519590-3019-4-git-send-email-t...@codeaurora.org/ arch/arm64/boot/dts/qcom/sc7280.dtsi

[Freedreno] [PATCH v2] drm/msm/dp: signal audio plugged change at dp_pm_resume

2021-07-23 Thread Kuogee Hsieh
There is a scenario that dp cable is unplugged from DUT during system suspended will cause audio option state does not match real connection state. Fix this problem by Signaling audio plugged change with realtime connection status at dp_pm_resume() so that audio option will be in correct state aft

Re: [Freedreno] [PATCH v4] drm/msm/dp: add logs across DP driver for ease of debugging

2021-07-23 Thread Stephen Boyd
Quoting maitr...@codeaurora.org (2021-07-22 20:53:37) > On 2021-07-22 15:09, Stephen Boyd wrote: > Thank you for the comments . > > Quoting maitr...@codeaurora.org (2021-07-22 14:33:43) > >> Thank you Stephen. > >> > >> On 2021-07-22 13:31, Stephen Boyd wrote: > >> > Quoting maitreye (2021-07-21 16

Re: [Freedreno] [PATCH 1/5] dt-bindings: msm/dp: Change reg definition

2021-07-23 Thread abhinavk
On 2021-07-21 19:42, Bjorn Andersson wrote: reg was defined as one region covering the entire DP block, but the memory map is actually split in 4 regions and obviously the size of these regions differs between platforms. Switch the reg to require that all four regions are specified instead. It i

Re: [Freedreno] [PATCH 2/5] drm/msm/dp: Use devres for ioremap()

2021-07-23 Thread abhinavk
On 2021-07-21 19:42, Bjorn Andersson wrote: The non-devres version of ioremap is used, which requires manual cleanup. But the code paths leading here is mixed with other devres users, so rely on this for ioremap as well to simplify the code. Signed-off-by: Bjorn Andersson Reviewed-by: Abhinav

Re: [Freedreno] [PATCH 3/5] drm/msm/dp: Refactor ioremap wrapper

2021-07-23 Thread abhinavk
On 2021-07-21 19:42, Bjorn Andersson wrote: In order to deal with multiple memory ranges in the following commit change the ioremap wrapper to not poke directly into the dss_io_data struct. Signed-off-by: Bjorn Andersson I think we can squash this one and the next patch into one. Because the A

Re: [Freedreno] [PATCH 4/5] drm/msm/dp: Store each subblock in the io region

2021-07-23 Thread abhinavk
On 2021-07-21 19:42, Bjorn Andersson wrote: Not all platforms has DP_P0 at offset 0x1000 from the beginning of the DP block. So dss_io_data into representing each of the sub-regions, to make it possible in the next patch to specify each of the sub-regions individually. Signed-off-by: Bjorn Ander

Re: [Freedreno] [PATCH 5/5] drm/msm/dp: Allow sub-regions to be specified in DT

2021-07-23 Thread abhinavk
On 2021-07-21 19:42, Bjorn Andersson wrote: Not all platforms has P0 at an offset of 0x1000 from the base address, so add support for specifying each sub-region in DT. The code falls back to the predefined offsets in the case that only a single reg is specified, in order to support existing DT.

Re: [Freedreno] [PATCH] arm64: dts: qcom: sc7280: Add gpu support

2021-07-23 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-07-23 04:20:54) > Add the necessary dt nodes for gpu support in sc7280. > > Signed-off-by: Akhil P Oommen > --- > This patch has dependency on the GPUCC bindings patch here: > https://patchwork.kernel.org/project/linux-arm-msm/patch/1619519590-3019-4-git-send-email-t..