aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2015-12-14 18:23:46 +0200
committerVille Syrjälä <[email protected]>2016-01-12 16:12:12 +0200
commit52b69c849ab4a343e696a0e45d557550f15450a6 (patch)
tree2cfc00525e7d7d8e1e3732994e10dba2b13db392 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentb7792d8b54cc0e66b94d625d70761d086cad1dd3 (diff)
drm/i915: Allow 27 bytes child_dev for VBT <109
My 85x has VBT version 108 which has a child dev size of 27 bytes. Let's allow that without printing an error. We still want to reject the actual parsin since for that we need the child device size to be at least 33 bytes. So we should still check for that, but let's make it print a debug message only instead of an error. While at it, toss in a BUILD_BUG_ON() to verify our struct old_child_dev_config is in fact 33 bytes. Signed-off-by: Ville Syrjälä <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions