aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>2022-09-16 15:35:50 +0530
committerJani Nikula <jani.nikula@intel.com>2022-10-04 20:35:49 +0300
commita07e6f56b3eb0bdc8fe42d04296fe66ea8ad4380 (patch)
treeae7ac1571a5b4290dbbce6d2a095dbe234596ec1 /tools/perf/scripts/python/bin
parentdrm/edid: Split DSC parsing into separate function (diff)
downloadlinux-a07e6f56b3eb0bdc8fe42d04296fe66ea8ad4380.tar.gz
linux-a07e6f56b3eb0bdc8fe42d04296fe66ea8ad4380.zip
drm/edid: Refactor HFVSDB parsing for DSC1.2
DSC capabilities are given in bytes 11-13 of VSDB (i.e. bytes 8-10 of SCDS). Since minimum length of Data block is 7, all bytes greater than 7 must be read only after checking the length of the data block. This patch adds check for data block length before reading relavant DSC bytes. Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220916100551.2531750-4-ankit.k.nautiyal@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions