diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2018-06-20 07:55:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-05 16:38:26 -0500 |
commit | b374d82dca4721c534eb940b599dd4d45ba3a18f (patch) | |
tree | def3148462f35a48f8adbefbf6e9d406d15d5293 /Documentation/gpu/amdgpu.rst | |
parent | a315f232f44e685397639649fe559325424d32d4 (diff) | |
download | lwn-b374d82dca4721c534eb940b599dd4d45ba3a18f.tar.gz lwn-b374d82dca4721c534eb940b599dd4d45ba3a18f.zip |
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/gpu/amdgpu.rst')
-rw-r--r-- | Documentation/gpu/amdgpu.rst | 5 |
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 |