drm/radeon/dpm: clarify debugfs warning
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2013 13:11:39 +0000 (09:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2013 13:14:08 +0000 (09:14 -0400)
For chips without debugfs dpm support say that it's not
implemented rather than not supported to avoid confusion
about DPM support in general.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c

index 075f2fa568976a173e60ab3684b946a2273c8b63..ebbdb477745a08de486730b4f0c2e72edf4d2d9d 100644 (file)
@@ -1399,7 +1399,7 @@ static int radeon_debugfs_pm_info(struct seq_file *m, void *data)
                if (rdev->asic->dpm.debugfs_print_current_performance_level)
                        radeon_dpm_debugfs_print_current_performance_level(rdev, m);
                else
-                       seq_printf(m, "Unsupported\n");
+                       seq_printf(m, "Debugfs support not implemented for this asic\n");
                mutex_unlock(&rdev->pm.mutex);
        } else {
                seq_printf(m, "default engine clock: %u0 kHz\n", rdev->pm.default_sclk);