aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
diff options
context:
space:
mode:
authorKevin Wang <kevin1.wang@amd.com>2019-07-19 16:06:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-07-22 14:57:22 -0500
commitb629167d686787507f35a8bfb46b8b12f4f26eb7 (patch)
tree033b927b0b6f69aa085251e7ccd83569378359be /drivers/gpu/drm/amd/powerplay/navi10_ppt.c
parentdrm/amd/powerplay: custom peak clock freq for navi10 (diff)
downloadlinux-dev-b629167d686787507f35a8bfb46b8b12f4f26eb7.tar.xz
linux-dev-b629167d686787507f35a8bfb46b8b12f4f26eb7.zip
drm/amd/powerplay: remove redundancy debug log in smu
remove redundacy debug log in smu. eg: [ 6897.969447] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6897.969448] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6897.969448] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6899.024114] amdgpu: [powerplay] Unsupported SMU message: 38 [ 6899.024151] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6899.024151] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6899.024152] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6900.078296] amdgpu: [powerplay] Unsupported SMU message: 38 [ 6900.078332] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6900.078332] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6900.078333] amdgpu: [powerplay] smu 11 clk dpm feature 1 is not enabled [ 6901.133230] amdgpu: [powerplay] Unsupported SMU message: 38 Signed-off-by: Kevin Wang <kevin1.wang@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/navi10_ppt.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/navi10_ppt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
index b7b44ffe2670..c178062d00a3 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
@@ -217,7 +217,6 @@ static int navi10_get_smu_msg_index(struct smu_context *smc, uint32_t index)
mapping = navi10_message_map[index];
if (!(mapping.valid_mapping)) {
- pr_warn("Unsupported SMU message: %d\n", index);
return -EINVAL;
}
@@ -233,7 +232,6 @@ static int navi10_get_smu_clk_index(struct smu_context *smc, uint32_t index)
mapping = navi10_clk_map[index];
if (!(mapping.valid_mapping)) {
- pr_warn("Unsupported SMU clock: %d\n", index);
return -EINVAL;
}
@@ -249,7 +247,6 @@ static int navi10_get_smu_feature_index(struct smu_context *smc, uint32_t index)
mapping = navi10_feature_mask_map[index];
if (!(mapping.valid_mapping)) {
- pr_warn("Unsupported SMU feature: %d\n", index);
return -EINVAL;
}
@@ -265,7 +262,6 @@ static int navi10_get_smu_table_index(struct smu_context *smc, uint32_t index)
mapping = navi10_table_map[index];
if (!(mapping.valid_mapping)) {
- pr_warn("Unsupported SMU table: %d\n", index);
return -EINVAL;
}
@@ -281,7 +277,6 @@ static int navi10_get_pwr_src_index(struct smu_context *smc, uint32_t index)
mapping = navi10_pwr_src_map[index];
if (!(mapping.valid_mapping)) {
- pr_warn("Unsupported power source: %d\n", index);
return -EINVAL;
}
@@ -298,7 +293,6 @@ static int navi10_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER_P
mapping = navi10_workload_map[profile];
if (!(mapping.valid_mapping)) {
- pr_warn("Unsupported workload: %d\n", (int)profile);
return -EINVAL;
}