aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2015-12-15 13:16:15 +0200
committerJani Nikula <[email protected]>2015-12-16 11:22:44 +0200
commitf0067a31e83425d14c448e6846661a9be36761b9 (patch)
tree975eb8d41feb9de76526befb6aa9533f537bd084 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent8b8e1a8990864023c7d04e8591934229c7af4229 (diff)
drm/i915: refactor VBT validation
Make the validation function a boolean operating on a buffer of given size, removing the extra pointer dances. Move the OpRegion based VBT validation to intel_opregion_setup(), only initializing opregion->vbt if it's valid. v2: move logging about valid VBT to opregion setup too (Ville) Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions