[Intel-gfx] [PATCH] drm/i915: Fix trivial typos in comments and warning message

Daniel Vetter daniel at ffwll.ch
Mon Mar 2 01:07:02 PST 2015


On Sat, Feb 28, 2015 at 05:20:41PM +0100, Yannick Guerrini wrote:
> Change 'mutliple' to 'multiple'
> Change 'mutlipler' to 'multiplier'
> Change 'Haswel' to 'Haswell'
> 
> Signed-off-by: Yannick Guerrini <yguerrini at tomshardware.fr>

Queued for -next, thanks for the patch.
-Daniel

> ---
>  drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 +-
>  drivers/gpu/drm/i915/i915_reg.h            | 2 +-
>  drivers/gpu/drm/i915/intel_sdvo.c          | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> index 85a6ada..213a261 100644
> --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
> @@ -1518,7 +1518,7 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
>  		 * - The batch is already pinned into the relevant ppgtt, so we
>  		 *   already have the backing storage fully allocated.
>  		 * - No other BO uses the global gtt (well contexts, but meh),
> -		 *   so we don't really have issues with mutliple objects not
> +		 *   so we don't really have issues with multiple objects not
>  		 *   fitting due to fragmentation.
>  		 * So this is actually safe.
>  		 */
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 55143cb..56b97c4 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -3019,7 +3019,7 @@ enum skl_disp_power_wells {
>  
>  /* Video Data Island Packet control */
>  #define VIDEO_DIP_DATA		0x61178
> -/* Read the description of VIDEO_DIP_DATA (before Haswel) or VIDEO_DIP_ECC
> +/* Read the description of VIDEO_DIP_DATA (before Haswell) or VIDEO_DIP_ECC
>   * (Haswell and newer) to see which VIDEO_DIP_DATA byte corresponds to each byte
>   * of the infoframe structure specified by CEA-861. */
>  #define   VIDEO_DIP_DATA_SIZE	32
> diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
> index 64ad2b4..9e554c2 100644
> --- a/drivers/gpu/drm/i915/intel_sdvo.c
> +++ b/drivers/gpu/drm/i915/intel_sdvo.c
> @@ -1247,7 +1247,7 @@ static void intel_sdvo_pre_enable(struct intel_encoder *intel_encoder)
>  
>  	switch (crtc->config->pixel_multiplier) {
>  	default:
> -		WARN(1, "unknown pixel mutlipler specified\n");
> +		WARN(1, "unknown pixel multiplier specified\n");
>  	case 1: rate = SDVO_CLOCK_RATE_MULT_1X; break;
>  	case 2: rate = SDVO_CLOCK_RATE_MULT_2X; break;
>  	case 4: rate = SDVO_CLOCK_RATE_MULT_4X; break;
> -- 
> 1.9.5.msysgit.0
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the Intel-gfx mailing list