On Wed, Jun 12, 2019 at 10:32:04AM +0200, Maarten Lankhorst wrote: > Op 23-04-2019 om 17:49 schreef Manasi Navare: > > Add the comparison between the current state and new_crtc_state for > > newly added master_crtc pointer and slave bitmask so that > > if any of those change then the curernt master-slave links have > > changed and we need to reconfigure the transcoder port sync register > > and hence trigger a full modeset. > > > > Suggested-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> > > Cc: Matt Roper <matthew.d.roper@xxxxxxxxx> > > Signed-off-by: Manasi Navare <manasi.d.navare@xxxxxxxxx> > > --- > > drivers/gpu/drm/i915/intel_display.c | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > > index 81e8cb9fe221..4bd23e61c6fd 100644 > > --- a/drivers/gpu/drm/i915/intel_display.c > > +++ b/drivers/gpu/drm/i915/intel_display.c > > @@ -12524,6 +12524,11 @@ intel_pipe_config_compare(struct drm_i915_private *dev_priv, > > PIPE_CONF_CHECK_INFOFRAME(spd); > > PIPE_CONF_CHECK_INFOFRAME(hdmi); > > > > + if (INTEL_GEN(dev_priv) >= 11) { > > + PIPE_CONF_CHECK_I(trans_port_sync_slaves); > > + PIPE_CONF_CHECK_P(master_crtc); > > + } > > + > > #undef PIPE_CONF_CHECK_X > > #undef PIPE_CONF_CHECK_I > > #undef PIPE_CONF_CHECK_BOOL > > Should probably be merged with patch 1/4 Yes in my next revision will combine this into patch 1, also need another patch for HW state readout, that should be a separate patch though right? Manasi > _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx