aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2022-03-30 20:04:26 +0300
committerJani Nikula <[email protected]>2022-03-31 12:43:29 +0300
commit3aefc722ff52076407203b6af9713de567993adf (patch)
tree7b78ad0e92f9c9b525841f63d386cd3cb47bbb69 /tools/perf/scripts/python/check-perf-trace.py
parent66bfe59dd307b0b601ef721d348d850c8bf2396e (diff)
drm/edid: fix invalid EDID extension block filtering
The invalid EDID block filtering uses the number of valid EDID extensions instead of all EDID extensions for looping the extensions in the copy. This is fine, by coincidence, if all the invalid blocks are at the end of the EDID. However, it's completely broken if there are invalid extensions in the middle; the invalid blocks are included and valid blocks are excluded. Fix it by modifying the base block after, not before, the copy. Fixes: 14544d0937bf ("drm/edid: Only print the bad edid when aborting") Reported-by: Ville Syrjälä <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions