drm/amd/pm: add interface to deallocate power_context for smu_v13_0_7
authorKenneth Feng <kenneth.feng@amd.com>
Tue, 12 Apr 2022 10:46:22 +0000 (18:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jun 2022 15:44:02 +0000 (11:44 -0400)
add interface to deallocate power_context for smu_v13_0_7

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c

index bdea7bc..7da42ca 100644 (file)
@@ -1541,6 +1541,7 @@ static const struct pptable_funcs smu_v13_0_7_ppt_funcs = {
        .load_microcode = smu_v13_0_load_microcode,
        .init_smc_tables = smu_v13_0_7_init_smc_tables,
        .init_power = smu_v13_0_init_power,
+       .fini_power = smu_v13_0_fini_power,
        .check_fw_status = smu_v13_0_7_check_fw_status,
        .setup_pptable = smu_v13_0_7_setup_pptable,
        .check_fw_version = smu_v13_0_check_fw_version,