drm/amd/swsmu: modify the gfx activity scaling
authorLi Ma <li.ma@amd.com>
Wed, 28 Feb 2024 09:36:28 +0000 (17:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Mar 2024 01:35:00 +0000 (20:35 -0500)
commitf53deddb6beb400cfd1a5b059560a2d9b0fa15d5
tree728d3d8e9f1b49cb9fba02abe36bfc88b00e0789
parent1761d9a688ba60a6428a648658bd9c72d493019e
drm/amd/swsmu: modify the gfx activity scaling

Add an if condition for gfx activity because the scaling has been changed after smu fw version 5d4600.
And remove a warning log.

Signed-off-by: Li Ma <li.ma@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_0_ppt.c