Skip to content

Commit 3e30296

Browse files
author
Abhinav Kumar
committed
drm/msm: fix the highest_bank_bit for sc7180
sc7180 programs the ubwc settings as 0x1e as that would mean a highest bank bit of 14 which matches what the GPU sets as well. However, the highest_bank_bit field of the msm_mdss_data which is being used to program the SSPP's fetch configuration is programmed to a highest bank bit of 16 as 0x3 translates to 16 and not 14. Fix the highest bank bit field used for the SSPP to match the mdss and gpu settings. Fixes: 6f410b2 ("drm/msm/mdss: populate missing data") Reviewed-by: Rob Clark <[email protected]> Tested-by: Stephen Boyd <[email protected]> # Trogdor.Lazor Patchwork: https://patchwork.freedesktop.org/patch/607625/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
1 parent d3a785e commit 3e30296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/msm_mdss.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ static const struct msm_mdss_data sc7180_data = {
577577
.ubwc_enc_version = UBWC_2_0,
578578
.ubwc_dec_version = UBWC_2_0,
579579
.ubwc_static = 0x1e,
580-
.highest_bank_bit = 0x3,
580+
.highest_bank_bit = 0x1,
581581
.reg_bus_bw = 76800,
582582
};
583583

0 commit comments

Comments
 (0)