Skip to content

Commit 6a0dbcd

Browse files
lumagrobclark
authored andcommitted
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: e7fc939 ("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>
1 parent 03facb3 commit 6a0dbcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/adreno/a6xx_gpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ static void a6xx_calc_ubwc_config(struct adreno_gpu *gpu)
12871287
gpu->ubwc_config.highest_bank_bit = 15;
12881288

12891289
if (adreno_is_a610(gpu)) {
1290-
gpu->ubwc_config.highest_bank_bit = 14;
1290+
gpu->ubwc_config.highest_bank_bit = 13;
12911291
gpu->ubwc_config.min_acc_len = 1;
12921292
gpu->ubwc_config.ubwc_mode = 1;
12931293
}

0 commit comments

Comments
 (0)