]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: add support for new smu metrics table for vangogh
authorXiaojian Du <Xiaojian.Du@amd.com>
Fri, 9 Apr 2021 08:19:43 +0000 (16:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Apr 2021 20:32:19 +0000 (16:32 -0400)
commitdfef3cf0dad55966c402ec0543f4969067c110df
tree7ca373441310311f05c91e0eb0b9508a00263bbc
parent4b79a77561d04fd0622845cf0c5894de99132167
drm/amd/pm: add support for new smu metrics table for vangogh

This patch is to add support for new smu metrics table for vangogh.
It will support new and legacy smu metrics table in the meanwhile.
New pmfw version is 4.63.36.00, and new smu interface version is #3.

v1: check smu pmfw version to determine to use new or legacy smu metrics
table

v2: check smu interface version to determine to use new or legacy smu
metrics table

v3: revise wrong symbol

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@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