]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amdgpu: fix documentation around busy_percentage
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Jun 2020 20:36:49 +0000 (16:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2020 21:42:43 +0000 (17:42 -0400)
Add rename the gpu busy percentage for consistency and
add the mem busy percentage documentation.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Documentation/gpu/amdgpu.rst
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c

index 4cc74325bf91417d5523de7a7e23b5477325aaf2..17112352f605e087a580043654095d1ffffca16b 100644 (file)
@@ -197,11 +197,14 @@ pp_power_profile_mode
 .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
    :doc: pp_power_profile_mode
 
-busy_percent
-~~~~~~~~~~~~
+*_busy_percent
+~~~~~~~~~~~~~~
 
 .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
-   :doc: busy_percent
+   :doc: gpu_busy_percent
+
+.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+   :doc: mem_busy_percent
 
 GPU Product Information
 =======================
index b3d33307ff09332af745df3dbb9e52263c1eb3fb..16596a9ccabefc60218563effd3fd90577aa2073 100644 (file)
@@ -1668,7 +1668,7 @@ static ssize_t amdgpu_set_pp_power_profile_mode(struct device *dev,
 }
 
 /**
- * DOC: busy_percent
+ * DOC: gpu_busy_percent
  *
  * The amdgpu driver provides a sysfs API for reading how busy the GPU
  * is as a percentage.  The file gpu_busy_percent is used for this.