]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/msm: fix the highest_bank_bit for sc7180
authorAbhinav Kumar <quic_abhinavk@quicinc.com>
Thu, 8 Aug 2024 23:52:27 +0000 (16:52 -0700)
committerAbhinav Kumar <quic_abhinavk@quicinc.com>
Tue, 13 Aug 2024 19:36:39 +0000 (12:36 -0700)
commit3e30296b374af33cb4c12ff93df0b1e5b2d0f80b
treeb040f2d687777ab73edf4719741cd9234b934d4a
parentd3a785e4f983f523380e023d8a05fb6d04402957
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: 6f410b246209 ("drm/msm/mdss: populate missing data")
Reviewed-by: Rob Clark <robdclark@gmail.com>
Tested-by: Stephen Boyd <swboyd@chromium.org> # Trogdor.Lazor
Patchwork: https://patchwork.freedesktop.org/patch/607625/
Link: https://lore.kernel.org/r/20240808235227.2701479-1-quic_abhinavk@quicinc.com
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
drivers/gpu/drm/msm/msm_mdss.c