Skip to content

Commit

Permalink
7870: Adjust CPU/GPU values based on dtsi
Browse files Browse the repository at this point in the history
  • Loading branch information
ananjaser1211 authored and followmsi committed Mar 26, 2019
1 parent 86dc3bc commit 32c61ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static gpu_attribute gpu_config_attributes[] = {
{GPU_TEMP_THROTTLING2, 845},
{GPU_TEMP_THROTTLING3, 728},
{GPU_TEMP_THROTTLING4, 545},
{GPU_TEMP_THROTTLING5, 343},
{GPU_TEMP_THROTTLING5, 450},
{GPU_TEMP_TRIPPING, 343},
{GPU_POWER_COEFF, 625}, /* all core on param */
{GPU_DVFS_TIME_INTERVAL, 5},
Expand Down
2 changes: 1 addition & 1 deletion drivers/soc/samsung/ect_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ static int ect_parse_ap_thermal_function(int parser_version, void *address, stru
ect_parse_integer(&address, &range->upper_bound_temperature);
ect_parse_integer(&address, &range->max_frequency);
if (range->max_frequency == 1586000)
range->max_frequency = 1794000;
range->max_frequency = 1690000;
ect_parse_integer(&address, &range->sw_trip);
ect_parse_integer(&address, &range->flag);
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/thermal/samsung/exynos_tmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ static int exynos_tmu_ect_set_information(struct platform_device *pdev)
pdata->trigger_type[i] = (i == function->num_of_range - 1 ? HW_TRIP : THROTTLE_ACTIVE);

if (function->range_list[i].max_frequency == 1586000)
function->range_list[i].max_frequency = 1794000;
function->range_list[i].max_frequency = 1690000;

pdata->freq_tab[i].temp_level = function->range_list[i].lower_bound_temperature;
pdata->freq_tab[i].freq_clip_max = function->range_list[i].max_frequency;
Expand Down

0 comments on commit 32c61ae

Please sign in to comment.