diff options
author | Jani Nikula <[email protected]> | 2016-01-14 17:12:07 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-01-15 11:38:11 +0200 |
commit | 6765bd6dd28eb3c087e5011a2944c00872dd5906 (patch) | |
tree | bf41d0e85189a6afcba6c3badf2ab32494d885e4 /tools/perf/scripts/python/stackcollapse.py | |
parent | 965fd602a6436f689f4f2fe40a6789582778ccd5 (diff) |
drm/i915/bios: Fix the sequence size calculations for MIPI seq v3
Two errors in a single line. The size was read from the wrong offset,
and the end index didn't take the five bytes for sequence byte and size
of sequence into account. Fix it all, and break up the calculations a
bit to make it clearer.
Cc: Ville Syrjälä <[email protected]>
Reported-and-tested-by: Mika Kahola <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Fixes: 2a33d93486f2 ("drm/i915/bios: add support for MIPI sequence block v3")
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions