Skip to contentSkip to conversation

X1E Dell XPS 9345 External DisplayPort, HBR3 fixes

PATCH Applied Aleksandrs Vinarskis 3 participants 10 messages Feb 26, 2025 – Mar 4, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover X1E Dell XPS 9345 External DisplayPort, HBR3 fixes

As initial LTTPR support for msm driver [1] has landed, enable external DisplayPort on Dell XPS 9345. It appears that supported frequencies need to be listed to allow HBR3 speeds.

While at it, enable HBR3 speeds on other X1E laptops that have external DisplayPort enabled already.

These patches were extensively tested over the past few months on Ubuntu's X1E concept tree [2].

[1] https://lore.kernel.org/all/20250203-drm-dp-msm-add-lttpr-transparent-mode-set-v5-0-c865d0e56d6e@linaro.org/
[2] https://git.launchpad.net/~ubuntu-concept/ubuntu/+source/linux/+git/oracular/refs/?h=qcom-x1e

Aleksandrs Vinarskis (4):
arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable external DP support
arm64: dts: qcom: x1e001de-devkit: Enable HBR3 on external DPs
arm64: dts: qcom: x1e80100-hp-x14: Enable HBR3 on external DPs
arm64: dts: qcom: x1e80100-qcp: Enable HBR3 on external DPs

 arch/arm64/boot/dts/qcom/x1e001de-devkit.dts   |  3 +++
 .../boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 18 ++++++++++++++++++
 .../boot/dts/qcom/x1e80100-hp-omnibook-x14.dts |  2 ++
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts      |  3 +++
 4 files changed, 26 insertions(+)
Signature · 1 line
2.45.2
#1 lore raw

PATCH 1/4 arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable external DP support

Particular laptops comes with two USB Type-C ports, both supporting DP alt mode. Enable output on both of them. Explicitly list supported frequencies including HBR3/8.1Gbps for all external DisplayPort(s).

Due to support missing in the USB/DisplayPort combo PHY driver, the external DisplayPort is limited to 2 lanes.

Derived from:
arm64: dts: qcom: x1e80100-t14s: Add external DP support

---
 .../boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts +18 -0
index 86e87f03b0ec..124051334be0 100644
@@ -770,6 +770,24 @@ &mdss {
 	status = "okay";
 };
 
+&mdss_dp0 {
+	status = "okay";
+};
+
+&mdss_dp0_out {
+	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+};
+
+&mdss_dp1 {
+	status = "okay";
+};
+
+&mdss_dp1_out {
+	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
+};
+
 &mdss_dp3 {
 	/delete-property/ #sound-dai-cells;
 
Signature · 1 line
2.45.2
Reviewed-by on v1 1/4
#2 lore raw

Re: [PATCH v1 1/4] arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable external DP support

Quoted 4 lines · Aleksandrs Vinarskis

Particular laptops comes with two USB Type-C ports, both supporting DP alt mode. Enable output on both of them. Explicitly list supported frequencies including HBR3/8.1Gbps for all external DisplayPort(s).

Quoted 8 lines

Due to support missing in the USB/DisplayPort combo PHY driver, the external DisplayPort is limited to 2 lanes.

Derived from:
arm64: dts: qcom: x1e80100-t14s: Add external DP support

---

Konrad

#3 lore raw

PATCH 2/4 arm64: dts: qcom: x1e001de-devkit: Enable HBR3 on external DPs

In reply to Aleksandrs Vinarskis

When no link frequencies are set, msm/dp driver defaults to HBR2 speed. Explicitly list supported frequencies including HBR3/8.1Gbps for all external DisplayPort(s).

---
 arch/arm64/boot/dts/qcom/x1e001de-devkit.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/qcom/x1e001de-devkit.dts +3 -0
index 5e3970b26e2f..602bd793e09c 100644
@@ -942,6 +942,7 @@ &mdss_dp0 {
 
 &mdss_dp0_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_dp1 {
@@ -950,6 +951,7 @@ &mdss_dp1 {
 
 &mdss_dp1_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_dp2 {
@@ -958,6 +960,7 @@ &mdss_dp2 {
 
 &mdss_dp2_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &pcie4 {
Signature · 1 line
2.45.2
#5 lore raw

PATCH 3/4 arm64: dts: qcom: x1e80100-hp-x14: Enable HBR3 on external DPs

In reply to Aleksandrs Vinarskis

When no link frequencies are set, msm/dp driver defaults to HBR2 speed. Explicitly list supported frequencies including HBR3/8.1Gbps for all external DisplayPort(s).

---
 arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +2 -0
index cd860a246c45..569748c48200 100644
@@ -1139,6 +1139,7 @@ &mdss_dp0 {
 
 &mdss_dp0_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_dp1 {
@@ -1147,6 +1148,7 @@ &mdss_dp1 {
 
 &mdss_dp1_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_dp3 {
Signature · 1 line
2.45.2
#7 lore raw

PATCH 4/4 arm64: dts: qcom: x1e80100-qcp: Enable HBR3 on external DPs

In reply to Aleksandrs Vinarskis

When no link frequencies are set, msm/dp driver defaults to HBR2 speed. Explicitly list supported frequencies including HBR3/8.1Gbps for all external DisplayPort(s).

---
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +3 -0
index ec594628304a..600d0c8a08ef 100644
@@ -751,6 +751,7 @@ &mdss_dp0 {
 
 &mdss_dp0_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_dp1 {
@@ -759,6 +760,7 @@ &mdss_dp1 {
 
 &mdss_dp1_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_dp2 {
@@ -767,6 +769,7 @@ &mdss_dp2 {
 
 &mdss_dp2_out {
 	data-lanes = <0 1>;
+	link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
 };
 
 &mdss_dp3 {
Signature · 1 line
2.45.2
maintainer Applied
#9 lore raw
In reply to Aleksandrs Vinarskis
Quoted 8 lines · Aleksandrs Vinarskis

As initial LTTPR support for msm driver [1] has landed, enable external DisplayPort on Dell XPS 9345. It appears that supported frequencies need to be listed to allow HBR3 speeds.

While at it, enable HBR3 speeds on other X1E laptops that have external DisplayPort enabled already.

[...]

Applied, thanks!

[1/4] arm64: dts: qcom: x1e80100-dell-xps13-9345: Enable external DP support

      commit: 01a3d5e3cdc833292bdc80a4320235551083982f
[2/4] arm64: dts: qcom: x1e001de-devkit: Enable HBR3 on external DPs
      commit: 027dcb3de88dfd1b82f5f712361d216f209110b0
[3/4] arm64: dts: qcom: x1e80100-hp-x14: Enable HBR3 on external DPs
      commit: 9a49698252b78471a61873b4fe27dfd2e2fe2bad
[4/4] arm64: dts: qcom: x1e80100-qcp: Enable HBR3 on external DPs
      commit: c72c7105c82de59fb711f8379843f80b4abef7e3

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>