diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-01-04 16:53:49 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-01-04 16:53:49 +0100 |
commit | 63a4be93937c1a6459f9d67b7afeb4e81fa64d2b (patch) | |
tree | 4aeadafeaa7fdfd3c837c37335004d9c92bf0c94 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | defddeff61041dbe2d5bd5469ee48912a89b4118 (diff) |
fbdev: radeon: use ktime_get() for HZ calibration
do_gettimeofday() is deprecated and a bit clumsy. This changes
radeon_probe_pll_params() over to using ktime_get() with monotonic
times. There is no need to check for negative values any more
since the monotonic clocksource cannot go backwards, but I'm
adding a check for zero-division in case of a bad clocksource.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions