[Intel-gfx] [PATCH 3/5] drm/i915: Minor style nits in intel_uncore.c

Daniel Vetter daniel at ffwll.ch
Thu Oct 22 06:38:19 PDT 2015


On Thu, Oct 22, 2015 at 03:34:58PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

I even bothered to check whether you still have spaces in here ;-)

Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>

> ---
>  drivers/gpu/drm/i915/intel_uncore.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c
> index dca0979..57af2c4 100644
> --- a/drivers/gpu/drm/i915/intel_uncore.c
> +++ b/drivers/gpu/drm/i915/intel_uncore.c
> @@ -576,7 +576,7 @@ void assert_forcewakes_inactive(struct drm_i915_private *dev_priv)
>  	REG_RANGE((reg), 0x9400, 0x9800)
>  
>  #define FORCEWAKE_GEN9_BLITTER_RANGE_OFFSET(reg) \
> -	((reg) < 0x40000 &&\
> +	((reg) < 0x40000 && \
>  	 !FORCEWAKE_GEN9_UNCORE_RANGE_OFFSET(reg) && \
>  	 !FORCEWAKE_GEN9_RENDER_RANGE_OFFSET(reg) && \
>  	 !FORCEWAKE_GEN9_MEDIA_RANGE_OFFSET(reg) && \
> @@ -749,7 +749,7 @@ chv_read##x(struct drm_i915_private *dev_priv, off_t reg, bool trace) { \
>  }
>  
>  #define SKL_NEEDS_FORCE_WAKE(reg) \
> -	 ((reg) < 0x40000 && !FORCEWAKE_GEN9_UNCORE_RANGE_OFFSET(reg))
> +	((reg) < 0x40000 && !FORCEWAKE_GEN9_UNCORE_RANGE_OFFSET(reg))
>  
>  #define __gen9_read(x) \
>  static u##x \
> -- 
> 2.4.9
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list