drm/msm/a6xx: set highest_bank_bit to 13 for a610
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 9 Jan 2024 20:41:08 +0000 (22:41 +0200)
committerRob Clark <robdclark@chromium.org>
Thu, 1 Feb 2024 23:13:41 +0000 (15:13 -0800)
commit6a0dbcd20ef252ebf98af94186a2e53da7167bed
tree16a9baaa7f42185a534630edff47d12987d53369
parent03facb39d6c6433a78d0f79c7a146b1e6a61943e
drm/msm/a6xx: set highest_bank_bit to 13 for a610

During the testing of Gnome on Qualcomm Robotics platform screen
corruption has been observed. Lowering GPU's highest_bank_bit from 14 to
13 seems to fix the screen corruption.

Note, the MDSS and DPU drivers use HBB=1 (which maps to the
highest_bank_bit = 14). So this change merely works around the UBWC
swizzling issue on this platform until the real cause is found.

Fixes: e7fc9398e608 ("drm/msm/a6xx: Add A610 support")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/573838/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c