]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Add a GPU_LOAD entry to sysfs (v3)
authorTom St Denis <tom.stdenis@amd.com>
Wed, 20 Jun 2018 11:55:39 +0000 (07:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:26 +0000 (16:38 -0500)
commit891160c65e675d8cc817154ea03bfb3abaf4d919
treedef3148462f35a48f8adbefbf6e9d406d15d5293
parent95c6967f8c5dc71eb3eb71057d49321c3a0b178d
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>
Documentation/gpu/amdgpu.rst
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c