]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/pm: Correct comment above power2_cap attributes
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 19 Jan 2026 20:36:26 +0000 (21:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jan 2026 19:23:11 +0000 (14:23 -0500)
Previously only Van Gogh supported this, but that is not true
anymore since:
commit 12c958d1db36 ("drm/amd/pm: Expose ppt1 limit for gc_v9_5_0")

Update the comment to reflect that.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c

index e289ed6dd1e726ff811cd0fcdd35755b7c5c352d..07641c9413d2f81d99c4b57bec41dfd1668e8d36 100644 (file)
@@ -3878,7 +3878,7 @@ static umode_t hwmon_attributes_visible(struct kobject *kobj,
             attr == &sensor_dev_attr_temp3_emergency.dev_attr.attr))
                return 0;
 
-       /* only Vangogh has fast PPT limit and power labels */
+       /* only a few GPUs have fast PPT limit and power labels */
        if ((attr == &sensor_dev_attr_power2_cap_max.dev_attr.attr ||
             attr == &sensor_dev_attr_power2_cap_min.dev_attr.attr ||
             attr == &sensor_dev_attr_power2_cap.dev_attr.attr ||