Skip to contentSkip to conversation

drm/ast regression, when upgrading from v6.3 to v6.6

DISCUSSION Jocelyn Falempe 2 participants 3 messages Feb 13, 2025

lore
Share & tools
lore
#0 lore raw

Hi Thomas and Jammy,

I've got a regression report, and it's caused by https://patchwork.freedesktop.org/patch/540015/
On this ast2600 server, the firmware says it has a DP output, but physically, there is only one VGA output.
Before this commit, "ast->tx_chip_types |= BIT(AST_TX_ASTDP)" means it will have both VGA and DP configured, but after this changed to "ast->tx_chip_types = AST_TX_ASTDP_BIT" and the VGA connector disappear. The EDID of the VGA monitor is not read anymore, and a wrong resolution is setup causing a blank screen.

Of course fixing the firmware would be the best solution, it's not always possible.

I'm considering different options:
- Add a kernel module parameter to override the tx_chip_types, something like "ast.output=vga"
- Add a DMI quirk, to force vga on this particular motherboard.

What do you think?

Best regards,

Signature · 1 line
Jocelyn
#1 lore raw

Hi

Am 13.02.25 um 14:33 schrieb Jocelyn Falempe:

Quoted 5 lines

Hi Thomas and Jammy,

I've got a regression report, and it's caused by https://patchwork.freedesktop.org/patch/540015/
On this ast2600 server, the firmware says it has a DP output, but physically, there is only one VGA output.
Before this commit, "ast->tx_chip_types |= BIT(AST_TX_ASTDP)" means it will have both VGA and DP configured, but after this changed to "ast->tx_chip_types = AST_TX_ASTDP_BIT" and the VGA connector disappear.

Having multiple outputs (besides the virtual BMC) was never really supported. DRM userspace also doesn't really support it. You likely remember that we had problems when the BMC was a separate output.

Quoted 7 lines

The EDID of the VGA monitor is not read anymore, and a wrong resolution is setup causing a blank screen.

Of course fixing the firmware would be the best solution, it's not always possible.

I'm considering different options:
- Add a kernel module parameter to override the tx_chip_types, something like "ast.output=vga"

No parameters please. If we give people parameters, they will configure the hell out of them and then complain if it doesn't work. And we never get rid of parameters, because "there's users".

Quoted 1 line

- Add a DMI quirk, to force vga on this particular motherboard.

That could work.

Quoted 2 lines

What do you think?

I think I saw another bit in the HW docs that hints towards a VGA output, but I cannot find it anymore. Still, I have VGA and DP on my test board. There's gotta be a way of switching between them.

Unless something else shows up, let's to the DMI quirk. It should also be easy to  backport.

Best regards
Thomas

Quoted 3 lines

Best regards,

Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#2 lore raw
Quoted 24 lines · Thomas Zimmermann

Hi

Am 13.02.25 um 14:33 schrieb Jocelyn Falempe:

Quoted 6 lines

Hi Thomas and Jammy,

I've got a regression report, and it's caused by https:// patchwork.freedesktop.org/patch/540015/
On this ast2600 server, the firmware says it has a DP output, but physically, there is only one VGA output.
Before this commit, "ast->tx_chip_types |= BIT(AST_TX_ASTDP)" means it will have both VGA and DP configured, but after this changed to "ast-

Quoted 1 line

tx_chip_types = AST_TX_ASTDP_BIT" and the VGA connector disappear.

Having multiple outputs (besides the virtual BMC) was never really supported. DRM userspace also doesn't really support it. You likely remember that we had problems when the BMC was a separate output.

Quoted 7 lines

The EDID of the VGA monitor is not read anymore, and a wrong resolution is setup causing a blank screen.

Of course fixing the firmware would be the best solution, it's not always possible.

I'm considering different options:
- Add a kernel module parameter to override the tx_chip_types, something like "ast.output=vga"

No parameters please. If we give people parameters, they will configure the hell out of them and then complain if it doesn't work. And we never get rid of parameters, because "there's users".

Quoted 1 line

- Add a DMI quirk, to force vga on this particular motherboard.

Quoted 8 lines

That could work.

Quoted 2 lines

What do you think?

I think I saw another bit in the HW docs that hints towards a VGA output, but I cannot find it anymore. Still, I have VGA and DP on my test board. There's gotta be a way of switching between them.

Unless something else shows up, let's to the DMI quirk. It should also be easy to  backport.

Ok, I will try to make something. DMI quirk is less flexible, but the regression is a bit old, so I hope there won't be much other hardware affected.

Best regards,

Signature · 1 line
Jocelyn
Quoted 8 lines

Best regards
Thomas

Quoted 3 lines

Best regards,