drm/nouveau/kms: Pull mst state in for all modesets
authorLyude Paul <lyude@redhat.com>
Wed, 17 Aug 2022 19:38:41 +0000 (15:38 -0400)
committerLyude Paul <lyude@redhat.com>
Tue, 23 Aug 2022 20:53:40 +0000 (16:53 -0400)
Since we're going to be relying on atomic locking for payloads now (and the
MST mgr needs to track CRTCs), pull in the topology state for all modesets
in nv50_msto_atomic_check().

Signed-off-by: Lyude Paul <lyude@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220817193847.557945-13-lyude@redhat.com
drivers/gpu/drm/nouveau/dispnv50/disp.c

index 5669c8d..24807aa 100644 (file)
@@ -1049,7 +1049,7 @@ nv50_msto_atomic_check(struct drm_encoder *encoder,
        if (ret)
                return ret;
 
-       if (!crtc_state->mode_changed && !crtc_state->connectors_changed)
+       if (!drm_atomic_crtc_needs_modeset(crtc_state))
                return 0;
 
        /*