> -----Original Message----- > From: Intel-gfx <intel-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Ville > Syrjala > Sent: Wednesday, June 7, 2023 12:45 AM > To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx > Subject: [PATCH v2 11/19] drm/i915/dsb: Don't use DSB to load the > LUTs during full modeset > > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Using the DSB for LUT loading during full modesets would require some actual > though. Let's just use mmio for the time being. Looks Good to me. Reviewed-by: Uma Shankar <uma.shankar@xxxxxxxxx> > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > --- > drivers/gpu/drm/i915/display/intel_color.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_color.c > b/drivers/gpu/drm/i915/display/intel_color.c > index 2d5640aab4d8..2db9d1d6dadd 100644 > --- a/drivers/gpu/drm/i915/display/intel_color.c > +++ b/drivers/gpu/drm/i915/display/intel_color.c > @@ -1805,6 +1805,10 @@ void intel_color_prepare_commit(struct > intel_crtc_state *crtc_state) > /* FIXME DSB has issues loading LUTs, disable it for now */ > return; > > + if (!crtc_state->hw.active || > + intel_crtc_needs_modeset(crtc_state)) > + return; > + > if (!crtc_state->pre_csc_lut && !crtc_state->post_csc_lut) > return; > > -- > 2.39.3