]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Add common throttler translation func
authorGraham Sider <Graham.Sider@amd.com>
Mon, 7 Jun 2021 13:35:01 +0000 (09:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Jun 2021 15:44:25 +0000 (11:44 -0400)
commitdf12bf1d16fe5c9152ede7b12f223282c1f5346e
tree4d5589fa98bc4c9f798dd7f467bac15612bb5758
parentaf7c277f466e27845cf734524c19743b38224606
drm/amd/pm: Add common throttler translation func

Defines smu_cmn_get_indep_throttler_status which performs ASIC
independent translation given a corresponding lookup table.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h