Skip to content

Commit e031e7c

Browse files
lumagandersson
authored andcommitted
soc: qcom: ubwc: disable bank swizzling for Glymur platform
Due to the way the DDR controller is organized on Glymur, hardware engineers strongly recommended disabling UBWC bank swizzling on Glymur. Follow that recommendation. Fixes: 9b21c3b ("soc: qcom: ubwc: Add configuration Glymur platform") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Acked-by: Rob Clark <rob.clark@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Reviewed-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Reviewed-by: Akhil P Oommen <quic_akhilpo@quicinc.com> Link: https://lore.kernel.org/r/20260228-fix-glymur-ubwc-v2-1-70819bd6a6b4@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent e327017 commit e031e7c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/soc/qcom/ubwc_config.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,7 @@ static const struct qcom_ubwc_cfg_data x1e80100_data = {
231231
static const struct qcom_ubwc_cfg_data glymur_data = {
232232
.ubwc_enc_version = UBWC_5_0,
233233
.ubwc_dec_version = UBWC_5_0,
234-
.ubwc_swizzle = UBWC_SWIZZLE_ENABLE_LVL2 |
235-
UBWC_SWIZZLE_ENABLE_LVL3,
234+
.ubwc_swizzle = 0,
236235
.ubwc_bank_spread = true,
237236
/* TODO: highest_bank_bit = 15 for LP_DDR4 */
238237
.highest_bank_bit = 16,

0 commit comments

Comments
 (0)