drm/radeon: fix typo in ni_print_power_state
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 14 May 2013 14:35:05 +0000 (10:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:40:11 +0000 (19:40 -0400)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ni_dpm.c

index ebde8d01c76dd5151c2651badafff3a933d1ead1..ae8d3f551e303e52a426bf6c2e8145bd3d0faa7f 100644 (file)
@@ -4243,11 +4243,11 @@ void ni_dpm_print_power_state(struct radeon_device *rdev,
        for (i = 0; i < ps->performance_level_count; i++) {
                pl = &ps->performance_levels[i];
                if (rdev->family >= CHIP_TAHITI)
-                       printk("\t\tpower level 0    sclk: %u mclk: %u vddc: %u vddci: %u pcie gen: %u\n",
-                              pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1);
+                       printk("\t\tpower level %d    sclk: %u mclk: %u vddc: %u vddci: %u pcie gen: %u\n",
+                              i, pl->sclk, pl->mclk, pl->vddc, pl->vddci, pl->pcie_gen + 1);
                else
-                       printk("\t\tpower level 0    sclk: %u mclk: %u vddc: %u vddci: %u\n",
-                              pl->sclk, pl->mclk, pl->vddc, pl->vddci);
+                       printk("\t\tpower level %d    sclk: %u mclk: %u vddc: %u vddci: %u\n",
+                              i, pl->sclk, pl->mclk, pl->vddc, pl->vddci);
        }
        r600_dpm_print_ps_status(rdev, rps);
 }