drm/i915/uc: Track patch level versions on reduced version firmware files
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 4 May 2023 20:22:51 +0000 (13:22 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 5 May 2023 16:25:18 +0000 (09:25 -0700)
commitd41e14fabc16043664f153b89d3d5d26f7069ff7
tree12b9f70e92ee47c5bf1165743810bc35babd2846
parent83ac5457998ed464032665375dea56da8776a861
drm/i915/uc: Track patch level versions on reduced version firmware files

When reduced version firmware files were added (matching major
component being the only strict requirement), the minor version was
still tracked and a notification reported if it was older. However,
the patch version should really be tracked as well for the same
reasons. The KMD can work without the change but if the effort has
been taken to release a new firmware with the change then there must
be a valid reason for doing so - important bug fix, security fix, etc.
And in that case it would be good to alert the user if they are
missing out on that new fix.

v2: Use correct patch version number and drop redunant debug print
(review by Daniele / CI results).

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230504202252.1104212-2-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c