summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2018-06-20 14:55:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-07-06 00:38:26 +0300
commitb374d82dca4721c534eb940b599dd4d45ba3a18f (patch)
treedef3148462f35a48f8adbefbf6e9d406d15d5293 /Documentation
parenta315f232f44e685397639649fe559325424d32d4 (diff)
downloadlinux-b374d82dca4721c534eb940b599dd4d45ba3a18f.tar.xz
drm/amd/amdgpu: Add a GPU_LOAD entry to sysfs (v3)
This adds what should be a stable interface to read GPU load from userspace. (v2): Fix comments and name of file per recommendations. (v3): Add chapter to amdgpu.rst as well. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Acked-by: Slava Abramov <slava.abramov@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/gpu/amdgpu.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/gpu/amdgpu.rst b/Documentation/gpu/amdgpu.rst
index e52d0ce186fe..765c2a32938f 100644
--- a/Documentation/gpu/amdgpu.rst
+++ b/Documentation/gpu/amdgpu.rst
@@ -115,3 +115,8 @@ pp_power_profile_mode
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
:doc: pp_power_profile_mode
+busy_percent
+~~~~~~~~~~~~
+
+.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+ :doc: busy_percent