summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-06-14 12:06:35 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-17 11:02:03 -0500
commit82973e078b9dcb07a1379f4e75a4f65d2c793d49 (patch)
tree06730ee591aefed6a016f1455c48eec8fe5da17f /drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
parent38bb4226ffe51b033ecc6724c00ce0dd210db248 (diff)
drm/amd/powerplay: detect version of smu backend (v2)
Print the backend type. v2: whitespace fixes (Alex) Signed-off-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
index 9ef57fcf7e78..022f3c8c04f8 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
@@ -2935,6 +2935,7 @@ static int ci_update_smc_table(struct pp_hwmgr *hwmgr, uint32_t type)
}
const struct pp_smumgr_func ci_smu_funcs = {
+ .name = "ci_smu",
.smu_init = ci_smu_init,
.smu_fini = ci_smu_fini,
.start_smu = ci_start_smu,