Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71375929 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/dpm: clarify debugfs warning



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: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7982128c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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)
		if (rdev->asic->dpm.debugfs_print_current_performance_level)
			radeon_dpm_debugfs_print_current_performance_level(rdev, m);
			radeon_dpm_debugfs_print_current_performance_level(rdev, m);
		else
		else
			seq_printf(m, "Unsupported\n");
			seq_printf(m, "Debugfs support not implemented for this asic\n");
		mutex_unlock(&rdev->pm.mutex);
		mutex_unlock(&rdev->pm.mutex);
	} else {
	} else {
		seq_printf(m, "default engine clock: %u0 kHz\n", rdev->pm.default_sclk);
		seq_printf(m, "default engine clock: %u0 kHz\n", rdev->pm.default_sclk);