aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorPeter Rosin <[email protected]>2018-08-24 11:24:57 +0200
committerBoris Brezillon <[email protected]>2018-08-27 21:12:16 +0200
commit319711f982084b044d3dac6ae58e3d801ae4ca43 (patch)
tree6951c63c46b7ba9cb3d30430fe93ecd11d6e1c8b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentbf1178c9893018b77c829215970cf4c6a3cebb34 (diff)
drm/atmel-hlcdc: prefer a higher rate clock as pixel-clock base
If the divider used to get the pixel-clock is small, the granularity of the frequencies possible for the pixel-clock is quite coarse. E.g. requesting a pixel-clock of 65MHz with a sys_clk of 132MHz results in the divider being set to 3 ending up with 44MHz. By preferring the doubled sys_clk as base, the divider instead ends up as 5 yielding a pixel-clock of 52.8Mhz, which is a definite improvement. While at it, clamp the divider so that it does not overflow in case it gets big. Signed-off-by: Peter Rosin <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions