Re: [PATCH 06/10] drm/msm/mdss: add SAR2130P device configuration
From: Dmitry Baryshkov
Date: Fri Mar 07 2025 - 21:00:30 EST
On Sat, Mar 08, 2025 at 03:42:24AM +0200, Dmitry Baryshkov wrote:
> From: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
>
> Add compatible and device configuration for the Qualcomm SAR2130P
> platform.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> ---
> drivers/gpu/drm/msm/msm_mdss.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c
> index dcb49fd30402b80edd2cb5971f95a78eaad6081f..3e82ba0885d03107d54eab9569bb4c5395454c7a 100644
> --- a/drivers/gpu/drm/msm/msm_mdss.c
> +++ b/drivers/gpu/drm/msm/msm_mdss.c
> @@ -592,6 +592,16 @@ static const struct msm_mdss_data sa8775p_data = {
> .reg_bus_bw = 74000,
> };
>
> +static const struct msm_mdss_data sar2130p_data = {
> + .ubwc_enc_version = UBWC_3_0, /* 4.0.2 in hw */
> + .ubwc_dec_version = UBWC_4_3,
> + .ubwc_swizzle = 6,
> + .ubwc_static = 1,
This should have been .ubwc_bank_spread = true.
I have been rebasing the series from the earlier kernel and I'm not sure
why this didn't show up during the build phase.
> + .highest_bank_bit = 0,
> + .macrotile_mode = 1,
> + .reg_bus_bw = 74000,
> +};
> +
> static const struct msm_mdss_data sc7180_data = {
> .ubwc_enc_version = UBWC_2_0,
> .ubwc_dec_version = UBWC_2_0,
> @@ -738,6 +748,7 @@ static const struct of_device_id mdss_dt_match[] = {
> { .compatible = "qcom,msm8998-mdss", .data = &msm8998_data },
> { .compatible = "qcom,qcm2290-mdss", .data = &qcm2290_data },
> { .compatible = "qcom,sa8775p-mdss", .data = &sa8775p_data },
> + { .compatible = "qcom,sar2130p-mdss", .data = &sar2130p_data },
> { .compatible = "qcom,sdm670-mdss", .data = &sdm670_data },
> { .compatible = "qcom,sdm845-mdss", .data = &sdm845_data },
> { .compatible = "qcom,sc7180-mdss", .data = &sc7180_data },
>
> --
> 2.39.5
>
--
With best wishes
Dmitry