drm/amdgpu/navi10: add mclk to navi10_get_clock_by_type_with_latency
authorAlex Deucher <alexander.deucher@amd.com>
Sat, 25 Jan 2020 16:30:25 +0000 (11:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jan 2020 22:15:43 +0000 (17:15 -0500)
Doesn't seem to be used, but add it just in case.

Reviewed-by: Matt Coffin <mcoffin13@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c

index 93c66c6..f1b27fc 100644 (file)
@@ -949,6 +949,8 @@ static int navi10_get_clock_by_type_with_latency(struct smu_context *smu,
        case SMU_GFXCLK:
        case SMU_DCEFCLK:
        case SMU_SOCCLK:
+       case SMU_MCLK:
+       case SMU_UCLK:
                ret = smu_get_dpm_level_count(smu, clk_type, &level_count);
                if (ret)
                        return ret;