drm/amdgpu/swsmu/navi1x: simplify sensor handling
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 18:24:28 +0000 (13:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2020 22:37:16 +0000 (17:37 -0500)
commitfae3a572c9a622697392c4a2e0e74191619dd971
treead3ce2cc7d3a30208f1227e383ade9977b27c67c
parent902bc65de0b3d72c481b45cbac3e97ab8cb399c2
drm/amdgpu/swsmu/navi1x: 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/navi10_ppt.c