Re: [Freedreno] [PATCH v2 02/12] dt-bindings: display: msm: Add qcom, sm8350-mdss binding

2022-11-29 Thread Robert Foss
On Tue, 15 Nov 2022 at 17:49, Rob Herring wrote: > > On Tue, Nov 15, 2022 at 12:17:11PM +0100, Robert Foss wrote: > > Mobile Display Subsystem (MDSS) encapsulates sub-blocks > > like DPU display controller, DSI etc. Add YAML schema for MDSS device > > tree bindings > > > > Signed-off-by: Robert Fo

Re: [Freedreno] [PATCH v2 06/12] drm/msm: Add support for SM8350

2022-11-29 Thread Robert Foss
On Tue, 15 Nov 2022 at 14:42, Konrad Dybcio wrote: > > > > On 15/11/2022 14:30, Robert Foss wrote: > > Add compatibles string, "qcom,sm8350-mdss", for the multimedia display > > subsystem unit used on Qualcomm SM8350 platform. > > > > Signed-off-by: Robert Foss > > --- > > drivers/gpu/drm/msm/m

Re: [Freedreno] [PATCH v2 04/12] drm/msm/dpu: Add SM8350 to hw catalog

2022-11-29 Thread Robert Foss
On Tue, 15 Nov 2022 at 14:40, Konrad Dybcio wrote: > > > > On 15/11/2022 14:30, Robert Foss wrote: > > Add compatibility for SM8350 display subsystem, including > > required entries in DPU hw catalog. > > > > Signed-off-by: Robert Foss > > --- > > .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c|

Re: [Freedreno] [PATCH v2 10/12] arm64: dts: qcom: sm8350: Add display system nodes

2022-11-29 Thread Robert Foss
On Tue, 15 Nov 2022 at 14:47, Konrad Dybcio wrote: > > > > On 15/11/2022 14:31, Robert Foss wrote: > > Add mdss, mdss_mdp, dsi0, dsi0_phy nodes. With these > > nodes the display subsystem is configured to support > > one DSI output. > > > > Signed-off-by: Robert Foss > > --- > > arch/arm64/boot

Re: [Freedreno] [PATCH v2 1/2] dt-bindings: display/msm: add support for SM6115

2022-11-29 Thread Rob Herring
On Wed, Nov 23, 2022 at 6:17 PM Adam Skladowski wrote: > > Add DPU and MDSS schemas to describe MDSS and DPU blocks on the Qualcomm > SM6115 platform. > Configuration for DSI/PHY is shared with QCM2290 so compatibles are reused. > Lack of dsi phy supply in example is intended > due to fact on qcm2

Re: [Freedreno] [RFC PATCH 1/3] drm: Introduce color fill properties for drm plane

2022-11-29 Thread Jessica Zhang
On 11/24/2022 12:50 AM, Pekka Paalanen wrote: On Wed, 23 Nov 2022 15:27:04 -0800 Jessica Zhang wrote: On 11/9/2022 1:18 AM, Pekka Paalanen wrote: On Tue, 8 Nov 2022 23:01:47 +0100 Sebastian Wick wrote: On Tue, Nov 8, 2022 at 7:51 PM Simon Ser wrote: cc'ing Pekka and wayland-devel

Re: [Freedreno] [PATCH v2 10/12] arm64: dts: qcom: sm8350: Add display system nodes

2022-11-29 Thread Dmitry Baryshkov
On 29/11/2022 18:47, Robert Foss wrote: On Tue, 15 Nov 2022 at 14:47, Konrad Dybcio wrote: On 15/11/2022 14:31, Robert Foss wrote: Add mdss, mdss_mdp, dsi0, dsi0_phy nodes. With these nodes the display subsystem is configured to support one DSI output. Signed-off-by: Robert Foss --- ar

[Freedreno] [PATCH 00/12] SM6115 DTS changes

2022-11-29 Thread Adam Skladowski
This patch series adds bunch of new nodes also it fixes some small nitpicks in yamls and adds compatible. Adam Skladowski (12): dt-bindings: display: msm: Replace mdss with display-subsystem dt-bindings: thermal: tsens: Add SM6115 compatible arm64: dts: qcom: sm6115: Add cpufreq-hw support

[Freedreno] [PATCH 02/12] dt-bindings: thermal: tsens: Add SM6115 compatible

2022-11-29 Thread Adam Skladowski
Document compatible for tsens on Qualcomm SM6115 platform according to downstream dts it ship v2.4 of IP Signed-off-by: Adam Skladowski --- Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/qcom

[Freedreno] [PATCH 01/12] dt-bindings: display: msm: Replace mdss with display-subsystem

2022-11-29 Thread Adam Skladowski
Follow other YAMLs and replace mdss name. Signed-off-by: Adam Skladowski --- .../devicetree/bindings/display/msm/qcom,qcm2290-mdss.yaml | 2 +- .../devicetree/bindings/display/msm/qcom,sm6115-mdss.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentati

[Freedreno] [PATCH 03/12] arm64: dts: qcom: sm6115: Add cpufreq-hw support

2022-11-29 Thread Adam Skladowski
Add cpufreq-hw node and assign qcom,freq-domain properties to CPUs to enable CPU clock scaling. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qco

[Freedreno] [PATCH 05/12] arm64: dts: qcom: sm6115: Add PRNG node

2022-11-29 Thread Adam Skladowski
Add a node for the PRNG to enable hw-accelerated pseudo-random number generation. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index

[Freedreno] [PATCH 04/12] arm64: dts: qcom: sm6115: Add TSENS node

2022-11-29 Thread Adam Skladowski
Add nodes required for TSENS block using the common qcom,tsens-v2 binding. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 2

[Freedreno] [PATCH 09/12] arm64: dts: qcom: sm6115: Add GPI DMA

2022-11-29 Thread Adam Skladowski
Add GPI DMA node which will be wired to i2c/spi/uart. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index b459f1746a7f.

[Freedreno] [PATCH 10/12] arm64: dts: qcom: sm6115: Add i2c/spi nodes

2022-11-29 Thread Adam Skladowski
Add I2C/SPI nodes for SM6115. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 287 +++ 1 file changed, 287 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index e9de7aa1efdd..d14a4595be8a 1

[Freedreno] [PATCH 08/12] arm64: dts: qcom: sm6115: Add mdss/dpu node

2022-11-29 Thread Adam Skladowski
Add mdss and dpu node to enable display support on SM6115. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 183 +++ 1 file changed, 183 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index

[Freedreno] [PATCH 07/12] arm64: dts: qcom: sm6115: Add dispcc node

2022-11-29 Thread Adam Skladowski
Add display clock controller to allow controlling display related clocks. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index

[Freedreno] [PATCH 06/12] arm64: dts: qcom: sm6115: Add rpm-stats node

2022-11-29 Thread Adam Skladowski
Add rpm stats node. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 04620c272227..6d14bbcda9d3 100644 --- a/arch/arm64/boot/dts/qcom

[Freedreno] [PATCH 12/12] arm64: dts: qcom: sm6115: Fallback smmu to qcom generic compatible

2022-11-29 Thread Adam Skladowski
Change fallback to qcom generic compatible in order to prevent reboot during SMMU initialization. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dt

[Freedreno] [PATCH 11/12] arm64: dts: qcom: sm6115: Add WCN node.

2022-11-29 Thread Adam Skladowski
Add WCN node to allow using wifi module. Signed-off-by: Adam Skladowski --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index d14a4595be8a..36d1cff23d

Re: [Freedreno] [PATCH v3 2/2] drm/msm/dp: add support of max dp link rate

2022-11-29 Thread Kuogee Hsieh
On 11/18/2022 3:04 AM, Dmitry Baryshkov wrote: On 18/11/2022 01:49, Kuogee Hsieh wrote: dp_out endpoint contains both data-lanes and link-frequencies properties. This patch parser dp_out endpoint properties and acquire dp_max_lanes and dp_max_link_rate from respective property. Finally, compa

[Freedreno] [PATCH v5 0/3] Add data-lanes and link-frequencies to dp_out endpoint

2022-11-29 Thread Kuogee Hsieh
Add DP both data-lanes and link-frequencies property to dp_out endpoint and support functions to DP driver. Kuogee Hsieh (3): arm64: dts: qcom: add data-lanes and link-freuencies into dp_out endpoint drm/msm/dp: parser data-lanes and link-frequencies from endpoint node drm/msm/dp: add s

[Freedreno] [PATCH v5 1/3] arm64: dts: qcom: add data-lanes and link-freuencies into dp_out endpoint

2022-11-29 Thread Kuogee Hsieh
Move data-lanes property from mdss_dp node to dp_out endpoint. Also add link-frequencies property into dp_out endpoint as well. The last frequency specified at link-frequencies will be the max link rate supported by DP. Changes in v5: -- revert changes at sc7180.dtsi and sc7280.dtsi -- add &dp_out

[Freedreno] [PATCH v5 2/3] drm/msm/dp: parser data-lanes and link-frequencies from endpoint node

2022-11-29 Thread Kuogee Hsieh
Both data-lanes and link-frequencies are property of endpoint. This patch parser endpoint to retrieve max data lanes and max link rate supported specified at dp_out endpoint. In the case where no endpoint specified, then 4 data lanes with HBR2 link rate (5.4G) will be the default link configuration

[Freedreno] [PATCH v5 3/3] drm/msm/dp: add support of max dp link rate

2022-11-29 Thread Kuogee Hsieh
By default, HBR2 (5.4G) is the max link link be supported. This patch add the capability to support max link rate at HBR3 (8.1G). Changes in v2: -- add max link rate from dtsi Changes in v3: -- parser max_data_lanes and max_dp_link_rate from dp_out endpoint Changes in v4: -- delete unnecessary p

Re: [Freedreno] [pull] drm/msm: drm-msm-display-for-6.2

2022-11-29 Thread Dave Airlie
On Sat, 26 Nov 2022 at 20:21, Dmitry Baryshkov wrote: > > Hi Dave, > > As agreed with Rob Clark, a pull request for the non-GPU part of the drm/msm > driver. Summary below. > > The following changes since commit 7f7a942c0a338c4a2a7b359bdb2b68e9896122ec: > > Merge tag 'drm-next-20221025' of git: