All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/i915: Add some missing curly braces
Date: Tue, 19 Mar 2019 16:42:35 +0200	[thread overview]
Message-ID: <20190319144235.GD3888@intel.com> (raw)
In-Reply-To: <20190318203437.GA21001@intel.com>

On Mon, Mar 18, 2019 at 01:34:37PM -0700, Rodrigo Vivi wrote:
> On Mon, Mar 18, 2019 at 10:26:51PM +0200, Ville Syrjala wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > 
> > Sprinkle some curly braces in accordance with the coding style.
> > 
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

Thanks. Series pushed to dinq.

> 
> > ---
> >  drivers/gpu/drm/i915/intel_display.c | 11 +++++++----
> >  1 file changed, 7 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> > index 61acbaf2af75..bfe792789a52 100644
> > --- a/drivers/gpu/drm/i915/intel_display.c
> > +++ b/drivers/gpu/drm/i915/intel_display.c
> > @@ -1621,14 +1621,15 @@ static void ironlake_enable_pch_transcoder(const struct intel_crtc_state *crtc_s
> >  	}
> >  
> >  	val &= ~TRANS_INTERLACE_MASK;
> > -	if ((pipeconf_val & PIPECONF_INTERLACE_MASK) == PIPECONF_INTERLACED_ILK)
> > +	if ((pipeconf_val & PIPECONF_INTERLACE_MASK) == PIPECONF_INTERLACED_ILK) {
> >  		if (HAS_PCH_IBX(dev_priv) &&
> >  		    intel_crtc_has_type(crtc_state, INTEL_OUTPUT_SDVO))
> >  			val |= TRANS_LEGACY_INTERLACED_ILK;
> >  		else
> >  			val |= TRANS_INTERLACED;
> > -	else
> > +	} else {
> >  		val |= TRANS_PROGRESSIVE;
> > +	}
> >  
> >  	I915_WRITE(reg, val | TRANS_ENABLE);
> >  	if (intel_wait_for_register(dev_priv,
> > @@ -7759,8 +7760,9 @@ static void i9xx_set_pipeconf(const struct intel_crtc_state *crtc_state)
> >  			pipeconf |= PIPECONF_INTERLACE_W_FIELD_INDICATION;
> >  		else
> >  			pipeconf |= PIPECONF_INTERLACE_W_SYNC_SHIFT;
> > -	} else
> > +	} else {
> >  		pipeconf |= PIPECONF_PROGRESSIVE;
> > +	}
> >  
> >  	if ((IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) &&
> >  	     crtc_state->limited_color_range)
> > @@ -8876,8 +8878,9 @@ static void ironlake_compute_dpll(struct intel_crtc *intel_crtc,
> >  		     dev_priv->vbt.lvds_ssc_freq == 100000) ||
> >  		    (HAS_PCH_IBX(dev_priv) && intel_is_dual_link_lvds(dev)))
> >  			factor = 25;
> > -	} else if (crtc_state->sdvo_tv_clock)
> > +	} else if (crtc_state->sdvo_tv_clock) {
> >  		factor = 20;
> > +	}
> >  
> >  	fp = i9xx_dpll_compute_fp(&crtc_state->dpll);
> >  
> > -- 
> > 2.19.2
> > 
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2019-03-19 14:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-18 20:26 [PATCH 1/3] drm/i915: Add some missing curly braces Ville Syrjala
2019-03-18 20:26 ` [PATCH 2/3] drm/i915: Polish intel_get_lvds_encoder() Ville Syrjala
2019-03-18 20:35   ` Rodrigo Vivi
2019-03-18 20:26 ` [PATCH 3/3] drm/i915: Pass dev_priv to intel_is_dual_link_lvds() Ville Syrjala
2019-03-18 20:35   ` Rodrigo Vivi
2019-03-18 20:45   ` Michal Wajdeczko
2019-03-18 20:59     ` Ville Syrjälä
2019-03-19 15:50       ` Jani Nikula
2019-03-19 17:31         ` Rodrigo Vivi
2019-03-19 17:36           ` Chris Wilson
2019-03-18 20:34 ` [PATCH 1/3] drm/i915: Add some missing curly braces Rodrigo Vivi
2019-03-19 14:42   ` Ville Syrjälä [this message]
2019-03-19  1:21 ` ✓ Fi.CI.BAT: success for series starting with [1/3] " Patchwork
2019-03-19 14:26 ` ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190319144235.GD3888@intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.