Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
pvr: exynos5410: dvfs: sec_clock_change return to do nothing when sgx…
Browse files Browse the repository at this point in the history
…_dvfs_level and level from arg
  • Loading branch information
opnay committed Dec 26, 2017
1 parent f8c825e commit f32c029
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/pvr/services4/system/exynos5410/sec_dvfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ int sec_clock_change(int level) {
else if (level < sgx_dvfs_max)
level = sgx_dvfs_max;

if (sgx_dvfs_level == level)
return level;

sec_gpu_vol_clk_change(dvfs_data[level].clock, dvfs_data[level].voltage);
sec_gpu_dvfs_down_requirement_reset();

Expand Down

0 comments on commit f32c029

Please sign in to comment.