drm/amd/display: Fix dm-pp clks type convert error
authorrex zhu <rex.zhu@amd.com>
Wed, 27 Jun 2018 09:34:37 +0000 (17:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:47 +0000 (16:38 -0500)
fix a typo when convert displayphyclk type.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c

index 2acbcc7a94120a0ddbc620e505da2ebdd03efae8..cf92d7a24f3387644a705809c0fcfc738449beee 100644 (file)
@@ -167,6 +167,9 @@ static enum amd_pp_clock_type dc_to_pp_clock_type(
                amd_pp_clk_type = amd_pp_f_clock;
                break;
        case DM_PP_CLOCK_TYPE_DISPLAYPHYCLK:
+               amd_pp_clk_type = amd_pp_phy_clock;
+               break;
+       case DM_PP_CLOCK_TYPE_DPPCLK:
                amd_pp_clk_type = amd_pp_dpp_clock;
                break;
        default: