]> Git Repo - J-linux.git/commitdiff
drm/msm: fix the highest_bank_bit for sc7180
authorAbhinav Kumar <[email protected]>
Thu, 8 Aug 2024 23:52:27 +0000 (16:52 -0700)
committerAbhinav Kumar <[email protected]>
Tue, 13 Aug 2024 19:36:39 +0000 (12:36 -0700)
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: 6f410b246209 ("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]>
drivers/gpu/drm/msm/msm_mdss.c

index d90b9471ba6ff98e96b8330716814284d53848be..faa88fd6eb4d6aec383a242b66a2b5125c91b3bc 100644 (file)
@@ -577,7 +577,7 @@ static const struct msm_mdss_data sc7180_data = {
        .ubwc_enc_version = UBWC_2_0,
        .ubwc_dec_version = UBWC_2_0,
        .ubwc_static = 0x1e,
-       .highest_bank_bit = 0x3,
+       .highest_bank_bit = 0x1,
        .reg_bus_bw = 76800,
 };
 
This page took 0.045728 seconds and 4 git commands to generate.