浏览代码

drm/i915: Fix trivial typos in comments and warning message

Change 'mutliple' to 'multiple'
Change 'mutlipler' to 'multiplier'
Change 'Haswel' to 'Haswell'

Signed-off-by: Yannick Guerrini <yguerrini@tomshardware.fr>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Yannick Guerrini 10 年之前
父节点
当前提交
fd0753cf80
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      drivers/gpu/drm/i915/i915_gem_execbuffer.c
  2. 1 1
      drivers/gpu/drm/i915/i915_reg.h
  3. 1 1
      drivers/gpu/drm/i915/intel_sdvo.c

+ 1 - 1
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
 		 * - The batch is already pinned into the relevant ppgtt, so we
 		 *   already have the backing storage fully allocated.
 		 *   already have the backing storage fully allocated.
 		 * - No other BO uses the global gtt (well contexts, but meh),
 		 * - 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.
 		 *   fitting due to fragmentation.
 		 * So this is actually safe.
 		 * So this is actually safe.
 		 */
 		 */

+ 1 - 1
drivers/gpu/drm/i915/i915_reg.h

@@ -3019,7 +3019,7 @@ enum skl_disp_power_wells {
 
 
 /* Video Data Island Packet control */
 /* Video Data Island Packet control */
 #define VIDEO_DIP_DATA		0x61178
 #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
  * (Haswell and newer) to see which VIDEO_DIP_DATA byte corresponds to each byte
  * of the infoframe structure specified by CEA-861. */
  * of the infoframe structure specified by CEA-861. */
 #define   VIDEO_DIP_DATA_SIZE	32
 #define   VIDEO_DIP_DATA_SIZE	32

+ 1 - 1
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) {
 	switch (crtc->config->pixel_multiplier) {
 	default:
 	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 1: rate = SDVO_CLOCK_RATE_MULT_1X; break;
 	case 2: rate = SDVO_CLOCK_RATE_MULT_2X; break;
 	case 2: rate = SDVO_CLOCK_RATE_MULT_2X; break;
 	case 4: rate = SDVO_CLOCK_RATE_MULT_4X; break;
 	case 4: rate = SDVO_CLOCK_RATE_MULT_4X; break;