Skip to contentSkip to conversation

amdgpu: fix some kernel-doc markup

PATCH In review Stylon Wang 3 participants 3 messages May 22, 2023 – May 23, 2023 1 message not in the archive

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

PATCH 1/1 amdgpu: fix some kernel-doc markup

From: Yann Dirson <[email protected]>

commit 03f2abb07e54b3e0da54c52a656d9765b7e141c5 upstream.

Those are not today pulled by the sphinx doc, but better be ready.

Two lines of the cherry-picked patch is removed because they are being refactored away from this file:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

Cc <[email protected]> # 5.15.x
(cherry picked from commit 03f2abb07e54b3e0da54c52a656d9765b7e141c5)
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c        | 6 +++---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -3
index b0d9c47cc381..a5cf672e79c5 100644
@@ -557,11 +557,11 @@ void amdgpu_device_wreg(struct amdgpu_device *adev,
 	trace_amdgpu_device_wreg(adev->pdev->device, reg, v);
 }
 
-/*
+/**
  * amdgpu_mm_wreg_mmio_rlc -  write register either with mmio or with RLC path if in range
  *
  * this function is invoked only the debugfs register access
- * */
+ */
 void amdgpu_mm_wreg_mmio_rlc(struct amdgpu_device *adev,
 			     uint32_t reg, uint32_t v)
 {
@@ -1107,7 +1107,7 @@ static void amdgpu_device_wb_fini(struct amdgpu_device *adev)
 }
 
 /**
- * amdgpu_device_wb_init- Init Writeback driver info and allocate memory
+ * amdgpu_device_wb_init - Init Writeback driver info and allocate memory
  *
  * @adev: amdgpu_device pointer
  *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
index fa4f0a205127..81d033b99591 100644
@@ -622,7 +622,7 @@ static void dm_dcn_vertical_interrupt0_high_irq(void *interrupt_params)
 #endif
 
 /**
- * dmub_aux_setconfig_reply_callback - Callback for AUX or SET_CONFIG command.
+ * dmub_aux_setconfig_callback - Callback for AUX or SET_CONFIG command.
  * @adev: amdgpu_device pointer
  * @notify: dmub notification structure
  *
Signature · 1 line
2.40.0
maintainer
#1 lore raw
Quoted 10 lines · Stylon Wang

From: Yann Dirson <[email protected]>

commit 03f2abb07e54b3e0da54c52a656d9765b7e141c5 upstream.

Those are not today pulled by the sphinx doc, but better be ready.

Two lines of the cherry-picked patch is removed because they are being refactored away from this file:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

Quoted 6 lines
Cc <[email protected]> # 5.15.x
(cherry picked from commit 03f2abb07e54b3e0da54c52a656d9765b7e141c5)

why is kernel doc issues stable material? What real fix needs this?

thanks,

greg k-h

A message that is not in the archive (sent off-list or not yet received): BN9PR12MB5145A7D7D53F2572A546039DFF409@BN9PR12MB5145.namprd12.prod.outlook.com

#3 lore raw
Quoted 6 lines · Chao-kai (Stylon)

[AMD Official Use Only - General]

Hi Greg,

To be honest, this is just to fix a build error/warning from a Linux kernel performance test:
https://lore.kernel.org/oe-kbuild-all/[email protected]/

Sorry about the confusing report. We will stop the documentation test on linux-stable.git.

Quoted 51 lines

No real bug/fix involved.

Regards

Stylon Wang

MTS Software Development Eng. | AMD
Display Solution Team

O +(886) 2-3789-3667 ext. 23667 C +(886) 921-897-142

----------------------------------------------------------------------------------------------------------------------------------

6F, 3, YuanCyu St (NanKang Software Park) Taipei, Taiwan

Facebook<https://www.facebook.com/AMD> | Twitter<https://twitter.com/AMD> | amd.com<http://www.amd.com/>

________________________________
From: Greg KH <[email protected]>
Sent: May 23, 2023 2:41 AM
To: Wang, Chao-kai (Stylon) <[email protected]>
Cc: [email protected] <[email protected]>; Shih, Jude <[email protected]>; Yann Dirson <[email protected]>; Deucher, Alexander <[email protected]>; kernel test robot <[email protected]>
Subject: Re: [PATCH] amdgpu: fix some kernel-doc markup

Quoted 10 lines · Stylon Wang

From: Yann Dirson <[email protected]>

commit 03f2abb07e54b3e0da54c52a656d9765b7e141c5 upstream.

Those are not today pulled by the sphinx doc, but better be ready.

Two lines of the cherry-picked patch is removed because they are being refactored away from this file:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

Quoted 6 lines
Cc <[email protected]> # 5.15.x
(cherry picked from commit 03f2abb07e54b3e0da54c52a656d9765b7e141c5)

why is kernel doc issues stable material? What real fix needs this?

thanks,

greg k-h