Skip to content

Commit da9cebe

Browse files
committed
drm/amdgpu: fix documentation around busy_percentage
Add rename the gpu busy percentage for consistency and add the mem busy percentage documentation. Reviewed-by: Evan Quan <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 7386f5c commit da9cebe

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Documentation/gpu/amdgpu.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,14 @@ pp_power_profile_mode
197197
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
198198
:doc: pp_power_profile_mode
199199

200-
busy_percent
201-
~~~~~~~~~~~~
200+
*_busy_percent
201+
~~~~~~~~~~~~~~
202202
203203
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
204-
:doc: busy_percent
204+
:doc: gpu_busy_percent
205+
206+
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
207+
:doc: mem_busy_percent
205208

206209
GPU Product Information
207210
=======================

drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ static ssize_t amdgpu_set_pp_power_profile_mode(struct device *dev,
16681668
}
16691669

16701670
/**
1671-
* DOC: busy_percent
1671+
* DOC: gpu_busy_percent
16721672
*
16731673
* The amdgpu driver provides a sysfs API for reading how busy the GPU
16741674
* is as a percentage. The file gpu_busy_percent is used for this.

0 commit comments

Comments
 (0)