Skip to contentSkip to conversation

arm64: dts: mediatek: mt8186-corsola: Disable DPI display interface

PATCH Applied Chen-Yu Tsai 4 participants 4 messages Aug 21, 2024 – Sep 2, 2024

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

PATCH 1/1 arm64: dts: mediatek: mt8186-corsola: Disable DPI display interface

The DPI display interface feeds the external display pipeline. However the pipeline representation is currently incomplete. Efforts are still under way to come up with a way to represent the "creative" repurposing of the DP bridge chip's internal output mux, which is meant to support USB type-C orientation changes, to output to one of two type-C ports.

Until that is finalized, the external display can't be fully described, and thus won't work. Even worse, the half complete graph potentially confuses the OS, breaking the internal display as well.

Disable the external display interface across the whole Corsola family until the DP / USB Type-C muxing graph binding is ready.

Fixes 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool")

---
Stephen has recently posted the "platform/chrome: Add DT USB/DP muxing/topology support" patch series, which is now up to v3 [1]. More work based on this series is needed for the DP bridge drivers.

[1] https://lore.kernel.org/dri-devel/[email protected]/

---
 arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +2 -1
index 0c4a26117428..682c6ad2574d 100644
@@ -353,7 +353,8 @@ &dpi {
 	pinctrl-names = "default", "sleep";
 	pinctrl-0 = <&dpi_pins_default>;
 	pinctrl-1 = <&dpi_pins_sleep>;
-	status = "okay";
+	/* TODO Re-enable after DP to Type-C port muxing can be described */
+	status = "disabled";
 };
 
 &dpi_out {
Signature · 1 line
2.46.0.184.g6999bdac58-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Chen-Yu Tsai

The DPI display interface feeds the external display pipeline. However the pipeline representation is currently incomplete. Efforts are still under way to come up with a way to represent the "creative" repurposing of the DP bridge chip's internal output mux, which is meant to support USB type-C orientation changes, to output to one of two type-C ports.

Until that is finalized, the external display can't be fully described, and thus won't work. Even worse, the half complete graph potentially confuses the OS, breaking the internal display as well.

Quoted 8 lines

Disable the external display interface across the whole Corsola family until the DP / USB Type-C muxing graph binding is ready.

Fixes 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool")

Would be good to have Alper verify that with this change the internal display works again in their specific setup, although this change seems reasonable to me either way.

Thanks,
Nícolas

#2 lore raw

Hi,

Quoted 20 lines · Nícolas F. R. A. Prado
Quoted 10 lines · Chen-Yu Tsai

The DPI display interface feeds the external display pipeline. However the pipeline representation is currently incomplete. Efforts are still under way to come up with a way to represent the "creative" repurposing of the DP bridge chip's internal output mux, which is meant to support USB type-C orientation changes, to output to one of two type-C ports.

Until that is finalized, the external display can't be fully described, and thus won't work. Even worse, the half complete graph potentially confuses the OS, breaking the internal display as well.

Quoted 8 lines

Disable the external display interface across the whole Corsola family until the DP / USB Type-C muxing graph binding is ready.

Fixes 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool")
Quoted 5 lines

Would be good to have Alper verify that with this change the internal display works again in their specific setup, although this change seems reasonable to me either way.

Fixes that linked issue I had with internal display on my magneton. And apparently I don't even need a custom kernel for it, I managed to get the display working on Debian's v6.11-rc4 build with this dts change (and softdep mediatek-drm pre: mtk-iommu mt6358-regulator iirc).

Thanks!

maintainer Applied
#3 lore raw
In reply to Chen-Yu Tsai
Quoted 10 lines · Chen-Yu Tsai

The DPI display interface feeds the external display pipeline. However the pipeline representation is currently incomplete. Efforts are still under way to come up with a way to represent the "creative" repurposing of the DP bridge chip's internal output mux, which is meant to support USB type-C orientation changes, to output to one of two type-C ports.

Until that is finalized, the external display can't be fully described, and thus won't work. Even worse, the half complete graph potentially confuses the OS, breaking the internal display as well.

Quoted 8 lines

Disable the external display interface across the whole Corsola family until the DP / USB Type-C muxing graph binding is ready.

Fixes 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool")

Applied, thanks

Quoted 24 lines

---
Stephen has recently posted the "platform/chrome: Add DT USB/DP muxing/topology support" patch series, which is now up to v3 [1]. More work based on this series is needed for the DP bridge drivers.

[1] https://lore.kernel.org/dri-devel/[email protected]/

---
  arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +2 -1
index 0c4a26117428..682c6ad2574d 100644
@@ -353,7 +353,8 @@ &dpi {
  	pinctrl-names = "default", "sleep";
  	pinctrl-0 = <&dpi_pins_default>;
  	pinctrl-1 = <&dpi_pins_sleep>;
-	status = "okay";
+	/* TODO Re-enable after DP to Type-C port muxing can be described */
+	status = "disabled";
  };
 
  &dpi_out {