]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/pm: fix missing fine-grained dpm table flag on aldebaran
authorYang Wang <kevinyang.wang@amd.com>
Wed, 22 Apr 2026 10:41:42 +0000 (18:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2026 15:09:43 +0000 (11:09 -0400)
Add the missing SMU_DPM_TABLE_FINE_GRAINED flag to aldebaran DPM table.
This fixes the pp_dpm_sclk node issue caused by missing flag configuration.

Fixes: 7ea1c722fe1d ("drm/amd/pm: Use common helper for aldebaran dpm table")
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 3427dea3a48ebddb491a26093f3627384b3cb2c2)

drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c

index 7f386ff0c872d8d2281a451d200763c15323f5b5..9d8b1227388fad9d60d89c8f423219a4e51cd608 100644 (file)
@@ -425,6 +425,7 @@ static int aldebaran_set_default_dpm_table(struct smu_context *smu)
                dpm_table->dpm_levels[0].enabled = true;
                dpm_table->dpm_levels[1].value = pptable->GfxclkFmax;
                dpm_table->dpm_levels[1].enabled = true;
+               dpm_table->flags |= SMU_DPM_TABLE_FINE_GRAINED;
        } else {
                dpm_table->count = 1;
                dpm_table->dpm_levels[0].value = smu->smu_table.boot_values.gfxclk / 100;