* [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 7:12 [PATCH 0/4] Add MST support for qcs8300 platform Yongxing Mou
@ 2025-02-12 7:12 ` Yongxing Mou
2025-02-12 8:35 ` Krzysztof Kozlowski
` (2 more replies)
2025-02-12 7:12 ` [PATCH 2/4] dt-bindings: display/msm: Add stream 1 pixel clock " Yongxing Mou
` (5 subsequent siblings)
6 siblings, 3 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-12 7:12 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
We need to enable mst for qcs8300, dp0 controller will support 2 streams
output. So not reuse sm8650 dp controller driver and will add a new driver
patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
to compatible with the qcs8300-dp.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
index 359e364d79b20469d41cd8416a55b6a5d5c7d8ce..59075d7f05147f1f477f236a76fee6ec5d8c5ad8 100644
--- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
@@ -18,6 +18,7 @@ properties:
compatible:
oneOf:
- enum:
+ - qcom,qcs8300-dp
- qcom,sa8775p-dp
- qcom,sc7180-dp
- qcom,sc7280-dp
@@ -37,10 +38,6 @@ properties:
- qcom,sm8450-dp
- qcom,sm8550-dp
- const: qcom,sm8350-dp
- - items:
- - enum:
- - qcom,qcs8300-dp
- - const: qcom,sm8650-dp
reg:
minItems: 4
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 7:12 ` [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300 Yongxing Mou
@ 2025-02-12 8:35 ` Krzysztof Kozlowski
2025-02-12 11:13 ` Yongxing Mou
2025-02-12 10:41 ` Dmitry Baryshkov
2025-02-12 10:42 ` Dmitry Baryshkov
2 siblings, 1 reply; 30+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-12 8:35 UTC (permalink / raw)
To: Yongxing Mou, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 12/02/2025 08:12, Yongxing Mou wrote:
> We need to enable mst for qcs8300, dp0 controller will support 2 streams
> output. So not reuse sm8650 dp controller driver and will add a new driver
> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
> to compatible with the qcs8300-dp.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
NAK. You just said qcs8300 is compatible with sm8650. I did not ask
about drivers, I asked about hardware.
This is messy approach. Describe properly the hardware first, instead of
sending two conflicting patchsets.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 8:35 ` Krzysztof Kozlowski
@ 2025-02-12 11:13 ` Yongxing Mou
2025-02-12 11:28 ` Krzysztof Kozlowski
0 siblings, 1 reply; 30+ messages in thread
From: Yongxing Mou @ 2025-02-12 11:13 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/12 16:35, Krzysztof Kozlowski wrote:
> On 12/02/2025 08:12, Yongxing Mou wrote:
>> We need to enable mst for qcs8300, dp0 controller will support 2 streams
>> output. So not reuse sm8650 dp controller driver and will add a new driver
>> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
>> to compatible with the qcs8300-dp.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> NAK. You just said qcs8300 is compatible with sm8650. I did not ask
> about drivers, I asked about hardware.
>
> This is messy approach. Describe properly the hardware first, instead of
> sending two conflicting patchsets.
>
> Best regards,
> Krzysztof
Hi, Krzysztof, thanks for reviewing, i want to explain why i submitted
this patch. Patch
https://lore.kernel.org/all/20250114-dts_qcs8300-v3-1-d114cc5e4af9@quicinc.com/
and
https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-2-1687e7842125@quicinc.com/
is the qcs8300 display enablement changes. It base on current linux base
code and it only support SST mode, so in the SST mode, qcs8300 dp
controller driver is quite same with sm8650, struct msm_dp_desc only
have 3 members(io_start, id and wide_bus_supported) and they are same
both in qcs8300 and sm8650, so we reuse it. BTW, for dp phy hardware
version, qcs8300 and sm8650 is different.
For this patch series,
https://lore.kernel.org/all/20250212-mst_qcs8300-v1-0-38a8aa08394b@quicinc.com/
, it is made on top of
https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
which is a new feature for msm platform and not fully reviewed all the
code. Currently patch series enable the MST feature for qcs8300, so the
dp controller need to support stream 1, and we need add max_streams and
intf_map in the struct msm_dp_desc to support MST. So we don't reuse the
sm8650 drivers in this patch series.
For my understanding, qcs8300 SST changes should merge
first(https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
and
https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/),
and next is the MST base commits
(https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/),
and this patch series should merge at last. why i post qcs8300
enablement changes first and then post the MST changes instead of post
them together? Because our dependency, i mean this patch series
(https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/),
it has about 45 changes, so it might take lots of time to merge. we just
want to make sure that display can work on DP SST mode first.
So I am just understand that the previous commit was not an incorrect
commit, but rather two functionalities were changed in the same place.
Thanks,
Yongxing
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 11:13 ` Yongxing Mou
@ 2025-02-12 11:28 ` Krzysztof Kozlowski
2025-02-12 13:44 ` Konrad Dybcio
0 siblings, 1 reply; 30+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-12 11:28 UTC (permalink / raw)
To: Yongxing Mou, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 12/02/2025 12:13, Yongxing Mou wrote:
>
>
> On 2025/2/12 16:35, Krzysztof Kozlowski wrote:
>> On 12/02/2025 08:12, Yongxing Mou wrote:
>>> We need to enable mst for qcs8300, dp0 controller will support 2 streams
>>> output. So not reuse sm8650 dp controller driver and will add a new driver
>>> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
>>> to compatible with the qcs8300-dp.
>>>
>>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> NAK. You just said qcs8300 is compatible with sm8650. I did not ask
>> about drivers, I asked about hardware.
>>
>> This is messy approach. Describe properly the hardware first, instead of
>> sending two conflicting patchsets.
>>
>> Best regards,
>> Krzysztof
>
> Hi, Krzysztof, thanks for reviewing, i want to explain why i submitted
> this patch. Patch
> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-1-d114cc5e4af9@quicinc.com/
> and
> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-2-1687e7842125@quicinc.com/
> is the qcs8300 display enablement changes. It base on current linux base
> code and it only support SST mode, so in the SST mode, qcs8300 dp
> controller driver is quite same with sm8650, struct msm_dp_desc only
> have 3 members(io_start, id and wide_bus_supported) and they are same
> both in qcs8300 and sm8650, so we reuse it. BTW, for dp phy hardware
> version, qcs8300 and sm8650 is different.
No. In one patchset you claim hardware is like that, in other patchset
you say hardware is different.
Sorry, hardware does not change based on your patchsets.
Sort out this before posting new versions.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 11:28 ` Krzysztof Kozlowski
@ 2025-02-12 13:44 ` Konrad Dybcio
2025-02-19 9:43 ` Yongxing Mou
0 siblings, 1 reply; 30+ messages in thread
From: Konrad Dybcio @ 2025-02-12 13:44 UTC (permalink / raw)
To: Krzysztof Kozlowski, Yongxing Mou, Rob Clark, Abhinav Kumar,
Dmitry Baryshkov, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 12.02.2025 12:28 PM, Krzysztof Kozlowski wrote:
> On 12/02/2025 12:13, Yongxing Mou wrote:
>>
>>
>> On 2025/2/12 16:35, Krzysztof Kozlowski wrote:
>>> On 12/02/2025 08:12, Yongxing Mou wrote:
>>>> We need to enable mst for qcs8300, dp0 controller will support 2 streams
>>>> output. So not reuse sm8650 dp controller driver and will add a new driver
>>>> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
>>>> to compatible with the qcs8300-dp.
>>>>
>>>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>>> NAK. You just said qcs8300 is compatible with sm8650. I did not ask
>>> about drivers, I asked about hardware.
>>>
>>> This is messy approach. Describe properly the hardware first, instead of
>>> sending two conflicting patchsets.
>>>
>>> Best regards,
>>> Krzysztof
>>
>> Hi, Krzysztof, thanks for reviewing, i want to explain why i submitted
>> this patch. Patch
>> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-1-d114cc5e4af9@quicinc.com/
>> and
>> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-2-1687e7842125@quicinc.com/
>> is the qcs8300 display enablement changes. It base on current linux base
>> code and it only support SST mode, so in the SST mode, qcs8300 dp
>> controller driver is quite same with sm8650, struct msm_dp_desc only
>> have 3 members(io_start, id and wide_bus_supported) and they are same
>> both in qcs8300 and sm8650, so we reuse it. BTW, for dp phy hardware
>> version, qcs8300 and sm8650 is different.
>
> No. In one patchset you claim hardware is like that, in other patchset
> you say hardware is different.
>
> Sorry, hardware does not change based on your patchsets.
>
> Sort out this before posting new versions.
In other words, fallback compatibles must be chosen with features that
are present in hardware, but not yet supported upstream in mind.
It's totally fine (and even preferred/expected) to describe hardware resources
(such as MST clocks here) when initially creating bindings for a piece of hw,
even though the drivers don't use them yet at that moment.
dt-bindings are supposed to give the OS a complete representation of the
hardware and ideally be immutable (which is a struggle, but we're getting
better). Driver specifics should not influence your decisions (or at least
do so very minimally) when adding these.
Now you're in a """good""" position as the display bindings haven't been merged
yet, so you can still upload a new patchset where the description is more
accurate. If it was merged, we'd have to break the ABI or add some crazy
workarounds..
Please coalesce this patchset with the "add 8300 display support" one.
Please also describe all 4 MST clocks and whatever other clocks/resets that
may be necessary down the line.
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 13:44 ` Konrad Dybcio
@ 2025-02-19 9:43 ` Yongxing Mou
0 siblings, 0 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-19 9:43 UTC (permalink / raw)
To: Konrad Dybcio, Krzysztof Kozlowski, Rob Clark, Abhinav Kumar,
Dmitry Baryshkov, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/12 21:44, Konrad Dybcio wrote:
> On 12.02.2025 12:28 PM, Krzysztof Kozlowski wrote:
>> On 12/02/2025 12:13, Yongxing Mou wrote:
>>>
>>>
>>> On 2025/2/12 16:35, Krzysztof Kozlowski wrote:
>>>> On 12/02/2025 08:12, Yongxing Mou wrote:
>>>>> We need to enable mst for qcs8300, dp0 controller will support 2 streams
>>>>> output. So not reuse sm8650 dp controller driver and will add a new driver
>>>>> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
>>>>> to compatible with the qcs8300-dp.
>>>>>
>>>>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>>>> NAK. You just said qcs8300 is compatible with sm8650. I did not ask
>>>> about drivers, I asked about hardware.
>>>>
>>>> This is messy approach. Describe properly the hardware first, instead of
>>>> sending two conflicting patchsets.
>>>>
>>>> Best regards,
>>>> Krzysztof
>>>
>>> Hi, Krzysztof, thanks for reviewing, i want to explain why i submitted
>>> this patch. Patch
>>> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-1-d114cc5e4af9@quicinc.com/
>>> and
>>> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-2-1687e7842125@quicinc.com/
>>> is the qcs8300 display enablement changes. It base on current linux base
>>> code and it only support SST mode, so in the SST mode, qcs8300 dp
>>> controller driver is quite same with sm8650, struct msm_dp_desc only
>>> have 3 members(io_start, id and wide_bus_supported) and they are same
>>> both in qcs8300 and sm8650, so we reuse it. BTW, for dp phy hardware
>>> version, qcs8300 and sm8650 is different.
>>
>> No. In one patchset you claim hardware is like that, in other patchset
>> you say hardware is different.
>>
>> Sorry, hardware does not change based on your patchsets.
>>
>> Sort out this before posting new versions.
>
> In other words, fallback compatibles must be chosen with features that
> are present in hardware, but not yet supported upstream in mind.
>
> It's totally fine (and even preferred/expected) to describe hardware resources
> (such as MST clocks here) when initially creating bindings for a piece of hw,
> even though the drivers don't use them yet at that moment.
>
> dt-bindings are supposed to give the OS a complete representation of the
> hardware and ideally be immutable (which is a struggle, but we're getting
> better). Driver specifics should not influence your decisions (or at least
> do so very minimally) when adding these.
>
> Now you're in a """good""" position as the display bindings haven't been merged
> yet, so you can still upload a new patchset where the description is more
> accurate. If it was merged, we'd have to break the ABI or add some crazy
> workarounds..
>
> Please coalesce this patchset with the "add 8300 display support" one.
>
> Please also describe all 4 MST clocks and whatever other clocks/resets that
> may be necessary down the line.
>
> Konrad
Thanks, will update it in this patch "add 8300 display support". Because
this will depend on this change:
https://patchwork.freedesktop.org/series/142016/. we will first fix our
dependecy comments and then repost it.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 7:12 ` [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300 Yongxing Mou
2025-02-12 8:35 ` Krzysztof Kozlowski
@ 2025-02-12 10:41 ` Dmitry Baryshkov
2025-02-12 10:53 ` Krzysztof Kozlowski
2025-02-12 10:42 ` Dmitry Baryshkov
2 siblings, 1 reply; 30+ messages in thread
From: Dmitry Baryshkov @ 2025-02-12 10:41 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On Wed, Feb 12, 2025 at 03:12:24PM +0800, Yongxing Mou wrote:
> We need to enable mst for qcs8300, dp0 controller will support 2 streams
> output. So not reuse sm8650 dp controller driver and will add a new driver
> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
> to compatible with the qcs8300-dp.
NAK for a different reason: QCS8300 is still compatible with SM8650.
Enable features instead of randomly reshuffle compats. In this case,
enable MST for both architectures.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> index 359e364d79b20469d41cd8416a55b6a5d5c7d8ce..59075d7f05147f1f477f236a76fee6ec5d8c5ad8 100644
> --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> @@ -18,6 +18,7 @@ properties:
> compatible:
> oneOf:
> - enum:
> + - qcom,qcs8300-dp
> - qcom,sa8775p-dp
> - qcom,sc7180-dp
> - qcom,sc7280-dp
> @@ -37,10 +38,6 @@ properties:
> - qcom,sm8450-dp
> - qcom,sm8550-dp
> - const: qcom,sm8350-dp
> - - items:
> - - enum:
> - - qcom,qcs8300-dp
> - - const: qcom,sm8650-dp
>
> reg:
> minItems: 4
>
> --
> 2.34.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 10:41 ` Dmitry Baryshkov
@ 2025-02-12 10:53 ` Krzysztof Kozlowski
2025-02-12 12:26 ` Dmitry Baryshkov
0 siblings, 1 reply; 30+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-12 10:53 UTC (permalink / raw)
To: Dmitry Baryshkov, Yongxing Mou
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On 12/02/2025 11:41, Dmitry Baryshkov wrote:
> On Wed, Feb 12, 2025 at 03:12:24PM +0800, Yongxing Mou wrote:
>> We need to enable mst for qcs8300, dp0 controller will support 2 streams
>> output. So not reuse sm8650 dp controller driver and will add a new driver
>> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
>> to compatible with the qcs8300-dp.
>
> NAK for a different reason: QCS8300 is still compatible with SM8650.
> Enable features instead of randomly reshuffle compats. In this case,
> enable MST for both architectures.
>
So the original patch was probably correct...
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 10:53 ` Krzysztof Kozlowski
@ 2025-02-12 12:26 ` Dmitry Baryshkov
2025-02-19 9:56 ` Yongxing Mou
0 siblings, 1 reply; 30+ messages in thread
From: Dmitry Baryshkov @ 2025-02-12 12:26 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Yongxing Mou, Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten,
David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On Wed, 12 Feb 2025 at 12:54, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 12/02/2025 11:41, Dmitry Baryshkov wrote:
> > On Wed, Feb 12, 2025 at 03:12:24PM +0800, Yongxing Mou wrote:
> >> We need to enable mst for qcs8300, dp0 controller will support 2 streams
> >> output. So not reuse sm8650 dp controller driver and will add a new driver
> >> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
> >> to compatible with the qcs8300-dp.
> >
> > NAK for a different reason: QCS8300 is still compatible with SM8650.
> > Enable features instead of randomly reshuffle compats. In this case,
> > enable MST for both architectures.
> >
> So the original patch was probably correct...
I have no idea. I'd let Yongxing Mou to comment on this. It would be
nice instead of getting a lengthy explanation of obvious items to get
an answer to an actual question: is QCS8300 compatible with SM8650 or
not. In other words whether they can support the same number of MST
streams on each controller or not.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 12:26 ` Dmitry Baryshkov
@ 2025-02-19 9:56 ` Yongxing Mou
2025-02-19 12:56 ` Dmitry Baryshkov
0 siblings, 1 reply; 30+ messages in thread
From: Yongxing Mou @ 2025-02-19 9:56 UTC (permalink / raw)
To: Dmitry Baryshkov, Krzysztof Kozlowski
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/12 20:26, Dmitry Baryshkov wrote:
> On Wed, 12 Feb 2025 at 12:54, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On 12/02/2025 11:41, Dmitry Baryshkov wrote:
>>> On Wed, Feb 12, 2025 at 03:12:24PM +0800, Yongxing Mou wrote:
>>>> We need to enable mst for qcs8300, dp0 controller will support 2 streams
>>>> output. So not reuse sm8650 dp controller driver and will add a new driver
>>>> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
>>>> to compatible with the qcs8300-dp.
>>>
>>> NAK for a different reason: QCS8300 is still compatible with SM8650.
>>> Enable features instead of randomly reshuffle compats. In this case,
>>> enable MST for both architectures.
>>>
>> So the original patch was probably correct...
>
> I have no idea. I'd let Yongxing Mou to comment on this. It would be
> nice instead of getting a lengthy explanation of obvious items to get
> an answer to an actual question: is QCS8300 compatible with SM8650 or
> not. In other words whether they can support the same number of MST
> streams on each controller or not.
>
Hi, in hardware, the SM8650's DP controller supports 2 INTFs, while the
QCS8300's DP0 controller supports 4 INTFs.In sst mode, only one INTF
will be used, they are same, but for MST, sm8650 supports 2 streams
while qcs8300 support 4 streams. Thanks.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-19 9:56 ` Yongxing Mou
@ 2025-02-19 12:56 ` Dmitry Baryshkov
0 siblings, 0 replies; 30+ messages in thread
From: Dmitry Baryshkov @ 2025-02-19 12:56 UTC (permalink / raw)
To: Yongxing Mou
Cc: Krzysztof Kozlowski, Rob Clark, Abhinav Kumar, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio, linux-arm-msm, dri-devel, freedreno, devicetree,
linux-kernel
On Wed, Feb 19, 2025 at 05:56:14PM +0800, Yongxing Mou wrote:
>
>
> On 2025/2/12 20:26, Dmitry Baryshkov wrote:
> > On Wed, 12 Feb 2025 at 12:54, Krzysztof Kozlowski <krzk@kernel.org> wrote:
> > >
> > > On 12/02/2025 11:41, Dmitry Baryshkov wrote:
> > > > On Wed, Feb 12, 2025 at 03:12:24PM +0800, Yongxing Mou wrote:
> > > > > We need to enable mst for qcs8300, dp0 controller will support 2 streams
> > > > > output. So not reuse sm8650 dp controller driver and will add a new driver
> > > > > patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
> > > > > to compatible with the qcs8300-dp.
> > > >
> > > > NAK for a different reason: QCS8300 is still compatible with SM8650.
> > > > Enable features instead of randomly reshuffle compats. In this case,
> > > > enable MST for both architectures.
> > > >
> > > So the original patch was probably correct...
> >
> > I have no idea. I'd let Yongxing Mou to comment on this. It would be
> > nice instead of getting a lengthy explanation of obvious items to get
> > an answer to an actual question: is QCS8300 compatible with SM8650 or
> > not. In other words whether they can support the same number of MST
> > streams on each controller or not.
> >
> Hi, in hardware, the SM8650's DP controller supports 2 INTFs, while the
> QCS8300's DP0 controller supports 4 INTFs.In sst mode, only one INTF will be
> used, they are same, but for MST, sm8650 supports 2 streams while qcs8300
> support 4 streams. Thanks.
So, they are not compatible. Please use separate compatible.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 7:12 ` [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300 Yongxing Mou
2025-02-12 8:35 ` Krzysztof Kozlowski
2025-02-12 10:41 ` Dmitry Baryshkov
@ 2025-02-12 10:42 ` Dmitry Baryshkov
2025-02-19 9:57 ` Yongxing Mou
2 siblings, 1 reply; 30+ messages in thread
From: Dmitry Baryshkov @ 2025-02-12 10:42 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On Wed, Feb 12, 2025 at 03:12:24PM +0800, Yongxing Mou wrote:
> We need to enable mst for qcs8300, dp0 controller will support 2 streams
> output. So not reuse sm8650 dp controller driver and will add a new driver
> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
> to compatible with the qcs8300-dp.
Forgot to mention that in the quick response: please fix usage of
capital or lowercase letters in the commit message. If you are unusure,
'git log' will help you.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300
2025-02-12 10:42 ` Dmitry Baryshkov
@ 2025-02-19 9:57 ` Yongxing Mou
0 siblings, 0 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-19 9:57 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/12 18:42, Dmitry Baryshkov wrote:
> On Wed, Feb 12, 2025 at 03:12:24PM +0800, Yongxing Mou wrote:
>> We need to enable mst for qcs8300, dp0 controller will support 2 streams
>> output. So not reuse sm8650 dp controller driver and will add a new driver
>> patch for qcs8300 mst feature. Modify the corresponding dt-bingding file
>> to compatible with the qcs8300-dp.
>
> Forgot to mention that in the quick response: please fix usage of
> capital or lowercase letters in the commit message. If you are unusure,
> 'git log' will help you.
>
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
>> 1 file changed, 1 insertion(+), 4 deletions(-)
>>
>
Got it , thanks. Will correct it in new patch.
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 2/4] dt-bindings: display/msm: Add stream 1 pixel clock for QCS8300
2025-02-12 7:12 [PATCH 0/4] Add MST support for qcs8300 platform Yongxing Mou
2025-02-12 7:12 ` [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300 Yongxing Mou
@ 2025-02-12 7:12 ` Yongxing Mou
2025-02-12 8:34 ` Krzysztof Kozlowski
2025-02-12 7:12 ` [PATCH 3/4] drm/msm/dp: Populate the max_streams for qcs8300 mst controller Yongxing Mou
` (4 subsequent siblings)
6 siblings, 1 reply; 30+ messages in thread
From: Yongxing Mou @ 2025-02-12 7:12 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
Support mst for qcs8300 and add the stream 1 clock support in the mdss
dt-bindings.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
.../devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
index eb7f36387f748793ebf662baded4a13a61b3ce39..610742ceebf8ee5e140a409bfeb92d9f43085214 100644
--- a/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
+++ b/Documentation/devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml
@@ -53,7 +53,6 @@ patternProperties:
compatible:
items:
- const: qcom,qcs8300-dp
- - const: qcom,sm8650-dp
required:
- compatible
@@ -164,7 +163,7 @@ examples:
};
displayport-controller@af54000 {
- compatible = "qcom,qcs8300-dp", "qcom,sm8650-dp";
+ compatible = "qcom,qcs8300-dp";
pinctrl-0 = <&dp_hot_plug_det>;
pinctrl-names = "default";
@@ -181,15 +180,18 @@ examples:
<&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
<&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK>,
<&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>,
- <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>;
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK>;
clock-names = "core_iface",
"core_aux",
"ctrl_link",
"ctrl_link_iface",
- "stream_pixel";
+ "stream_pixel",
+ "stream_1_pixel";
assigned-clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>,
- <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>;
- assigned-clock-parents = <&mdss_edp_phy 0>, <&mdss_edp_phy 1>;
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>,
+ <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>;
+ assigned-clock-parents = <&mdss_edp_phy 0>, <&mdss_edp_phy 1>, <&mdss_edp_phy 1>;
phys = <&mdss_edp_phy>;
phy-names = "dp";
operating-points-v2 = <&dp_opp_table>;
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread* Re: [PATCH 2/4] dt-bindings: display/msm: Add stream 1 pixel clock for QCS8300
2025-02-12 7:12 ` [PATCH 2/4] dt-bindings: display/msm: Add stream 1 pixel clock " Yongxing Mou
@ 2025-02-12 8:34 ` Krzysztof Kozlowski
2025-02-19 10:00 ` Yongxing Mou
0 siblings, 1 reply; 30+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-12 8:34 UTC (permalink / raw)
To: Yongxing Mou, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 12/02/2025 08:12, Yongxing Mou wrote:
> Support mst for qcs8300 and add the stream 1 clock support in the mdss
> dt-bindings.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
Your patchset leads to warnings - it is non-bisectable.
Fix original code, don't post buggy patches just to fix them immediately.
>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 2/4] dt-bindings: display/msm: Add stream 1 pixel clock for QCS8300
2025-02-12 8:34 ` Krzysztof Kozlowski
@ 2025-02-19 10:00 ` Yongxing Mou
0 siblings, 0 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-19 10:00 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/12 16:34, Krzysztof Kozlowski wrote:
> Your patchset leads to warnings - it is non-bisectable.
>
> Fix original code, don't post buggy patches just to fix them immediately.
Got it. Thanks for the reminder, won't do it again.
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 3/4] drm/msm/dp: Populate the max_streams for qcs8300 mst controller
2025-02-12 7:12 [PATCH 0/4] Add MST support for qcs8300 platform Yongxing Mou
2025-02-12 7:12 ` [PATCH 1/4] dt-bindings: display/msm: Redocument the dp-controller for QCS8300 Yongxing Mou
2025-02-12 7:12 ` [PATCH 2/4] dt-bindings: display/msm: Add stream 1 pixel clock " Yongxing Mou
@ 2025-02-12 7:12 ` Yongxing Mou
2025-02-12 7:12 ` [PATCH 4/4] arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST Yongxing Mou
` (3 subsequent siblings)
6 siblings, 0 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-12 7:12 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
Add support to program 2 streams MST for qcs8300. Previously, the
qcs8300 reused the driver of the sm8650's DP controller because they
have the same base address, offset, and number of controllers. However,
now we need to enable the MST feature for the qcs8300, so we need a new
patch The qcs8300 use the same DPU hardware as sa8775p but only have one
DPU and dp controller which supports 4 streams MST, but currently we only
enable 2 streams MST. It use the intf0 and intf3 to output the data
streams of MST0 and MST1.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
drivers/gpu/drm/msm/dp/dp_display.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c
index fbbd39d1e53ba3172757105937a528b5c58ea290..fbe4658af1be2ec8c02e8f567667f1dc93ee5537 100644
--- a/drivers/gpu/drm/msm/dp/dp_display.c
+++ b/drivers/gpu/drm/msm/dp/dp_display.c
@@ -149,6 +149,13 @@ static const unsigned int stream_intf_map_sa_8775p[][DP_STREAM_MAX] = {
{}
};
+static const struct msm_dp_desc msm_dp_desc_qcs8300[] = {
+ { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true, .max_streams = 2,
+ .intf_map = stream_intf_map_sa_8775p[MSM_DP_CONTROLLER_0],
+ },
+ {}
+};
+
static const struct msm_dp_desc msm_dp_desc_sa8775p[] = {
{ .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true, .max_streams = 2,
.intf_map = stream_intf_map_sa_8775p[MSM_DP_CONTROLLER_0],
@@ -205,6 +212,7 @@ static const struct msm_dp_desc msm_dp_desc_x1e80100[] = {
};
static const struct of_device_id msm_dp_dt_match[] = {
+ { .compatible = "qcom,qcs8300-dp", .data = &msm_dp_desc_qcs8300 },
{ .compatible = "qcom,sa8775p-dp", .data = &msm_dp_desc_sa8775p },
{ .compatible = "qcom,sc7180-dp", .data = &msm_dp_desc_sc7180 },
{ .compatible = "qcom,sc7280-dp", .data = &msm_dp_desc_sc7280 },
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 4/4] arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST
2025-02-12 7:12 [PATCH 0/4] Add MST support for qcs8300 platform Yongxing Mou
` (2 preceding siblings ...)
2025-02-12 7:12 ` [PATCH 3/4] drm/msm/dp: Populate the max_streams for qcs8300 mst controller Yongxing Mou
@ 2025-02-12 7:12 ` Yongxing Mou
2025-02-12 23:41 ` Konrad Dybcio
2025-02-12 9:06 ` [PATCH 0/4] Add MST support for qcs8300 platform Krzysztof Kozlowski
` (2 subsequent siblings)
6 siblings, 1 reply; 30+ messages in thread
From: Yongxing Mou @ 2025-02-12 7:12 UTC (permalink / raw)
To: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel,
Yongxing Mou
Add 2 streams MST support for qcs8300. Compatile with qcs8300 dp
controller driver and populate the stream clock for qcs8300 DP0
controller in MST mode.
Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
---
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
index e10db7275accf769500abbebf57a6cbbbc4bf167..5166686981617707ba19245723e9215a53300392 100644
--- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi
@@ -2865,12 +2865,13 @@ mdss_dp0_phy: phy@aec2a00 {
};
mdss_dp0: displayport-controller@af54000 {
- compatible = "qcom,qcs8300-dp", "qcom,sm8650-dp";
+ compatible = "qcom,qcs8300-dp";
reg = <0x0 0x0af54000 0x0 0x200>,
<0x0 0x0af54200 0x0 0x200>,
<0x0 0x0af55000 0x0 0xc00>,
- <0x0 0x0af56000 0x0 0x400>;
+ <0x0 0x0af56000 0x0 0x400>,
+ <0x0 0x0af57000 0x0 0x400>;
interrupt-parent = <&mdss>;
interrupts = <12>;
@@ -2884,10 +2885,13 @@ mdss_dp0: displayport-controller@af54000 {
"core_aux",
"ctrl_link",
"ctrl_link_iface",
- "stream_pixel";
+ "stream_pixel",
+ "stream_1_pixel";
assigned-clocks = <&dispcc MDSS_DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>,
- <&dispcc MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>;
+ <&dispcc MDSS_DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>,
+ <&dispcc MDSS_DISP_CC_MDSS_DPTX0_PIXEL1_CLK_SRC>;
assigned-clock-parents = <&mdss_dp0_phy 0>,
+ <&mdss_dp0_phy 1>,
<&mdss_dp0_phy 1>;
phys = <&mdss_dp0_phy>;
phy-names = "dp";
--
2.34.1
^ permalink raw reply related [flat|nested] 30+ messages in thread* Re: [PATCH 4/4] arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST
2025-02-12 7:12 ` [PATCH 4/4] arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST Yongxing Mou
@ 2025-02-12 23:41 ` Konrad Dybcio
2025-02-19 10:00 ` Yongxing Mou
0 siblings, 1 reply; 30+ messages in thread
From: Konrad Dybcio @ 2025-02-12 23:41 UTC (permalink / raw)
To: Yongxing Mou, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 12.02.2025 8:12 AM, Yongxing Mou wrote:
> Add 2 streams MST support for qcs8300. Compatile with qcs8300 dp
> controller driver and populate the stream clock for qcs8300 DP0
> controller in MST mode.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
Please add all required resources for quad-MST operation
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 4/4] arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST
2025-02-12 23:41 ` Konrad Dybcio
@ 2025-02-19 10:00 ` Yongxing Mou
0 siblings, 0 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-19 10:00 UTC (permalink / raw)
To: Konrad Dybcio, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/13 7:41, Konrad Dybcio wrote:
> On 12.02.2025 8:12 AM, Yongxing Mou wrote:
>> Add 2 streams MST support for qcs8300. Compatile with qcs8300 dp
>> controller driver and populate the stream clock for qcs8300 DP0
>> controller in MST mode.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>
> Please add all required resources for quad-MST operation
>
> Konrad
Goit it, Thanks.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-12 7:12 [PATCH 0/4] Add MST support for qcs8300 platform Yongxing Mou
` (3 preceding siblings ...)
2025-02-12 7:12 ` [PATCH 4/4] arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST Yongxing Mou
@ 2025-02-12 9:06 ` Krzysztof Kozlowski
2025-02-19 10:02 ` Yongxing Mou
2025-02-12 10:51 ` Dmitry Baryshkov
2025-02-12 14:35 ` Rob Herring
6 siblings, 1 reply; 30+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-12 9:06 UTC (permalink / raw)
To: Yongxing Mou, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 12/02/2025 08:12, Yongxing Mou wrote:
> This series of patches introduces how to enable MST functionality on
> the qcs8300 platform. The qcs8300 platform uses dpu_8_4 hardware, which
> is the same as the sa8775p, but it only has one DPU. So it only has one
> DP0 controller, supporting 4-stream MST. This patch only enables
> 2-stream MST, using intf0 and intf3. The first and second patches are
> modifications to the correspond dt-bindings, third patch is the dp
> controller driver after not reuse sm8650, fourth patch is the qcs8300
> dts modification which add the clk support for stream 1.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> This patch depends on following series:
> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
Buggy patch cannot be the dependency. You need to fix the original patch
instead. You are not supposed to wait till knowingly incorrect patches
get merged so you can send a fix. You must respond to that patch
stopping its merging process.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 30+ messages in thread* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-12 9:06 ` [PATCH 0/4] Add MST support for qcs8300 platform Krzysztof Kozlowski
@ 2025-02-19 10:02 ` Yongxing Mou
2025-02-19 10:58 ` Dmitry Baryshkov
2025-02-19 12:07 ` Krzysztof Kozlowski
0 siblings, 2 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-19 10:02 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/12 17:06, Krzysztof Kozlowski wrote:
> On 12/02/2025 08:12, Yongxing Mou wrote:
>> This series of patches introduces how to enable MST functionality on
>> the qcs8300 platform. The qcs8300 platform uses dpu_8_4 hardware, which
>> is the same as the sa8775p, but it only has one DPU. So it only has one
>> DP0 controller, supporting 4-stream MST. This patch only enables
>> 2-stream MST, using intf0 and intf3. The first and second patches are
>> modifications to the correspond dt-bindings, third patch is the dp
>> controller driver after not reuse sm8650, fourth patch is the qcs8300
>> dts modification which add the clk support for stream 1.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> This patch depends on following series:
>> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
>> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
>> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
>> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
>
> Buggy patch cannot be the dependency. You need to fix the original patch
> instead. You are not supposed to wait till knowingly incorrect patches
> get merged so you can send a fix. You must respond to that patch
> stopping its merging process.
>
> Best regards,
> Krzysztof
Thanks for the reminder. I hadn't noticed that before. We will wait for
our dependencies to be ready before sending the new patchset.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-19 10:02 ` Yongxing Mou
@ 2025-02-19 10:58 ` Dmitry Baryshkov
2025-02-19 12:07 ` Krzysztof Kozlowski
1 sibling, 0 replies; 30+ messages in thread
From: Dmitry Baryshkov @ 2025-02-19 10:58 UTC (permalink / raw)
To: Yongxing Mou
Cc: Krzysztof Kozlowski, Rob Clark, Abhinav Kumar, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio, linux-arm-msm, dri-devel, freedreno, devicetree,
linux-kernel
On Wed, Feb 19, 2025 at 06:02:27PM +0800, Yongxing Mou wrote:
>
>
> On 2025/2/12 17:06, Krzysztof Kozlowski wrote:
> > On 12/02/2025 08:12, Yongxing Mou wrote:
> > > This series of patches introduces how to enable MST functionality on
> > > the qcs8300 platform. The qcs8300 platform uses dpu_8_4 hardware, which
> > > is the same as the sa8775p, but it only has one DPU. So it only has one
> > > DP0 controller, supporting 4-stream MST. This patch only enables
> > > 2-stream MST, using intf0 and intf3. The first and second patches are
> > > modifications to the correspond dt-bindings, third patch is the dp
> > > controller driver after not reuse sm8650, fourth patch is the qcs8300
> > > dts modification which add the clk support for stream 1.
> > >
> > > Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> > > ---
> > > This patch depends on following series:
> > > https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
> > > https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
> > > https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
> > > https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
> >
> > Buggy patch cannot be the dependency. You need to fix the original patch
> > instead. You are not supposed to wait till knowingly incorrect patches
> > get merged so you can send a fix. You must respond to that patch
> > stopping its merging process.
> >
> > Best regards,
> > Krzysztof
> Thanks for the reminder. I hadn't noticed that before. We will wait for our
> dependencies to be ready before sending the new patchset.
Hmm, no. Work with Abhinav and send the bindings (including all 4
stream clocks) and platform enablement. Then MST support can come up
together with the rest of MST patchset.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-19 10:02 ` Yongxing Mou
2025-02-19 10:58 ` Dmitry Baryshkov
@ 2025-02-19 12:07 ` Krzysztof Kozlowski
2025-02-20 7:33 ` Yongxing Mou
1 sibling, 1 reply; 30+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-19 12:07 UTC (permalink / raw)
To: Yongxing Mou, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 19/02/2025 11:02, Yongxing Mou wrote:
>
>
> On 2025/2/12 17:06, Krzysztof Kozlowski wrote:
>> On 12/02/2025 08:12, Yongxing Mou wrote:
>>> This series of patches introduces how to enable MST functionality on
>>> the qcs8300 platform. The qcs8300 platform uses dpu_8_4 hardware, which
>>> is the same as the sa8775p, but it only has one DPU. So it only has one
>>> DP0 controller, supporting 4-stream MST. This patch only enables
>>> 2-stream MST, using intf0 and intf3. The first and second patches are
>>> modifications to the correspond dt-bindings, third patch is the dp
>>> controller driver after not reuse sm8650, fourth patch is the qcs8300
>>> dts modification which add the clk support for stream 1.
>>>
>>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>>> ---
>>> This patch depends on following series:
>>> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
>>> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
>>> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
>>> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
>>
>> Buggy patch cannot be the dependency. You need to fix the original patch
>> instead. You are not supposed to wait till knowingly incorrect patches
>> get merged so you can send a fix. You must respond to that patch
>> stopping its merging process.
>>
>> Best regards,
>> Krzysztof
> Thanks for the reminder. I hadn't noticed that before. We will wait for
> our dependencies to be ready before sending the new patchset.
So this means you intend the knowingly incorrect patch to be applied? If
so, all this should be just NAKed.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-19 12:07 ` Krzysztof Kozlowski
@ 2025-02-20 7:33 ` Yongxing Mou
0 siblings, 0 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-20 7:33 UTC (permalink / raw)
To: Krzysztof Kozlowski, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
Sean Paul, Marijn Suijten, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Bjorn Andersson,
Konrad Dybcio
Cc: linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/19 20:07, Krzysztof Kozlowski wrote:
> On 19/02/2025 11:02, Yongxing Mou wrote:
>>
>>
>> On 2025/2/12 17:06, Krzysztof Kozlowski wrote:
>>> On 12/02/2025 08:12, Yongxing Mou wrote:
>>>> This series of patches introduces how to enable MST functionality on
>>>> the qcs8300 platform. The qcs8300 platform uses dpu_8_4 hardware, which
>>>> is the same as the sa8775p, but it only has one DPU. So it only has one
>>>> DP0 controller, supporting 4-stream MST. This patch only enables
>>>> 2-stream MST, using intf0 and intf3. The first and second patches are
>>>> modifications to the correspond dt-bindings, third patch is the dp
>>>> controller driver after not reuse sm8650, fourth patch is the qcs8300
>>>> dts modification which add the clk support for stream 1.
>>>>
>>>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>>>> ---
>>>> This patch depends on following series:
>>>> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
>>>> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
>>>> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
>>>> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
>>>
>>> Buggy patch cannot be the dependency. You need to fix the original patch
>>> instead. You are not supposed to wait till knowingly incorrect patches
>>> get merged so you can send a fix. You must respond to that patch
>>> stopping its merging process.
>>>
>>> Best regards,
>>> Krzysztof
>> Thanks for the reminder. I hadn't noticed that before. We will wait for
>> our dependencies to be ready before sending the new patchset.
>
> So this means you intend the knowingly incorrect patch to be applied? If
> so, all this should be just NAKed.
>
> Best regards,
> Krzysztof
Hi, that is not my intention. I will correct the patch after i know it
is incorrect. Thanks.
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-12 7:12 [PATCH 0/4] Add MST support for qcs8300 platform Yongxing Mou
` (4 preceding siblings ...)
2025-02-12 9:06 ` [PATCH 0/4] Add MST support for qcs8300 platform Krzysztof Kozlowski
@ 2025-02-12 10:51 ` Dmitry Baryshkov
2025-02-19 10:07 ` Yongxing Mou
2025-02-12 14:35 ` Rob Herring
6 siblings, 1 reply; 30+ messages in thread
From: Dmitry Baryshkov @ 2025-02-12 10:51 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On Wed, Feb 12, 2025 at 03:12:23PM +0800, Yongxing Mou wrote:
> This series of patches introduces how to enable MST functionality on
> the qcs8300 platform.
> The qcs8300 platform uses dpu_8_4 hardware, which
> is the same as the sa8775p, but it only has one DPU. So it only has one
> DP0 controller, supporting 4-stream MST.
This is irrelevant, unless you want to point out something else.
> This patch only enables
> 2-stream MST, using intf0 and intf3. The first and second patches are
> modifications to the correspond dt-bindings, third patch is the dp
> controller driver after not reuse sm8650, fourth patch is the qcs8300
> dts modification which add the clk support for stream 1.
This is obvious. Really. Instead you must explain why QCS8300 isn't
compatible with SM8650. How many streams are supported by the SM8650?
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> This patch depends on following series:
> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
>
Please don't patches against series which were requested to be changed
singificantly. Don't spam mailing lists just to be able to 'FROMLIST'
them. Instead work with Abhinav to get this patchset integrated into his
next iteration of the series.
> ---
> Yongxing Mou (4):
> dt-bindings: display/msm: Redocument the dp-controller for QCS8300
> dt-bindings: display/msm: Add stream 1 pixel clock for QCS8300
> drm/msm/dp: Populate the max_streams for qcs8300 mst controller
> arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST
>
> .../devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
> .../devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml | 14 ++++++++------
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 12 ++++++++----
> drivers/gpu/drm/msm/dp/dp_display.c | 8 ++++++++
> 4 files changed, 25 insertions(+), 14 deletions(-)
> ---
> base-commit: 7ba9bcc5090556c007d9a718d7176e097fe54f19
> change-id: 20250211-mst_qcs8300-4c18a5179165
>
> Best regards,
> --
> Yongxing Mou <quic_yongmou@quicinc.com>
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 30+ messages in thread* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-12 10:51 ` Dmitry Baryshkov
@ 2025-02-19 10:07 ` Yongxing Mou
0 siblings, 0 replies; 30+ messages in thread
From: Yongxing Mou @ 2025-02-19 10:07 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Rob Clark, Abhinav Kumar, Sean Paul, Marijn Suijten, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel
On 2025/2/12 18:51, Dmitry Baryshkov wrote:
> On Wed, Feb 12, 2025 at 03:12:23PM +0800, Yongxing Mou wrote:
>> This series of patches introduces how to enable MST functionality on
>> the qcs8300 platform.
>
>> The qcs8300 platform uses dpu_8_4 hardware, which
>> is the same as the sa8775p, but it only has one DPU. So it only has one
>> DP0 controller, supporting 4-stream MST.
>
> This is irrelevant, unless you want to point out something else.
Got it.
>
>> This patch only enables
>> 2-stream MST, using intf0 and intf3. The first and second patches are
>> modifications to the correspond dt-bindings, third patch is the dp
>> controller driver after not reuse sm8650, fourth patch is the qcs8300
>> dts modification which add the clk support for stream 1.
>
> This is obvious. Really. Instead you must explain why QCS8300 isn't
> compatible with SM8650. How many streams are supported by the SM8650?
>
Got it, will update in new patchset.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> This patch depends on following series:
>> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
>> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
>> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
>> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
>>
>
> Please don't patches against series which were requested to be changed
> singificantly. Don't spam mailing lists just to be able to 'FROMLIST'
> them. Instead work with Abhinav to get this patchset integrated into his
> next iteration of the series.
>
Emmm, got it, thanks for reminder. Will work with Abhinav to modify the
MST patchset comments first. And then repost qcs8300 enablement changes.
>> ---
>> Yongxing Mou (4):
>> dt-bindings: display/msm: Redocument the dp-controller for QCS8300
>> dt-bindings: display/msm: Add stream 1 pixel clock for QCS8300
>> drm/msm/dp: Populate the max_streams for qcs8300 mst controller
>> arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST
>>
>> .../devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
>> .../devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml | 14 ++++++++------
>> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 12 ++++++++----
>> drivers/gpu/drm/msm/dp/dp_display.c | 8 ++++++++
>> 4 files changed, 25 insertions(+), 14 deletions(-)
>> ---
>> base-commit: 7ba9bcc5090556c007d9a718d7176e097fe54f19
>> change-id: 20250211-mst_qcs8300-4c18a5179165
>>
>> Best regards,
>> --
>> Yongxing Mou <quic_yongmou@quicinc.com>
>>
>
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-12 7:12 [PATCH 0/4] Add MST support for qcs8300 platform Yongxing Mou
` (5 preceding siblings ...)
2025-02-12 10:51 ` Dmitry Baryshkov
@ 2025-02-12 14:35 ` Rob Herring
2025-02-12 14:54 ` Konrad Dybcio
6 siblings, 1 reply; 30+ messages in thread
From: Rob Herring @ 2025-02-12 14:35 UTC (permalink / raw)
To: Yongxing Mou
Cc: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Krzysztof Kozlowski,
Conor Dooley, Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio,
linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On Wed, Feb 12, 2025 at 03:12:23PM +0800, Yongxing Mou wrote:
> This series of patches introduces how to enable MST functionality on
> the qcs8300 platform. The qcs8300 platform uses dpu_8_4 hardware, which
> is the same as the sa8775p, but it only has one DPU. So it only has one
> DP0 controller, supporting 4-stream MST. This patch only enables
> 2-stream MST, using intf0 and intf3. The first and second patches are
> modifications to the correspond dt-bindings, third patch is the dp
> controller driver after not reuse sm8650, fourth patch is the qcs8300
> dts modification which add the clk support for stream 1.
>
> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
> ---
> This patch depends on following series:
> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
>
> ---
> Yongxing Mou (4):
> dt-bindings: display/msm: Redocument the dp-controller for QCS8300
> dt-bindings: display/msm: Add stream 1 pixel clock for QCS8300
> drm/msm/dp: Populate the max_streams for qcs8300 mst controller
> arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST
>
> .../devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
> .../devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml | 14 ++++++++------
> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 12 ++++++++----
> drivers/gpu/drm/msm/dp/dp_display.c | 8 ++++++++
> 4 files changed, 25 insertions(+), 14 deletions(-)
> ---
> base-commit: 7ba9bcc5090556c007d9a718d7176e097fe54f19
Your series doesn't apply because this commit doesn't exist in any repo
I have.
Rob
^ permalink raw reply [flat|nested] 30+ messages in thread* Re: [PATCH 0/4] Add MST support for qcs8300 platform
2025-02-12 14:35 ` Rob Herring
@ 2025-02-12 14:54 ` Konrad Dybcio
0 siblings, 0 replies; 30+ messages in thread
From: Konrad Dybcio @ 2025-02-12 14:54 UTC (permalink / raw)
To: Rob Herring, Yongxing Mou
Cc: Rob Clark, Abhinav Kumar, Dmitry Baryshkov, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Krzysztof Kozlowski,
Conor Dooley, Kuogee Hsieh, Bjorn Andersson, Konrad Dybcio,
linux-arm-msm, dri-devel, freedreno, devicetree, linux-kernel
On 12.02.2025 3:35 PM, Rob Herring wrote:
> On Wed, Feb 12, 2025 at 03:12:23PM +0800, Yongxing Mou wrote:
>> This series of patches introduces how to enable MST functionality on
>> the qcs8300 platform. The qcs8300 platform uses dpu_8_4 hardware, which
>> is the same as the sa8775p, but it only has one DPU. So it only has one
>> DP0 controller, supporting 4-stream MST. This patch only enables
>> 2-stream MST, using intf0 and intf3. The first and second patches are
>> modifications to the correspond dt-bindings, third patch is the dp
>> controller driver after not reuse sm8650, fourth patch is the qcs8300
>> dts modification which add the clk support for stream 1.
>>
>> Signed-off-by: Yongxing Mou <quic_yongmou@quicinc.com>
>> ---
>> This patch depends on following series:
>> https://lore.kernel.org/all/20250120-mdssdt_qcs8300-v4-0-1687e7842125@quicinc.com/
>> https://lore.kernel.org/all/20250114-dts_qcs8300-v3-0-d114cc5e4af9@quicinc.com/
>> https://lore.kernel.org/all/20241202-dp_mst_bindings-v1-0-9a9a43b0624a@quicinc.com
>> https://lore.kernel.org/all/20241205-dp_mst-v1-0-f8618d42a99a@quicinc.com/
>>
>> ---
>> Yongxing Mou (4):
>> dt-bindings: display/msm: Redocument the dp-controller for QCS8300
>> dt-bindings: display/msm: Add stream 1 pixel clock for QCS8300
>> drm/msm/dp: Populate the max_streams for qcs8300 mst controller
>> arm64: dts: qcom: qcs8300: Add support for stream 1 clk for DP MST
>>
>> .../devicetree/bindings/display/msm/dp-controller.yaml | 5 +----
>> .../devicetree/bindings/display/msm/qcom,qcs8300-mdss.yaml | 14 ++++++++------
>> arch/arm64/boot/dts/qcom/qcs8300.dtsi | 12 ++++++++----
>> drivers/gpu/drm/msm/dp/dp_display.c | 8 ++++++++
>> 4 files changed, 25 insertions(+), 14 deletions(-)
>> ---
>> base-commit: 7ba9bcc5090556c007d9a718d7176e097fe54f19
>
> Your series doesn't apply because this commit doesn't exist in any repo
> I have.
Please refrain from merging this revision, we found some issues
Konrad
^ permalink raw reply [flat|nested] 30+ messages in thread