Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

soc: qcom: ubwc: Add configuration Glymur platform

Describe the Universal Bandwidth Compression (UBWC) configuration
for the new Glymur platform.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251014-glymur-display-v2-7-ff935e2f88c5@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Abel Vesa and committed by
Bjorn Andersson
9b21c3bd 2286e18e

+12
+12
drivers/soc/qcom/ubwc_config.c
··· 218 218 .macrotile_mode = true, 219 219 }; 220 220 221 + static const struct qcom_ubwc_cfg_data glymur_data = { 222 + .ubwc_enc_version = UBWC_5_0, 223 + .ubwc_dec_version = UBWC_5_0, 224 + .ubwc_swizzle = UBWC_SWIZZLE_ENABLE_LVL2 | 225 + UBWC_SWIZZLE_ENABLE_LVL3, 226 + .ubwc_bank_spread = true, 227 + /* TODO: highest_bank_bit = 15 for LP_DDR4 */ 228 + .highest_bank_bit = 16, 229 + .macrotile_mode = true, 230 + }; 231 + 221 232 static const struct of_device_id qcom_ubwc_configs[] __maybe_unused = { 222 233 { .compatible = "qcom,apq8016", .data = &no_ubwc_data }, 223 234 { .compatible = "qcom,apq8026", .data = &no_ubwc_data }, 224 235 { .compatible = "qcom,apq8074", .data = &no_ubwc_data }, 225 236 { .compatible = "qcom,apq8096", .data = &msm8998_data }, 237 + { .compatible = "qcom,glymur", .data = &glymur_data}, 226 238 { .compatible = "qcom,msm8226", .data = &no_ubwc_data }, 227 239 { .compatible = "qcom,msm8916", .data = &no_ubwc_data }, 228 240 { .compatible = "qcom,msm8917", .data = &no_ubwc_data },