diff options
author | 2014-09-04 12:27:23 +0100 | |
---|---|---|
committer | 2014-09-04 15:08:53 +0200 | |
commit | 2789339044fb6dfbee0c8cd77e26438b80e333ee (patch) | |
tree | 072046d5f05e726246db377fc63e0d31aedeaeab /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/i915: Add comments explaining the vdd on/off functions (diff) | |
download | linux-dev-2789339044fb6dfbee0c8cd77e26438b80e333ee.tar.xz linux-dev-2789339044fb6dfbee0c8cd77e26438b80e333ee.zip |
drm/i915: Rewrite ABS_DIFF() in a safer manner
The new version of the macro does a few things better:
- protect the arguments,
- only evaluate the arguments once,
- check that the arguments are of the same type,
Change LC_FREQ_2K to be a unsigned 64bit constant and removed the '()'
from the caller as a result.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions