[PATCH libdrm 5/7] include: Fix spelling mistakes

Eric Engestrom eric at engestrom.ch
Sun Apr 3 18:48:10 UTC 2016


Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
 include/drm/drm_mode.h   | 2 +-
 include/drm/i915_drm.h   | 2 +-
 include/drm/mga_drm.h    | 2 +-
 include/drm/savage_drm.h | 2 +-
 include/drm/vmwgfx_drm.h | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 115f36e..06dd825 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -406,7 +406,7 @@ struct drm_mode_mode_cmd {
 #define DRM_MODE_CURSOR_MOVE	(1<<1)
 
 /*
- * depending on the value in flags diffrent members are used.
+ * depending on the value in flags different members are used.
  *
  * CURSOR_BO uses
  *    crtc
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index 0e51d42..17a90fa 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -958,7 +958,7 @@ struct drm_i915_gem_madvise {
 	__u32 handle;
 
 	/* Advice: either the buffer will be needed again in the near future,
-	 *         or wont be and could be discarded under memory pressure.
+	 *         or won't be and could be discarded under memory pressure.
 	 */
 	__u32 madv;
 
diff --git a/include/drm/mga_drm.h b/include/drm/mga_drm.h
index b630e8f..b7cce73 100644
--- a/include/drm/mga_drm.h
+++ b/include/drm/mga_drm.h
@@ -107,7 +107,7 @@
  */
 #define MGA_NR_SAREA_CLIPRECTS	8
 
-/* 2 heaps (1 for card, 1 for agp), each divided into upto 128
+/* 2 heaps (1 for card, 1 for agp), each divided into up to 128
  * regions, subject to a minimum region size of (1<<16) == 64k.
  *
  * Clients may subdivide regions internally, but when sharing between
diff --git a/include/drm/savage_drm.h b/include/drm/savage_drm.h
index f7a75ef..e5e27b7 100644
--- a/include/drm/savage_drm.h
+++ b/include/drm/savage_drm.h
@@ -29,7 +29,7 @@
 #ifndef __SAVAGE_SAREA_DEFINES__
 #define __SAVAGE_SAREA_DEFINES__
 
-/* 2 heaps (1 for card, 1 for agp), each divided into upto 128
+/* 2 heaps (1 for card, 1 for agp), each divided into up to 128
  * regions, subject to a minimum region size of (1<<16) == 64k.
  *
  * Clients may subdivide regions internally, but when sharing between
diff --git a/include/drm/vmwgfx_drm.h b/include/drm/vmwgfx_drm.h
index 5b68b4d..16e7dd1 100644
--- a/include/drm/vmwgfx_drm.h
+++ b/include/drm/vmwgfx_drm.h
@@ -1025,7 +1025,7 @@ union drm_vmw_gb_surface_reference_arg {
  * for read-only.
  * @drm_vmw_synccpu_write: Sync for write. Block all command submissions
  * referencing this buffer.
- * @drm_vmw_synccpu_dontblock: Dont wait for GPU idle, but rather return
+ * @drm_vmw_synccpu_dontblock: Don't wait for GPU idle, but rather return
  * -EBUSY should the buffer be busy.
  * @drm_vmw_synccpu_allow_cs: Allow command submission that touches the buffer
  * while the buffer is synced for CPU. This is similar to the GEM bo idle
-- 
2.8.0



More information about the dri-devel mailing list