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: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7982128c3d
commit
713759291c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user