From: Ville Syrjälä <ville.syrj...@linux.intel.com> Coccinelle doesn't fix up the docs for us, so let's do it manually.
Signed-off-by: Ville Syrjälä <ville.syrj...@linux.intel.com> --- drivers/gpu/drm/drm_atomic_helper.c | 12 +++++++++--- include/drm/drm_connector.h | 2 +- include/drm/drm_crtc.h | 2 +- include/drm/drm_plane.h | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index c60fb6289276..f0887f231fb8 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c @@ -3368,7 +3368,8 @@ EXPORT_SYMBOL(drm_atomic_helper_crtc_reset); /** * __drm_atomic_helper_crtc_duplicate_state - copy atomic CRTC state * @crtc: CRTC object - * @state: atomic CRTC state + * @state: new CRTC state + * @old_state: old CRTC state * * Copies atomic state from a CRTC's current state and resets inferred values. * This is useful for drivers that subclass the CRTC state. @@ -3401,6 +3402,7 @@ EXPORT_SYMBOL(__drm_atomic_helper_crtc_duplicate_state); /** * drm_atomic_helper_crtc_duplicate_state - default state duplicate hook * @crtc: drm CRTC + * @old_state: old CRTC state * * Default CRTC state duplicate hook for drivers which don't have their own * subclassed CRTC state structure. @@ -3481,7 +3483,8 @@ EXPORT_SYMBOL(drm_atomic_helper_plane_reset); /** * __drm_atomic_helper_plane_duplicate_state - copy atomic plane state * @plane: plane object - * @state: atomic plane state + * @state: new plane state + * @old_state: old plane state * * Copies atomic state from a plane's current state. This is useful for * drivers that subclass the plane state. @@ -3502,6 +3505,7 @@ EXPORT_SYMBOL(__drm_atomic_helper_plane_duplicate_state); /** * drm_atomic_helper_plane_duplicate_state - default state duplicate hook * @plane: drm plane + * @old_state: old plane state * * Default plane state duplicate hook for drivers which don't have their own * subclassed plane state structure. @@ -3605,7 +3609,8 @@ EXPORT_SYMBOL(drm_atomic_helper_connector_reset); /** * __drm_atomic_helper_connector_duplicate_state - copy atomic connector state * @connector: connector object - * @state: atomic connector state + * @state: new connector state + * @old_state: old connector state * * Copies atomic state from a connector's current state. This is useful for * drivers that subclass the connector state. @@ -3624,6 +3629,7 @@ EXPORT_SYMBOL(__drm_atomic_helper_connector_duplicate_state); /** * drm_atomic_helper_connector_duplicate_state - default state duplicate hook * @connector: drm connector + * @old_state: old connector state * * Default connector state duplicate hook for drivers which don't have their own * subclassed connector state structure. diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index ee9a15a87db5..a0d862d23082 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -514,7 +514,7 @@ struct drm_connector_funcs { /** * @atomic_duplicate_state: * - * Duplicate the current atomic state for this connector and return it. + * Duplicate the passed in atomic state for this connector and return it. * The core and helpers guarantee that any atomic state duplicated with * this hook and still owned by the caller (i.e. not transferred to the * driver by calling &drm_mode_config_funcs.atomic_commit) will be diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 1d187331fe5d..8bfbc54660ab 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -497,7 +497,7 @@ struct drm_crtc_funcs { /** * @atomic_duplicate_state: * - * Duplicate the current atomic state for this CRTC and return it. + * Duplicate the passed in atomic state for this CRTC and return it. * The core and helpers guarantee that any atomic state duplicated with * this hook and still owned by the caller (i.e. not transferred to the * driver by calling &drm_mode_config_funcs.atomic_commit) will be diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h index f01023ed1c7b..08ad4b58adbe 100644 --- a/include/drm/drm_plane.h +++ b/include/drm/drm_plane.h @@ -249,7 +249,7 @@ struct drm_plane_funcs { /** * @atomic_duplicate_state: * - * Duplicate the current atomic state for this plane and return it. + * Duplicate the passed in atomic state for this plane and return it. * The core and helpers guarantee that any atomic state duplicated with * this hook and still owned by the caller (i.e. not transferred to the * driver by calling &drm_mode_config_funcs.atomic_commit) will be -- 2.13.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx