]> www.infradead.org Git - users/willy/linux.git/commit
drm/msm/adreno: Fix error return if missing firmware-name
authorRob Clark <robdclark@chromium.org>
Tue, 16 Jul 2024 16:06:30 +0000 (09:06 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 15 Aug 2024 17:12:07 +0000 (10:12 -0700)
commit624ab9cde26a9f150b4fd268b0f3dae3184dc40c
treefc88d0497ea0ca98c470932708e4a3f30e02eae1
parent3e30296b374af33cb4c12ff93df0b1e5b2d0f80b
drm/msm/adreno: Fix error return if missing firmware-name

-ENODEV is used to signify that there is no zap shader for the platform,
and the CPU can directly take the GPU out of secure mode.  We want to
use this return code when there is no zap-shader node.  But not when
there is, but without a firmware-name property.  This case we want to
treat as-if the needed fw is not found.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/604564/
drivers/gpu/drm/msm/adreno/adreno_gpu.c