aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2019-06-07 09:12:30 +0000
committerLucas De Marchi <[email protected]>2019-06-17 19:32:34 +0000
commite93821146921efa9e8f6a83606145445f9a9cc3a (patch)
tree51ee6d2e591dde2134fc95217238e2860c0b7237 /tools/perf/util/trace-event-scripting.c
parentdrm/i915/dmc: remove redundant return in parse_csr_fw() (diff)
downloadkernel-e93821146921efa9e8f6a83606145445f9a9cc3a.tar.gz
kernel-e93821146921efa9e8f6a83606145445f9a9cc3a.zip
drm/i915/dmc: protect against loading wrong firmware
In intel_package_header version 2 there's a new field in the fw_info table that must be 0, otherwise it's not the correct DMC firmware. Add a check for version 2 or later. Signed-off-by: Lucas De Marchi <[email protected]> Reviewed-by: Anusha Srivatsa <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions