Re: [PATCH 0/5] drm/nouveau: recover DP links the sink drops after waking

From: Frédéric Mahé

Date: Mon Nov 23 2026 - 11:34:32 EST


Hi David,

You mentioned that GPUs without GSP-RM were not tested. I ran parts of
this series, together with "GSP DP control call fixes and two KMS fixes",
on a Quadro 600 (GF108, DP 1.1, 4 x 2.7 Gbit/s) with a 4K DP 1.2 monitor,
on Ubuntu's 7.0 kernel (nouveau built out of tree; one context line in
nouveau_connector_destroy() of 2/5 needed adjusting for 7.0).

Without your series, both of the following crash the kernel with a
divide error in nv50_disp_super_2_2_dp() (see my patch "don't divide by
zero when the DP link is not trained"). With it:

- 3840x2160@60 set as a user mode with SETCRTC: -EINVAL from atomic
check ("mode needs 1199813 kB/s, link carries 1080000 kB/s"), no crash;
- monitor asleep (not answering AUX), connector forced on, 1024x768 set
with SETCRTC: -EINVAL, no crash;
- 1024x768 with the monitor awake, and DPMS off/on (5 s and 150 s):
link trained at 4 x 2.7 Gbit/s, no warnings.

Not tested: the DPMS-on path of patch 2 (this monitor keeps answering
AUX during DPMS off), the IRQ_HPD and replug restarts of patches 4 and 5,
suspend/resume and MST.

For the parts above:
Tested-by: Frédéric Mahé <frederic.mahe@xxxxxxxx> # Quadro 600 (GF108, no GSP-RM)

As said in my other thread, your patch 1/5 makes my "reject DP modes that
don't fit the link" unnecessary.

Testing done with the help of Claude (AI assistant).

Frédéric