Skip to contentSkip to conversation

drm/amd/display: fix documentation for dm_crtc_additional_color_mgmt()

PATCH Applied Melissa Wen 2 participants 2 messages Dec 14, 2023

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

PATCH 1/1 drm/amd/display: fix documentation for dm_crtc_additional_color_mgmt()

warning: expecting prototype for drm_crtc_additional_color_mgmt(). Prototype was for dm_crtc_additional_color_mgmt() instead

---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +1 -1
index 8b3aa674741d..4439e5a27362 100644
@@ -292,7 +292,7 @@ static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc)
 
 #ifdef AMD_PRIVATE_COLOR
 /**
- * drm_crtc_additional_color_mgmt - enable additional color properties
+ * dm_crtc_additional_color_mgmt - enable additional color properties
  * @crtc: DRM CRTC
  *
  * This function lets the driver enable post-blending CRTC regamma transfer
Signature · 1 line
2.42.0
maintainer Applied
#1 lore raw

[Public]

Quoted 13 lines

-----Original Message-----
From: Melissa Wen <[email protected]>
Sent: Thursday, December 14, 2023 2:45 PM
To: Wentland, Harry <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Siqueira, Rodrigo <[email protected]>; Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Pan, Xinhui <[email protected]>; [email protected]; [email protected]
Cc: kernel test robot <[email protected]>; [email protected]; dri- [email protected]; [email protected]
Subject: [PATCH] drm/amd/display: fix documentation for dm_crtc_additional_color_mgmt()

Quoted 7 lines

warning: expecting prototype for drm_crtc_additional_color_mgmt(). Prototype was for dm_crtc_additional_color_mgmt() instead

[email protected]/

Applied. Thanks!

Alex

Quoted 21 lines
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c +1 -1
index 8b3aa674741d..4439e5a27362 100644
@@ -292,7 +292,7 @@ static int amdgpu_dm_crtc_late_register(struct
 drm_crtc *crtc)
 
 #ifdef AMD_PRIVATE_COLOR
 /**
- * drm_crtc_additional_color_mgmt - enable additional color properties
+ * dm_crtc_additional_color_mgmt - enable additional color properties
  * @crtc: DRM CRTC
  *

* This function lets the driver enable post-blending CRTC regamma transfer
--
2.42.0