Skip to contentSkip to conversation

drm/gem-cma-helper: Fix kerneldocs

PATCH In review Ville Syrjala 6 participants 9 messages Nov 14, 2017 – Nov 20, 2017

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

PATCH 1/3 drm/gem-cma-helper: Fix kerneldocs

From: Ville Syrjälä <[email protected]>

Use the correct name for the function argument in the docs.

Cc Noralf Trønnes <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 drivers/gpu/drm/drm_gem_cma_helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_gem_cma_helper.c +1 -1
index 88ad88719605..ce67d7d42c66 100644
@@ -401,7 +401,7 @@ EXPORT_SYMBOL_GPL(drm_gem_cma_get_unmapped_area);
  * drm_gem_cma_print_info() - Print &drm_gem_cma_object info for debugfs
  * @p: DRM printer
  * @indent: Tab indentation level
- * @gem: GEM object
+ * @obj: GEM object
  *
  * This function can be used as the &drm_driver->gem_print_info callback.
  * It prints paddr and vaddr for use in e.g. debugfs output.
Signature · 6 lines
2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

PATCH 2/3 drm/syncobj: Fix kerneldocs

From: Ville Syrjälä <[email protected]>

Document the drm_syncobj_get_handle() function parameters.

Cc Marek Olšák <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 drivers/gpu/drm/drm_syncobj.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_syncobj.c +3 -0
index 9b733c510cbf..ee2206a67ada 100644
@@ -302,6 +302,9 @@ EXPORT_SYMBOL(drm_syncobj_create);
 
 /**
  * drm_syncobj_get_handle - get a handle from a syncobj
+ * @file_private: drm file private pointer
+ * @syncobj: sync object whose handle to get
+ * @handle: returnd sync object handle
  */
 int drm_syncobj_get_handle(struct drm_file *file_private,
 			   struct drm_syncobj *syncobj, u32 *handle)
Signature · 6 lines
2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] drm/syncobj: Fix kerneldocs

Quoted 19 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Document the drm_syncobj_get_handle() function parameters.

Cc Marek Olšák <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 drivers/gpu/drm/drm_syncobj.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_syncobj.c +0 -0
index 9b733c510cbf..ee2206a67ada 100644

drivers/gpu/drm/drm_syncobj.c EXPORT_SYMBOL(drm_syncobj_create); · line 307

Quoted 6 lines
drivers/gpu/drm/drm_syncobj.c +3 -0
@@ -302,6 +302,9 @@ EXPORT_SYMBOL(drm_syncobj_create);
 
 /**
  * drm_syncobj_get_handle - get a handle from a syncobj
+ * @file_private: drm file private pointer
+ * @syncobj: sync object whose handle to get
+ * @handle: returnd sync object handle

returned

Marek

Quoted 10 lines
drivers/gpu/drm/drm_syncobj.c +0 -1
  */
 int drm_syncobj_get_handle(struct drm_file *file_private,
                           struct drm_syncobj *syncobj, u32 *handle)
--

2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

Re: [PATCH 2/3] drm/syncobj: Fix kerneldocs

In reply to Ville Syrjala

Am 14.11.2017 um 20:10 schrieb Ville Syrjala:

Quoted 10 lines

From: Ville Syrjälä <[email protected]>

Document the drm_syncobj_get_handle() function parameters.

Cc Marek Olšák <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Daniel Vetter <[email protected]>

With the typo noted by Marek fixed the patch is Reviewed-by: Christian König <[email protected]> as well.

Quoted 9 lines
---
  drivers/gpu/drm/drm_syncobj.c | 3 +++
  1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_syncobj.c +0 -0
index 9b733c510cbf..ee2206a67ada 100644

drivers/gpu/drm/drm_syncobj.c EXPORT_SYMBOL(drm_syncobj_create); · line 310

Quoted 9 lines
drivers/gpu/drm/drm_syncobj.c +3 -0
@@ -302,6 +302,9 @@ EXPORT_SYMBOL(drm_syncobj_create);
 
  /**
   * drm_syncobj_get_handle - get a handle from a syncobj
+ * @file_private: drm file private pointer
+ * @syncobj: sync object whose handle to get
+ * @handle: returnd sync object handle
   */
  int drm_syncobj_get_handle(struct drm_file *file_private,
  			   struct drm_syncobj *syncobj, u32 *handle)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

PATCH 3/3 drm: Fix kerneldocs for drm_plane modifiers

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Add the missing kerneldoc for modifiers and modifier_count.

---
 include/drm/drm_plane.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_plane.h +2 -0
index fef2786c6cc6..8185e3468a23 100644
@@ -474,6 +474,8 @@ enum drm_plane_type {
  * @format_types: array of formats supported by this plane
  * @format_count: number of formats supported
  * @format_default: driver hasn't supplied supported formats for the plane
+ * @modifiers: array of modifiers supported by this plane
+ * @modifier_count: number of modifiers supported
  * @old_fb: Temporary tracking of the old fb while a modeset is ongoing. Used by
  * 	drm_mode_set_config_internal() to implement correct refcounting.
  * @funcs: helper functions
Signature · 6 lines
2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 3/3
#5 lore raw

Re: [PATCH 3/3] drm: Fix kerneldocs for drm_plane modifiers

Quoted 8 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Add the missing kerneldoc for modifiers and modifier_count.

Series is:

Quoted 20 lines
---
 include/drm/drm_plane.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_plane.h +2 -1
index fef2786c6cc6..8185e3468a23 100644
@@ -474,6 +474,8 @@ enum drm_plane_type {
  * @format_types: array of formats supported by this plane
  * @format_count: number of formats supported
  * @format_default: driver hasn't supplied supported formats for the plane
+ * @modifiers: array of modifiers supported by this plane
+ * @modifier_count: number of modifiers supported
  * @old_fb: Temporary tracking of the old fb while a modeset is ongoing. Used by
  *     drm_mode_set_config_internal() to implement correct refcounting.
  * @funcs: helper functions
--

2.13.6

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

Re: [PATCH 3/3] drm: Fix kerneldocs for drm_plane modifiers

Quoted 6 lines · Alex Deucher
Quoted 4 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Add the missing kerneldoc for modifiers and modifier_count.

Quoted 7 lines
Quoted 4 lines

Series is:

Thanks everyone. Patches 1 and 3 pushed to drm-misc-next. Looks like patch 2 will have to wait for a drm-next merge.

Quoted 25 lines
Quoted 25 lines
---
 include/drm/drm_plane.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_plane.h +2 -1
index fef2786c6cc6..8185e3468a23 100644
@@ -474,6 +474,8 @@ enum drm_plane_type {
  * @format_types: array of formats supported by this plane
  * @format_count: number of formats supported
  * @format_default: driver hasn't supplied supported formats for the plane
+ * @modifiers: array of modifiers supported by this plane
+ * @modifier_count: number of modifiers supported
  * @old_fb: Temporary tracking of the old fb while a modeset is ongoing. Used by
  *     drm_mode_set_config_internal() to implement correct refcounting.
  * @funcs: helper functions
--

2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 6 lines
Ville Syrjälä
Intel OTC
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

Re: [PATCH 3/3] drm: Fix kerneldocs for drm_plane modifiers

Quoted 12 lines · Ville Syrjälä
Quoted 11 lines · Alex Deucher
Quoted 8 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Add the missing kerneldoc for modifiers and modifier_count.

Quoted 5 lines
Quoted 2 lines

Series is:

Thanks everyone. Patches 1 and 3 pushed to drm-misc-next. Looks like patch 2 will have to wait for a drm-next merge.

Ping Dave to pick it up directly?
-Daniel

Quoted 30 lines
Quoted 26 lines
Quoted 26 lines

---
 include/drm/drm_plane.h | 2 ++
 1 file changed, 2 insertions(+)
include/drm/drm_plane.h +2 -1
index fef2786c6cc6..8185e3468a23 100644
@@ -474,6 +474,8 @@ enum drm_plane_type {
  * @format_types: array of formats supported by this plane
  * @format_count: number of formats supported
  * @format_default: driver hasn't supplied supported formats for the plane
+ * @modifiers: array of modifiers supported by this plane
+ * @modifier_count: number of modifiers supported
  * @old_fb: Temporary tracking of the old fb while a modeset is ongoing. Used by
  *     drm_mode_set_config_internal() to implement correct refcounting.
  * @funcs: helper functions
--

2.13.6

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Signature · 2 lines
Ville Syrjälä
Intel OTC
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
Acked-by on v1 1/3
#8 lore raw
In reply to Ville Syrjala

Den 14.11.2017 20.10, skrev Ville Syrjala:

Quoted 16 lines

From: Ville Syrjälä <[email protected]>

Use the correct name for the function argument in the docs.

Cc Noralf Trønnes <[email protected]>
Cc Daniel Vetter <[email protected]>
---
  drivers/gpu/drm/drm_gem_cma_helper.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_gem_cma_helper.c +0 -0
index 88ad88719605..ce67d7d42c66 100644

drivers/gpu/drm/drm_gem_cma_helper.c EXPORT_SYMBOL_GPL(drm_gem_cma_get_unmapped_area); · line 407

Quoted 8 lines
drivers/gpu/drm/drm_gem_cma_helper.c +1 -1
@@ -401,7 +401,7 @@ EXPORT_SYMBOL_GPL(drm_gem_cma_get_unmapped_area);
   * drm_gem_cma_print_info() - Print &drm_gem_cma_object info for debugfs
   * @p: DRM printer
   * @indent: Tab indentation level
- * @gem: GEM object
+ * @obj: GEM object
   *
   * This function can be used as the &drm_driver->gem_print_info callback.
   * It prints paddr and vaddr for use in e.g. debugfs output.

Thanks,

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel