]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: implement sysfs of amdgpu_get_busy_percent for smu11
authorKevin Wang <Kevin1.Wang@amd.com>
Fri, 11 Jan 2019 06:51:24 +0000 (14:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commit9923c57b7841439163d1d3cbfe3d1ea3d0420646
treee5b1e9f5eed28c3920c9ee810849269342b434d6
parent92f780d7c9291967228111bd85f95c738d31fbbf
drm/amd/powerplay: implement sysfs of amdgpu_get_busy_percent for smu11

add interface amdgpu_get_busy_percent for smu11

v2: convert data pointer type to uint32_t *.

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c