Skip to content

Commit

Permalink
drm/nouveau/kms: Pull mst state in for all modesets
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
Lyude committed Aug 23, 2022
1 parent 11d2738 commit 2116751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/dispnv50/disp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*
Expand Down

0 comments on commit 2116751

Please sign in to comment.