drm/radeon: add dpm support for CI dGPUs (v2)
[deliverable/linux.git] / drivers / gpu / drm / radeon / si_dpm.c
index 0f8be48c2ef467330ba7178cac117ea4450d4905..96d96f5df9e7cc9253abfde04c998a0d99ffa4e5 100644 (file)
@@ -3663,7 +3663,7 @@ static void si_clear_vc(struct radeon_device *rdev)
        WREG32(CG_FTV, 0);
 }
 
-static u8 si_get_ddr3_mclk_frequency_ratio(u32 memory_clock)
+u8 si_get_ddr3_mclk_frequency_ratio(u32 memory_clock)
 {
        u8 mc_para_index;
 
@@ -3676,7 +3676,7 @@ static u8 si_get_ddr3_mclk_frequency_ratio(u32 memory_clock)
        return mc_para_index;
 }
 
-static u8 si_get_mclk_frequency_ratio(u32 memory_clock, bool strobe_mode)
+u8 si_get_mclk_frequency_ratio(u32 memory_clock, bool strobe_mode)
 {
        u8 mc_para_index;
 
@@ -3758,9 +3758,9 @@ static bool si_validate_phase_shedding_tables(struct radeon_device *rdev,
        return true;
 }
 
-static void si_trim_voltage_table_to_fit_state_table(struct radeon_device *rdev,
-                                                    u32 max_voltage_steps,
-                                                    struct atom_voltage_table *voltage_table)
+void si_trim_voltage_table_to_fit_state_table(struct radeon_device *rdev,
+                                             u32 max_voltage_steps,
+                                             struct atom_voltage_table *voltage_table)
 {
        unsigned int i, diff;
 
This page took 0.025382 seconds and 5 git commands to generate.