]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/pm: Enable ppt1 caps for smu_v13_0_12
authorAsad Kamal <asad.kamal@amd.com>
Sun, 19 Oct 2025 20:01:10 +0000 (04:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Nov 2025 02:54:17 +0000 (21:54 -0500)
Enable ppt1 caps to fetch and configure ppt1 for smu_v13_0_12

Signed-off-by: Asad Kamal <asad.kamal@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/smu13/smu_v13_0_6_ppt.c

index f9e04df7e472cf93b9bb97ad0da01747ec4f3e54..44e1cd821eec9abae229781cb53dec1ef0bc9f2d 100644 (file)
@@ -356,6 +356,9 @@ static void smu_v13_0_12_init_caps(struct smu_context *smu)
        if (fw_ver > 0x04560900)
                smu_v13_0_6_cap_set(smu, SMU_CAP(VCN_RESET));
 
+       if (fw_ver >= 0x04560D00)
+               smu_v13_0_6_cap_set(smu, SMU_CAP(FAST_PPT));
+
        if (fw_ver >= 0x04560700) {
                if (fw_ver >= 0x04560900) {
                        smu_v13_0_6_cap_set(smu, SMU_CAP(TEMP_METRICS));