]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/swsmu/renoir: simplify sensor handling (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Dec 2020 17:29:31 +0000 (12:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2020 22:37:18 +0000 (17:37 -0500)
commit65db44373a68d671c6720792ebbd90fcc3ebbd33
treeb12a538e51ac55522eabb1652b6aa312ad4922e7
parent9c1d48f0968b5c401bef235e96fc333a63680664
drm/amdgpu/swsmu/renoir: simplify sensor handling (v2)

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

v2: use proper enum

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/smu12/renoir_ppt.c