]> 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)
commita2899070ff85ebdd8f95438ee7cd59a12af718fa
tree7ca373441310311f05c91e0eb0b9508a00263bbc
parent4578673e53fe3e390a1c4dd1a866cb5eecf0f9f8
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