diff options
author | 2019-06-07 02:12:30 -0700 | |
---|---|---|
committer | 2019-06-17 12:32:34 -0700 | |
commit | e93821146921efa9e8f6a83606145445f9a9cc3a (patch) | |
tree | 51ee6d2e591dde2134fc95217238e2860c0b7237 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/dmc: remove redundant return in parse_csr_fw() (diff) | |
download | linux-dev-e93821146921efa9e8f6a83606145445f9a9cc3a.tar.xz linux-dev-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 <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190607091230.1489-10-lucas.demarchi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions