summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-04-18 14:42:18 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-04-22 11:42:32 +0300
commit105aa4c65b76c3a344ca89a2d2dc96c84cca557f (patch)
tree83154bf32197752755773ce9deb4209da76b0925
parente0a200ab4b72afd581bd6f82fc1ef510a4fb5478 (diff)
downloadlinux-105aa4c65b76c3a344ca89a2d2dc96c84cca557f.tar.gz
linux-105aa4c65b76c3a344ca89a2d2dc96c84cca557f.tar.bz2
linux-105aa4c65b76c3a344ca89a2d2dc96c84cca557f.zip
drm: Fix plane SIZE_HINTS property docs
Fix the typos in the plane SIZE_HINTS kernel docs. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: 9677547d8362 ("drm: Introduce plane SIZE_HINTS property") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240418114218.9162-1-ville.syrjala@linux.intel.com Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
-rw-r--r--drivers/gpu/drm/drm_plane.c2
-rw-r--r--include/drm/drm_mode_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c
index eecc24c54efd..57662a1fd345 100644
--- a/drivers/gpu/drm/drm_plane.c
+++ b/drivers/gpu/drm/drm_plane.c
@@ -1750,7 +1750,7 @@ int drm_plane_create_scaling_filter_property(struct drm_plane *plane,
EXPORT_SYMBOL(drm_plane_create_scaling_filter_property);
/**
- * drm_plane_add_size_hint_property - create a size hint property
+ * drm_plane_add_size_hints_property - create a size hints property
*
* @plane: drm plane
* @hints: size hints
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h
index 06d7777a881f..8de3c9a5f61b 100644
--- a/include/drm/drm_mode_config.h
+++ b/include/drm/drm_mode_config.h
@@ -953,7 +953,7 @@ struct drm_mode_config {
struct drm_property *modifiers_property;
/**
- * @size_hints_propertty: Plane SIZE_HINTS property.
+ * @size_hints_property: Plane SIZE_HINTS property.
*/
struct drm_property *size_hints_property;