Skip to contentSkip to conversation

drm/amd/display: Restore self-refresh fallback in DCN21 bandwidth validation

PATCH Ilya Bogomyakov 1 participant 1 message Oct 26

lore
Share & tools
lore

Ilya Bogomyakov

author Tested-by
#0 lore raw

Hi Julien, all,

I tested the v2 series on a second DCN 2.1 machine, with a different panel setup from the G733QSA.

Hardware:
- ASUS ROG Zephyrus Duo 15 SE (GX551QR)
- AMD Ryzen 9 5900HX (Cezanne), Radeon 1002:1638, DCN 2.1
- Main panel: eDP-1, [email protected] (666.62 MHz, vtotal 1111, 31-line vblank, ~93 us)
- Second internal panel (ScreenPad Plus): DP-1, BOE NV140DQM-N51, [email protected]
- Kernel: 7.2.11-arch1-1 (Arch Linux), KWin 6.8.1, Mesa 26.2.5

Before the patch, enabling both panels at 300 Hz + 60 Hz fails:

  amdgpu 0000:07:00.0: [drm] Mode Validation Warning: Unknown Status failed validation.

KWin then reports "Modeset failed: Invalid argument" and rejects the output configuration. SDDM's Xorg greeter also falls back to the ScreenPad only, leaving the main panel on the framebuffer console. Setting the main panel to 60 Hz lets DP-1 enable, which is consistent with the short-vblank/p-state explanation.

With v2 applied, both panels stay enabled at 300.01 Hz + 60.02 Hz. The stutter-latency snapshot/restore is included; this round tested v2, not the v1 one-liner. Steady state has no validation warnings. Changing the display configuration still produces a short burst of the same "Unknown Status" warnings before the final configuration applies; the status message itself is still not informative.

I built only the amdgpu module against the official 7.2.11 config and Module.symvers, not a full distribution kernel. The module loaded and the dual-panel configuration is stable in normal desktop use. I did not specifically stress MPO/flip_done; if there is a particular test you want for that path, tell me what to run.

This turns the ScreenPad from a 60 Hz workaround into a normal 300 Hz + 60 Hz dual-panel setup. It would be useful to have in the stable tree.

Thanks,
Ilya Bogomyakov