]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/swsmu/vangogh: simplify sensor handling
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 15:34:07 +0000 (10:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2020 22:37:17 +0000 (17:37 -0500)
commita6a8401eee95c3ca384089b84d2a44c5b9d822c8
treea9ab00e5f6133592232de8b1ab5f9a12ef323103
parent8de994e8f08eaed5eb0a5b1c078206e2a2a49b47
drm/amdgpu/swsmu/vangogh: simplify sensor handling

Just query the metrics table directly rather than going through
an extra level of functions.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c