drm/amd/pm: add a new sysfs entry for default power limit
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / pm / swsmu / smu13 / aldebaran_ppt.c
index 740025e..3c0d623 100644 (file)
@@ -1088,7 +1088,7 @@ static int aldebaran_get_power_limit(struct smu_context *smu)
                power_limit = pptable->PptLimit;
        }
 
-       smu->current_power_limit = power_limit;
+       smu->current_power_limit = smu->default_power_limit = power_limit;
        if (pptable)
                smu->max_power_limit = pptable->PptLimit;