drm/i915/uc: Fix table order verification to check all FW types
authorJohn Harrison <John.C.Harrison@Intel.com>
Tue, 22 Nov 2022 23:33:28 +0000 (15:33 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 23 Nov 2022 23:27:49 +0000 (15:27 -0800)
commit9b23059b29238204b1769589d665f44bd9b31255
tree0a8462f0a6810069a75951bd3cd6477d99e29fcd
parent02224691cb0f367acb476911bddfa21e2d596ca5
drm/i915/uc: Fix table order verification to check all FW types

It was noticed that the table order verification step was only being
run once rather than once per firmware type. Fix that.

Note that the long term plan is to convert this code to be a mock
selftest. It is already only compiled in when selftests are enabled.
And the work involved in the conversion was estimated to be
non-trivial. So that conversion is currently low on the priority list.

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