[Intel-gfx] [REBASED PATCH 1/5 v2] drm/i915: cosmetic fixes to i915_drv.h

Daniel Vetter daniel at ffwll.ch
Wed Aug 24 05:57:37 UTC 2016


On Mon, Aug 22, 2016 at 12:24:20PM +0300, David Weinehall wrote:
> Fix minor whitespace issues plus a typo.
> 
> Signed-off-by: David Weinehall <david.weinehall at linux.intel.com>

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

> ---
>  drivers/gpu/drm/i915/i915_drv.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index e6069057eb98..2cb40026b476 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -2549,7 +2549,7 @@ struct drm_i915_cmd_table {
>  		BUILD_BUG(); \
>  	__p; \
>  })
> -#define INTEL_INFO(p) 	(&__I915__(p)->info)
> +#define INTEL_INFO(p)	(&__I915__(p)->info)
>  #define INTEL_GEN(p)	(INTEL_INFO(p)->gen)
>  #define INTEL_DEVID(p)	(INTEL_INFO(p)->device_id)
>  
> @@ -2843,7 +2843,7 @@ extern int i915_suspend_switcheroo(struct drm_device *dev, pm_message_t state);
>  extern int i915_resume_switcheroo(struct drm_device *dev);
>  
>  int intel_sanitize_enable_ppgtt(struct drm_i915_private *dev_priv,
> -			       	int enable_ppgtt);
> +				int enable_ppgtt);
>  
>  bool intel_sanitize_semaphores(struct drm_i915_private *dev_priv, int value);
>  
> @@ -3780,7 +3780,7 @@ __raw_write(64, q)
>  #undef __raw_write
>  
>  /* These are untraced mmio-accessors that are only valid to be used inside
> - * criticial sections inside IRQ handlers where forcewake is explicitly
> + * critical sections inside IRQ handlers where forcewake is explicitly
>   * controlled.
>   * Think twice, and think again, before using these.
>   * Note: Should only be used between intel_uncore_forcewake_irqlock() and
> -- 
> 2.9.3
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://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