aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-04-10 12:48:36 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-06-17 15:44:28 +0300
commitc582935c00227b4efc79630b149b1f077d7716b2 (patch)
treec6f61324c01169f99a21d01d52ef24155cb3975a /tools/perf/scripts/python/futex-contention.py
parentf2aee319d95fcba3d29424aeaf6d39d4c2a7890a (diff)
OMAPDSS: DISPC: fix 64 bit issue in 5-tap
The DISPC driver uses 64 bit arithmetic to calculate the required clock rate for scaling. The code does not seem to work correctly, and instead calculates with 32 bit numbers, giving wrong result. Fix the code by typecasting values to u64 first, so that the calculations do happen in 64 bits. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions