drm/msm: a6xx: Make sure the SQE microcode is safe
authorJordan Crouse <jcrouse@codeaurora.org>
Wed, 10 Feb 2021 00:52:05 +0000 (17:52 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 23 Feb 2021 20:42:40 +0000 (12:42 -0800)
commit8490f02a3ca45fd1bbcadc243b4db9b69d0e3450
treeeb9e86e665eff608bc83df81bd45d4811a19a7db
parent65aee407a0f5d0548c560e5fc3cad21e51b6f7fd
drm/msm: a6xx: Make sure the SQE microcode is safe

Most a6xx targets have security issues that were fixed with new versions
of the microcode(s). Make sure that we are booting with a safe version of
the microcode for the target and print a message and error if not.

v2: Add more informative error messages and fix typos

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c