summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVenkateswara Rao Tadikonda <vtadik@codeaurora.org>2017-06-27 13:05:10 +0530
committerVenkateswara Rao Tadikonda <vtadik@codeaurora.org>2017-07-05 18:50:15 +0530
commitaac10e39c7eeba471339fd79f25d51fefd547ea4 (patch)
tree0b523786330d714d92da5636313bae1ab1d13990 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent20e0861617d2104eb68405b7b76b641316ad5ccc (diff)
msm: kgsl: Fix a dead loop issue while changing gpu frequency
There is a dead loop in kgsl_devfreq_target(), while governor request to change GPU frequency. In governor 'userspace' mode, If the requested frequency (set_freq) is more than the configured frequency and max_freq is also set to more than the configured frequency, then there is a dead loop while changing target frequency. Dead loop occurs due to comparing signed integer with unsigned integer. So, type casting unsigned integer to signed integer will terminate the loop when loop variable is less than zero. Change-Id: Ic82b7477d50d1abcd348b011f64246066887922c Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions