Commit c2393a1d authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Remove nop bigjoiner state copy

We just copied over the whole master crtc state, including
cpu_transcoder+has_audio. No need to copy those again.

Also get rid of the unhelpful comment.
Reviewed-by: default avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220223131315.18016-4-ville.syrjala@linux.intel.com
parent 6c6465fc
...@@ -5593,12 +5593,9 @@ copy_bigjoiner_crtc_state_modeset(struct intel_atomic_state *state, ...@@ -5593,12 +5593,9 @@ copy_bigjoiner_crtc_state_modeset(struct intel_atomic_state *state,
copy_bigjoiner_crtc_state_nomodeset(state, slave_crtc); copy_bigjoiner_crtc_state_nomodeset(state, slave_crtc);
/* Some fixups */
slave_crtc_state->uapi.mode_changed = master_crtc_state->uapi.mode_changed; slave_crtc_state->uapi.mode_changed = master_crtc_state->uapi.mode_changed;
slave_crtc_state->uapi.connectors_changed = master_crtc_state->uapi.connectors_changed; slave_crtc_state->uapi.connectors_changed = master_crtc_state->uapi.connectors_changed;
slave_crtc_state->uapi.active_changed = master_crtc_state->uapi.active_changed; slave_crtc_state->uapi.active_changed = master_crtc_state->uapi.active_changed;
slave_crtc_state->cpu_transcoder = master_crtc_state->cpu_transcoder;
slave_crtc_state->has_audio = master_crtc_state->has_audio;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment