diff options
author | Evan Quan <evan.quan@amd.com> | 2017-10-26 05:29:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-04 16:33:14 -0500 |
commit | 7413d2faef2d07c6ed558147c59b3f237afb1429 (patch) | |
tree | e1ac502e11aa4508c728587e33bb6ce50ba5e13c /drivers/gpu/drm/amd/amdgpu | |
parent | b636176efdf0e365a69613f03f6ecbf6fd0408cb (diff) |
drm/amd/powerplay: describe the PCIE link speed in right GT/s
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c index 68b505c768ad..5a60c161b0fc 100644 --- a/drivers/gpu/drm/amd/amdgpu/ci_dpm.c +++ b/drivers/gpu/drm/amd/amdgpu/ci_dpm.c | |||
@@ -6625,9 +6625,9 @@ static int ci_dpm_print_clock_levels(void *handle, | |||
6625 | 6625 | ||
6626 | for (i = 0; i < pcie_table->count; i++) | 6626 | for (i = 0; i < pcie_table->count; i++) |
6627 | size += sprintf(buf + size, "%d: %s %s\n", i, | 6627 | size += sprintf(buf + size, "%d: %s %s\n", i, |
6628 | (pcie_table->dpm_levels[i].value == 0) ? "2.5GB, x1" : | 6628 | (pcie_table->dpm_levels[i].value == 0) ? "2.5GT/s, x1" : |
6629 | (pcie_table->dpm_levels[i].value == 1) ? "5.0GB, x16" : | 6629 | (pcie_table->dpm_levels[i].value == 1) ? "5.0GT/s, x16" : |
6630 | (pcie_table->dpm_levels[i].value == 2) ? "8.0GB, x16" : "", | 6630 | (pcie_table->dpm_levels[i].value == 2) ? "8.0GT/s, x16" : "", |
6631 | (i == now) ? "*" : ""); | 6631 | (i == now) ? "*" : ""); |
6632 | break; | 6632 | break; |
6633 | default: | 6633 | default: |