drm: msm: adreno: Disable preemption on Adreno 510
authorAdam Skladowski <a39.skl@gmail.com>
Tue, 14 Mar 2023 22:17:17 +0000 (23:17 +0100)
committerRob Clark <robdclark@chromium.org>
Mon, 20 Mar 2023 21:04:22 +0000 (14:04 -0700)
commit010c8bbad2cb8c33c47963e29f051f1e917e45a5
tree5c83c93cd41bb89efca41c35856a569acf9e9243
parent7ec6c41e0b377654e44dd5d61748863ed4d62091
drm: msm: adreno: Disable preemption on Adreno 510

Downstream driver appears to not support preemption on A510 target,
trying to use one make device slow and fill log with rings related errors.
Set num_rings to 1 to disable preemption.

Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: e20c9284c8f2 ("drm/msm/adreno: Add support for Adreno 510 GPU")
Signed-off-by: Adam Skladowski <a39.skl@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/526898/
Link: https://lore.kernel.org/r/20230314221757.13096-1-a39.skl@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c