Commit 1b016f87 authored by Jesse Zhang's avatar Jesse Zhang Committed by Alex Deucher

drm/amd/pm: remove logically dead code for renoir

The switch governing value clk_type cannot be SMU_GFXCLK and SMU_SCLK.

Fixes: ca55f459 ("drm/amd/pm: add the fine grain tuning function for Renoir")
Signed-off-by: default avatarJesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: default avatarYang Wang <kevinyang.wang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e2bff63b
...@@ -585,8 +585,6 @@ static int renoir_print_clk_levels(struct smu_context *smu, ...@@ -585,8 +585,6 @@ static int renoir_print_clk_levels(struct smu_context *smu,
} }
switch (clk_type) { switch (clk_type) {
case SMU_GFXCLK:
case SMU_SCLK:
case SMU_SOCCLK: case SMU_SOCCLK:
case SMU_MCLK: case SMU_MCLK:
case SMU_DCEFCLK: case SMU_DCEFCLK:
......
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