Loading drivers/media/platform/msm/vidc/governors/msm_vidc_dyn_gov.c +4 −0 Original line number Diff line number Diff line Loading @@ -1053,6 +1053,10 @@ static int __get_target_freq(struct devfreq *dev, unsigned long *freq) if (!dev || !freq) return -EINVAL; /* Start with highest frequecy and decide correct one later*/ ab_kbps = INT_MAX; gov = container_of(dev->governor, struct governor, devfreq_gov); dev->profile->get_dev_status(dev->dev.parent, &stats); Loading drivers/media/platform/msm/vidc/venus_hfi.c +4 −1 Original line number Diff line number Diff line Loading @@ -1166,7 +1166,10 @@ static unsigned long __get_clock_rate(struct clock_info *clock, } if ((!num_mbs_per_sec || !data) && num_rows) { freq = table[num_rows - 1].freq; /* When no data is given, vote for the highest frequency. */ freq = table[0].freq; goto print_clk; } Loading Loading
drivers/media/platform/msm/vidc/governors/msm_vidc_dyn_gov.c +4 −0 Original line number Diff line number Diff line Loading @@ -1053,6 +1053,10 @@ static int __get_target_freq(struct devfreq *dev, unsigned long *freq) if (!dev || !freq) return -EINVAL; /* Start with highest frequecy and decide correct one later*/ ab_kbps = INT_MAX; gov = container_of(dev->governor, struct governor, devfreq_gov); dev->profile->get_dev_status(dev->dev.parent, &stats); Loading
drivers/media/platform/msm/vidc/venus_hfi.c +4 −1 Original line number Diff line number Diff line Loading @@ -1166,7 +1166,10 @@ static unsigned long __get_clock_rate(struct clock_info *clock, } if ((!num_mbs_per_sec || !data) && num_rows) { freq = table[num_rows - 1].freq; /* When no data is given, vote for the highest frequency. */ freq = table[0].freq; goto print_clk; } Loading