drm/amdgpu/swsmu/sienna_cichlid: simplify sensor handling
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 18:35:56 +0000 (13:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2020 22:37:17 +0000 (17:37 -0500)
commit60e317a277e8b2440178f4fed48a954c9de379ec
tree2af9a15fd5343c392b08a36d0a1d29ca47ccccda
parent2bebe9148a484fe5b5092a7a013efd6c8f941280
drm/amdgpu/swsmu/sienna_cichlid: 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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c