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>
This commit is contained in:
committed by
Bjorn Andersson
parent
2286e18e39
commit
9b21c3bd24
@@ -218,11 +218,23 @@ static const struct qcom_ubwc_cfg_data x1e80100_data = {
|
|||||||
.macrotile_mode = true,
|
.macrotile_mode = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct qcom_ubwc_cfg_data glymur_data = {
|
||||||
|
.ubwc_enc_version = UBWC_5_0,
|
||||||
|
.ubwc_dec_version = UBWC_5_0,
|
||||||
|
.ubwc_swizzle = UBWC_SWIZZLE_ENABLE_LVL2 |
|
||||||
|
UBWC_SWIZZLE_ENABLE_LVL3,
|
||||||
|
.ubwc_bank_spread = true,
|
||||||
|
/* TODO: highest_bank_bit = 15 for LP_DDR4 */
|
||||||
|
.highest_bank_bit = 16,
|
||||||
|
.macrotile_mode = true,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id qcom_ubwc_configs[] __maybe_unused = {
|
static const struct of_device_id qcom_ubwc_configs[] __maybe_unused = {
|
||||||
{ .compatible = "qcom,apq8016", .data = &no_ubwc_data },
|
{ .compatible = "qcom,apq8016", .data = &no_ubwc_data },
|
||||||
{ .compatible = "qcom,apq8026", .data = &no_ubwc_data },
|
{ .compatible = "qcom,apq8026", .data = &no_ubwc_data },
|
||||||
{ .compatible = "qcom,apq8074", .data = &no_ubwc_data },
|
{ .compatible = "qcom,apq8074", .data = &no_ubwc_data },
|
||||||
{ .compatible = "qcom,apq8096", .data = &msm8998_data },
|
{ .compatible = "qcom,apq8096", .data = &msm8998_data },
|
||||||
|
{ .compatible = "qcom,glymur", .data = &glymur_data},
|
||||||
{ .compatible = "qcom,msm8226", .data = &no_ubwc_data },
|
{ .compatible = "qcom,msm8226", .data = &no_ubwc_data },
|
||||||
{ .compatible = "qcom,msm8916", .data = &no_ubwc_data },
|
{ .compatible = "qcom,msm8916", .data = &no_ubwc_data },
|
||||||
{ .compatible = "qcom,msm8917", .data = &no_ubwc_data },
|
{ .compatible = "qcom,msm8917", .data = &no_ubwc_data },
|
||||||
|
|||||||
Reference in New Issue
Block a user