summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-06-14 07:06:35 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-06-17 19:02:03 +0300
commit82973e078b9dcb07a1379f4e75a4f65d2c793d49 (patch)
tree06730ee591aefed6a016f1455c48eec8fe5da17f /drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
parent38bb4226ffe51b033ecc6724c00ce0dd210db248 (diff)
downloadlinux-82973e078b9dcb07a1379f4e75a4f65d2c793d49.tar.xz
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/vega12_smumgr.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
index 1eaf0fa28ef7..bab3df85fdcd 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c
@@ -386,6 +386,7 @@ static int vega12_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table,
}
const struct pp_smumgr_func vega12_smu_funcs = {
+ .name = "vega12_smu",
.smu_init = &vega12_smu_init,
.smu_fini = &vega12_smu_fini,
.start_smu = &vega12_start_smu,