[Intel-gfx] [PATCH 2/4] drm/i915: Move the TRANS_DDI_FUNC_CTL enable to a later point
Ville Syrjälä
ville.syrjala at linux.intel.com
Mon Apr 20 18:27:20 UTC 2020
On Mon, Apr 20, 2020 at 05:45:01PM +0300, Jani Nikula wrote:
> On Fri, 17 Apr 2020, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> > From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> >
> > No reason that I can see why we should enable TRANS_DDI_FUNC_CTL
> > before we set up the watermarks of confogiure the mbus stuff.
> > In fact reordering these seems to match the bspec sequence better,
> > and cricually will allow us to push the TRANS_DDI_FUNC_CTL enable
> ^^^^^^^^^
>
> The entire series is nice, but I especially like this "crucially"
> typo. It looks prezactly like a mix of crucially and critically.
Wasn't the only typo. One day I need to invest in a spell checker.
>
> FWIW the series is Acked-by me, as Chris beat me to review. I also
> didn't spot anything obviously wrong.
Thanks for the reviews/acks. Series pushed to dinq.
>
> BR,
> Jani.
>
>
> > into the encoder enable hook as a followup.
> >
> > Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > ---
> > drivers/gpu/drm/i915/display/intel_display.c | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> > index af5b4055b38a..7a1e7b5ae84e 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display.c
> > +++ b/drivers/gpu/drm/i915/display/intel_display.c
> > @@ -7071,15 +7071,15 @@ static void hsw_crtc_enable(struct intel_atomic_state *state,
> > if (INTEL_GEN(dev_priv) >= 11)
> > icl_set_pipe_chicken(crtc);
> >
> > - if (!transcoder_is_dsi(cpu_transcoder))
> > - intel_ddi_enable_transcoder_func(new_crtc_state);
> > -
> > if (dev_priv->display.initial_watermarks)
> > dev_priv->display.initial_watermarks(state, crtc);
> >
> > if (INTEL_GEN(dev_priv) >= 11)
> > icl_pipe_mbus_enable(crtc);
> >
> > + if (!transcoder_is_dsi(cpu_transcoder))
> > + intel_ddi_enable_transcoder_func(new_crtc_state);
> > +
> > intel_encoders_enable(state, crtc);
> >
> > if (psl_clkgate_wa) {
>
> --
> Jani Nikula, Intel Open Source Graphics Center
--
Ville Syrjälä
Intel
More information about the Intel-gfx
mailing list