Commit ebcef76b authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher

drm/amd/powerplay: drop unnecessary warning prompt

As the check may be done with purpose and the warning
output will be confusing.
Signed-off-by: default avatarEvan Quan <evan.quan@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f794913c
...@@ -280,10 +280,8 @@ static int arcturus_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER ...@@ -280,10 +280,8 @@ static int arcturus_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER
return -EINVAL; return -EINVAL;
mapping = arcturus_workload_map[profile]; mapping = arcturus_workload_map[profile];
if (!(mapping.valid_mapping)) { if (!(mapping.valid_mapping))
pr_warn("Unsupported SMU power source: %d\n", profile);
return -EINVAL; return -EINVAL;
}
return mapping.map_to; return mapping.map_to;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment