drm/amdgpu/powerplay/smu10: refactor AMDGPU_PP_SENSOR_GPU_LOAD
authorShirish S <shirish.s@amd.com>
Fri, 19 Mar 2021 06:58:40 +0000 (12:28 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:38:50 +0000 (16:38 -0400)
commit85a44ecd34e35bc4dd3e23279e827b2b0360c36d
tree051fca5c956f6f1b350f0078e37db86b50c39f9c
parent15e16daa35ba15424969cccb1b0aad2b8810e761
drm/amdgpu/powerplay/smu10: refactor AMDGPU_PP_SENSOR_GPU_LOAD

refactor AMDGPU_PP_SENSOR_GPU_LOAD to ensure code consistency with other
commands

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c