Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2018-03-16 Thread abhijit
Hi Waldimir, Hi Wladimir, Can you please let me know if you have any plans to make changes for A200 mainline? I have ported the KGSL driver along with other source files to 4.14.1 kernel and got it working. Can you let me know, if I can commit the code to your repository? Regards, Abhi

Re: [Freedreno] Whether A200 driver is supported by Linux Mainline Kernel

2018-03-16 Thread Ilia Mirkin
Hi Abhijit, Looks like there may have been some duplication of effort... https://github.com/laanwj/linux-freedreno-a2xx/commits/4.15-rc5-rdu1-kgsl Seems to be based on 4.15 if the branch name is to be believed. -ilia On Fri, Mar 16, 2018 at 8:54 AM, abhijit wrote: > Hi Waldimir, > > Hi Wlad

Re: [Freedreno] [PATCH] rnndb: a6xx: Add kernel registers for the GPU and GMU

2018-03-16 Thread Jordan Crouse
On Wed, Jan 31, 2018 at 11:06:45AM -0700, Jordan Crouse wrote: > + > + > + > + > + Rob, when you push this, could you invert these two fields? OFF should be bit 2 and ON should be bit 3. This will save me from having to go through the hoop

[Freedreno] [v3 RFC 0/2] drm/msm: Add support for Adreno a6xx

2018-03-16 Thread Jordan Crouse
This is an RFC for the initial version of a6xx support for the Adreno a6xx GPU family as found on the sdm845 SoC. This code is ahead of most of the rest of the sdm845 code that would be needed to actually bring up a device and it is definitely far in advance of any user side support for the a6xx G

[Freedreno] [PATCH 2/2] drm/msm: Add A6XX device support

2018-03-16 Thread Jordan Crouse
Add support for the A6XX family of Adreno GPUs. The biggest addition is the GMU (Graphics Management Unit) which takes over most of the power management of the GPU itself but in a ironic twist of fate needs a goodly amount of management itself. Add support for the A6XX core code, the GMU and the H

[Freedreno] [PATCH 1/2] drm/msm: Add generated headers for A6XX

2018-03-16 Thread Jordan Crouse
From: Sharat Masetty Add initial register headers for A6XX targets. Signed-off-by: Sharat Masetty Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/a6xx.xml.h | 1600 + drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h | 382 +++ 2 files changed, 1982 in

Re: [Freedreno] [PATCH 1/2] dt-bindings: Document qcom,adreno-gmu

2018-03-16 Thread Jordan Crouse
On Mon, Mar 05, 2018 at 01:38:59PM -0600, Rob Herring wrote: > On Fri, Mar 2, 2018 at 3:56 PM, Jordan Crouse wrote: > > Document the device tree bindings for the Adreno GMU device > > available on Adreno a6xx targets. > > > > Change-Id: I3cfd5fb35ab0045e39905ff12393006e60f1a124 > > Gerrit! > > >

[Freedreno] [PATCH 1/2] dt-bindings: Document qcom,adreno-gmu

2018-03-16 Thread Jordan Crouse
Document the device tree bindings for the Adreno GMU device available on Adreno a6xx targets. Signed-off-by: Jordan Crouse --- .../devicetree/bindings/display/msm/gmu.txt| 54 ++ .../devicetree/bindings/display/msm/gpu.txt| 10 +++- 2 files changed, 62 inserti

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

2018-03-16 Thread Jordan Crouse
Add the nodes to describe the Adreno GPU and GMU devices. Signed-off-by: Jordan Crouse --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 119 +++ 1 file changed, 119 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi

[Freedreno] [v2 PATCH 0/2] arm64: dts: Add sdm845 GPU/GMU and SMMU

2018-03-16 Thread Jordan Crouse
Add DT nodes for the sdm845 GPU/GMU (graphics management unit) and the companion arm-smmu-v2 compatible SMMU. This builds on the following dependencies - https://patchwork.kernel.org/patch/10286369/ - bindings for qcom,level https://patchwork.kernel.org/patch/10281599/ - qcom,smmu-v2 bindings Ple

[Freedreno] [v2 PATCH 0/2] arm64: dts: Add sdm845 GPU/GMU and SMMU

2018-03-16 Thread Jordan Crouse
(resend because I forgot to CC everybody on the patches) Add DT nodes for the sdm845 GPU/GMU (graphics management unit) and the companion arm-smmu-v2 compatible SMMU. This builds on the following dependencies - https://patchwork.kernel.org/patch/10286369/ - bindings for qcom,level https://patchwo

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

2018-03-16 Thread Jordan Crouse
Add the nodes to describe the Adreno GPU and GMU devices. Signed-off-by: Jordan Crouse --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 119 +++ 1 file changed, 119 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi

[Freedreno] [PATCH 1/2] dt-bindings: Document qcom,adreno-gmu

2018-03-16 Thread Jordan Crouse
Document the device tree bindings for the Adreno GMU device available on Adreno a6xx targets. Signed-off-by: Jordan Crouse --- .../devicetree/bindings/display/msm/gmu.txt| 54 ++ .../devicetree/bindings/display/msm/gpu.txt| 10 +++- 2 files changed, 62 inserti

[Freedreno] [DPU PATCH v2] drm/msm: Don't duplicate modeset_enables atomic helper

2018-03-16 Thread Sean Paul
Instead, shuffle things around so we kickoff crtc after enabling encoder during modesets. Also moves the vblank wait to after the frame. Changes in v2: - Remove the encoder.commit hack, it's not required (Jeykumar) Cc: Jeykumar Sankaran Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu

Re: [Freedreno] [DPU PATCH v2] drm/msm: Don't duplicate modeset_enables atomic helper

2018-03-16 Thread Jeykumar Sankaran
On 2018-03-16 12:45, Sean Paul wrote: Instead, shuffle things around so we kickoff crtc after enabling encoder during modesets. Also moves the vblank wait to after the frame. Changes in v2: - Remove the encoder.commit hack, it's not required (Jeykumar) Cc: Jeykumar Sankaran Signed-off-by: Sea