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)
commitb374d82dca4721c534eb940b599dd4d45ba3a18f
treedef3148462f35a48f8adbefbf6e9d406d15d5293
parenta315f232f44e685397639649fe559325424d32d4
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