Skip to contentSkip to conversation

drm/amd/display: Fix typo and incorrect function name in dmub_srv.h comments

PATCH New Akiyoshi Kurita 1 participant 1 message Oct 21, 2025

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

PATCH 1/1 drm/amd/display: Fix typo and incorrect function name in dmub_srv.h comments

Fixes two instances of the typo "retreives" -> "retrieves" in documentation comments (for dmub_srv_calc_region_info() and dmub_srv_calc_mem_info()).

Additionally, fixes a copy-paste error where the comment for dmub_srv_calc_mem_info() incorrectly listed the function name as dmub_srv_calc_region_info().

---
 drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dmub/dmub_srv.h +2 -2
index 338fdc651f2c..a6f794ef2203 100644
@@ -637,7 +637,7 @@ enum dmub_status dmub_srv_create(struct dmub_srv *dmub,
 void dmub_srv_destroy(struct dmub_srv *dmub);
 
 /**
- * dmub_srv_calc_region_info() - retreives region info from the dmub service
+ * dmub_srv_calc_region_info() - retrieves region info from the dmub service
  * @dmub: the dmub service
  * @params: parameters used to calculate region locations
  * @info_out: the output region info from dmub
@@ -655,7 +655,7 @@ dmub_srv_calc_region_info(struct dmub_srv *dmub,
 			  struct dmub_srv_region_info *out);
 
 /**
- * dmub_srv_calc_region_info() - retreives fb info from the dmub service
+ * dmub_srv_calc_mem_info() - retrieves fb info from the dmub service
  * @dmub: the dmub service
  * @params: parameters used to calculate fb locations
  * @info_out: the output fb info from dmub
Signature · 1 line
2.47.3