Skip to content

Commit

Permalink
drm/msm/adreno: Set highest_bank_bit for A619
Browse files Browse the repository at this point in the history
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] 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 <luca.weiss@fairphone.com>
  • Loading branch information
lweiss-fairphone committed Mar 22, 2024
1 parent d23631c commit 530c793
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/msm/adreno/a6xx_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,10 @@ static void a6xx_calc_ubwc_config(struct adreno_gpu *gpu)
if (adreno_is_a618(gpu))
return;

if (adreno_is_a619(gpu))
/* TODO: Should be 14 but causes corruption at e.g. 1920x1200 on DP */
gpu->ubwc_config.highest_bank_bit = 13;

if (adreno_is_a619_holi(gpu))
gpu->ubwc_config.highest_bank_bit = 13;

Expand Down

0 comments on commit 530c793

Please sign in to comment.