Hi, After sending this I found David Hedges' series "drm/nouveau: recover DP links the sink drops after waking" (Cc'd). His patch 1/5 does what my patch 2/2 does, more completely, and touches the same function, so I am dropping 2/2 in favour of his. That also covers the points the Sashiko review raised on 2/2 (the check only ran when mode_changed and active were both set).
Patch 1/2 (divide by zero in nv50_disp_super_2_2_dp() when the DP link is not trained) is not in his series and still applies: it protects nvkm itself, whatever the DRM side does, and it is tagged for stable. I can resend it alone if that is easier. I tested his series on a Quadro 600 (GF108, no GSP-RM) and will reply in his thread with the results. Frédéric
