Skip to contentSkip to conversation

drm: drm_atomic.h: delete duplicated word in comment

PATCH In review Randy Dunlap 2 participants 8 messages Jul 15, 2020

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/7 drm: drm_atomic.h: delete duplicated word in comment

Drop doubled word "than" in a comment.

---
 include/drm/drm_atomic.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_atomic.h +1 -1
@@ -103,7 +103,7 @@ struct drm_crtc_commit {
 	 *
 	 * Will be signalled when all hw register changes for this commit have
 	 * been written out. Especially when disabling a pipe this can be much
-	 * later than than @flip_done, since that can signal already when the
+	 * later than @flip_done, since that can signal already when the
 	 * screen goes black, whereas to fully shut down a pipe more register
 	 * I/O is required.
 	 *
#1 lore raw

PATCH 2/7 drm: drm_bridge.h: delete duplicated word in comment

Drop doubled word "should" in a comment.

---
 include/drm/drm_bridge.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_bridge.h +1 -1
@@ -475,7 +475,7 @@ struct drm_bridge_funcs {
 	 * one of them should be provided.
 	 *
 	 * If drivers need to tweak &drm_bridge_state.input_bus_cfg.flags or
-	 * &drm_bridge_state.output_bus_cfg.flags it should should happen in
+	 * &drm_bridge_state.output_bus_cfg.flags it should happen in
 	 * this function. By default the &drm_bridge_state.output_bus_cfg.flags
 	 * field is set to the next bridge
 	 * &drm_bridge_state.input_bus_cfg.flags value or
#2 lore raw

PATCH 3/7 drm: drm_gem.h: delete duplicated words in comments

In reply to Randy Dunlap

Drop the doubled words "the" and "by" in comments.

---
 include/drm/drm_gem.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/drm/drm_gem.h +2 -2
@@ -143,7 +143,7 @@ struct drm_gem_object_funcs {
 	/**
 	 * @vunmap:
 	 *
-	 * Releases the the address previously returned by @vmap. Used by the
+	 * Releases the address previously returned by @vmap. Used by the
 	 * drm_gem_dmabuf_vunmap() helper.
 	 *
 	 * This callback is optional.
@@ -157,7 +157,7 @@ struct drm_gem_object_funcs {
 	 *
 	 * This callback is optional.
 	 *
-	 * The callback is used by by both drm_gem_mmap_obj() and
+	 * The callback is used by both drm_gem_mmap_obj() and
 	 * drm_gem_prime_mmap().  When @mmap is present @vm_ops is not
 	 * used, the @mmap callback must set vma->vm_ops instead.
 	 */
#3 lore raw

PATCH 4/7 drm: drm_mode_config.h: delete duplicated words in comments

In reply to Randy Dunlap

Drop doubled word "is" in several comments.

---
 include/drm/drm_mode_config.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
include/drm/drm_mode_config.h +4 -4
@@ -603,22 +603,22 @@ struct drm_mode_config {
 	struct drm_property *prop_src_h;
 	/**
 	 * @prop_crtc_x: Default atomic plane property for the plane destination
-	 * position in the &drm_crtc is is being shown on.
+	 * position in the &drm_crtc is being shown on.
 	 */
 	struct drm_property *prop_crtc_x;
 	/**
 	 * @prop_crtc_y: Default atomic plane property for the plane destination
-	 * position in the &drm_crtc is is being shown on.
+	 * position in the &drm_crtc is being shown on.
 	 */
 	struct drm_property *prop_crtc_y;
 	/**
 	 * @prop_crtc_w: Default atomic plane property for the plane destination
-	 * position in the &drm_crtc is is being shown on.
+	 * position in the &drm_crtc is being shown on.
 	 */
 	struct drm_property *prop_crtc_w;
 	/**
 	 * @prop_crtc_h: Default atomic plane property for the plane destination
-	 * position in the &drm_crtc is is being shown on.
+	 * position in the &drm_crtc is being shown on.
 	 */
 	struct drm_property *prop_crtc_h;
 	/**
#4 lore raw

PATCH 5/7 drm: i915_drm.h: delete duplicated words in comments

In reply to Randy Dunlap

Drop doubled words "the" and "be" in comments.

---
 include/uapi/drm/i915_drm.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/drm/i915_drm.h +2 -2
@@ -55,7 +55,7 @@ extern "C" {
  *	cause the related events to not be seen.
  *
  * I915_RESET_UEVENT - Event is generated just before an attempt to reset the
- *	the GPU. The value supplied with the event is always 1. NOTE: Disable
+ *	GPU. The value supplied with the event is always 1. NOTE: Disable
  *	reset via module parameter will cause this event to not be seen.
  */
 #define I915_L3_PARITY_UEVENT		"L3_PARITY_ERROR"
@@ -1934,7 +1934,7 @@ enum drm_i915_perf_property_id {
 
 	/**
 	 * The value specifies which set of OA unit metrics should be
-	 * be configured, defining the contents of any OA unit reports.
+	 * configured, defining the contents of any OA unit reports.
 	 *
 	 * This property is available in perf revision 1.
 	 */
#5 lore raw

PATCH 6/7 drm: msm_drm.h: delete duplicated words in comments

In reply to Randy Dunlap

Drop the doubled word "to" in comments.

---
 include/uapi/drm/msm_drm.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/uapi/drm/msm_drm.h +2 -2
@@ -252,8 +252,8 @@ struct drm_msm_gem_submit {
 	__u64 cmds;           /* in, ptr to array of submit_cmd's */
 	__s32 fence_fd;       /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */
 	__u32 queueid;        /* in, submitqueue id */
-	__u64 in_syncobjs;    /* in, ptr to to array of drm_msm_gem_submit_syncobj */
-	__u64 out_syncobjs;   /* in, ptr to to array of drm_msm_gem_submit_syncobj */
+	__u64 in_syncobjs;    /* in, ptr to array of drm_msm_gem_submit_syncobj */
+	__u64 out_syncobjs;   /* in, ptr to array of drm_msm_gem_submit_syncobj */
 	__u32 nr_in_syncobjs; /* in, number of entries in in_syncobj */
 	__u32 nr_out_syncobjs; /* in, number of entries in out_syncobj. */
 	__u32 syncobj_stride; /* in, stride of syncobj arrays. */
#6 lore raw

PATCH 7/7 drm: drm_rect.h: delete duplicated word in comment

In reply to Randy Dunlap

Drop doubled word "the" in a comment.

---
 include/drm/drm_rect.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_rect.h +1 -1
@@ -180,7 +180,7 @@ static inline int drm_rect_height(const
 }
 
 /**
- * drm_rect_visible - determine if the the rectangle is visible
+ * drm_rect_visible - determine if the rectangle is visible
  * @r: rectangle whose visibility is returned
  *
  * RETURNS:
#7 lore raw
In reply to Randy Dunlap
Quoted 6 lines · Randy Dunlap

Drop doubled word "than" in a comment.

Entire series pushed to drm-misc-next, thanks for your patches. Should still make it to 5.9.

Cheers, Daniel

Quoted 15 lines
---
 include/drm/drm_atomic.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/drm_atomic.h +1 -1
@@ -103,7 +103,7 @@ struct drm_crtc_commit {
 	 *
 	 * Will be signalled when all hw register changes for this commit have
 	 * been written out. Especially when disabling a pipe this can be much
-	 * later than than @flip_done, since that can signal already when the
+	 * later than @flip_done, since that can signal already when the
 	 * screen goes black, whereas to fully shut down a pipe more register
 	 * I/O is required.
 	 *
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel