Skip to content

Commit 9dc23cb

Browse files
lweiss-fairphonerobclark
authored andcommitted
drm/msm/adreno: Set highest_bank_bit for A619
The default highest_bank_bit of 15 didn't seem to cause issues so far but downstream defines it to be 14. But similar to [0] leaving it on 14 (or 15 for that matter) causes some corruption issues with some resolutions with DisplayPort, like 1920x1200. So set it to 13 for now so that there's no screen corruption. [0] commit 6a0dbcd ("drm/msm/a6xx: set highest_bank_bit to 13 for a610") Fixes: b7616b5 ("drm/msm/adreno: Add A619 support") Signed-off-by: Luca Weiss <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/585215/ Signed-off-by: Rob Clark <[email protected]>
1 parent d3bbc4d commit 9dc23cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,6 +1377,10 @@ static void a6xx_calc_ubwc_config(struct adreno_gpu *gpu)
13771377
if (adreno_is_a618(gpu))
13781378
gpu->ubwc_config.highest_bank_bit = 14;
13791379

1380+
if (adreno_is_a619(gpu))
1381+
/* TODO: Should be 14 but causes corruption at e.g. 1920x1200 on DP */
1382+
gpu->ubwc_config.highest_bank_bit = 13;
1383+
13801384
if (adreno_is_a619_holi(gpu))
13811385
gpu->ubwc_config.highest_bank_bit = 13;
13821386

0 commit comments

Comments
 (0)