drm/msm/a6xx: Bail out early if setting GPU OOB fails
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 8 Aug 2023 21:02:45 +0000 (23:02 +0200)
committerRob Clark <robdclark@chromium.org>
Thu, 17 Aug 2023 17:09:54 +0000 (10:09 -0700)
commit34b149ecae852d13ae3275e707fce93081ef5e4a
treefc6e733bd494ef2a39b10b331bb038a78d1d6873
parentc5597e58a56c4eb233ae2d15d06ed39fd94b2405
drm/msm/a6xx: Bail out early if setting GPU OOB fails

If the GMU can't guarantee the required resources are up, trying to
bring up the GPU is a lost cause. Return early if setting GPU OOB
fails.

Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> # sm8450
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/551830/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c