drm/amd/powerplay: update how to use metrics table on Sienna Cichlid
authorEvan Quan <evan.quan@amd.com>
Thu, 4 Jun 2020 10:28:34 +0000 (18:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:17 +0000 (01:59 -0400)
commit8c686254291d51c344f033d8642ef3b75f6dd211
tree10b67fc6dfb5d47e628c15db3e34bbf246eaea0f
parentcf24dd2780c3b58669904a78fe8b549c69282102
drm/amd/powerplay: update how to use metrics table on Sienna Cichlid

Retrieve only those data interested instead of the whole table.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c