diff options
author | Tobias Jakobi <[email protected]> | 2016-05-05 18:23:38 +0200 |
---|---|---|
committer | Inki Dae <[email protected]> | 2016-05-10 23:11:42 +0900 |
commit | fa9971d62a8cfc085b07b3eda1f45c236acc7d70 (patch) | |
tree | caf0f5f59fc8cdebc89a7fd8f4d272b7e0615fef /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | fc173ae6ddd0e7271447f1cb2d048b11cb6fd872 (diff) |
drm/exynos: fimd: harden fimd_calc_clkdiv()
Don't use the vrefresh field of the DRM mode since this
one is supposed to only be used for debug purpose.
Instead use the clock field which should also provide
much more precise information.
Also sanitize the case in which the clock value
should be zero. We then just default to the maximum
clock divisor.
Signed-off-by: Tobias Jakobi <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions