diff options
author | Lucas De Marchi | 2019-06-07 11:12:30 +0200 |
---|---|---|
committer | Lucas De Marchi | 2019-06-17 21:32:34 +0200 |
commit | e93821146921efa9e8f6a83606145445f9a9cc3a (patch) | |
tree | 51ee6d2e591dde2134fc95217238e2860c0b7237 /drivers/gpu/drm/i915/gt/intel_ringbuffer.c | |
parent | drm/i915/dmc: remove redundant return in parse_csr_fw() (diff) | |
download | kernel-qcow2-linux-e93821146921efa9e8f6a83606145445f9a9cc3a.tar.gz kernel-qcow2-linux-e93821146921efa9e8f6a83606145445f9a9cc3a.tar.xz kernel-qcow2-linux-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 'drivers/gpu/drm/i915/gt/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions