[PATCH v2 08/13] drm/msm: mdss: Add SM6350 support
Marijn Suijten
marijn.suijten at somainline.org
Thu Apr 27 21:03:54 UTC 2023
On 2023-04-21 00:31:17, Konrad Dybcio wrote:
> Add support for MDSS on SM6350.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio at linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten at somainline.org>
> ---
> drivers/gpu/drm/msm/msm_mdss.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c
> index e8c93731aaa1..4e3a5f0c303c 100644
> --- a/drivers/gpu/drm/msm/msm_mdss.c
> +++ b/drivers/gpu/drm/msm/msm_mdss.c
> @@ -538,6 +538,14 @@ static const struct msm_mdss_data sdm845_data = {
> .highest_bank_bit = 2,
> };
>
> +static const struct msm_mdss_data sm6350_data = {
> + .ubwc_version = UBWC_2_0,
> + .ubwc_dec_version = UBWC_2_0,
> + .ubwc_swizzle = 6,
> + .ubwc_static = 0x1e,
> + .highest_bank_bit = 1,
> +};
> +
> static const struct msm_mdss_data sm8150_data = {
> .ubwc_version = UBWC_3_0,
> .ubwc_dec_version = UBWC_3_0,
> @@ -571,6 +579,7 @@ static const struct of_device_id mdss_dt_match[] = {
> { .compatible = "qcom,sc8180x-mdss", .data = &sc8180x_data },
> { .compatible = "qcom,sc8280xp-mdss", .data = &sc8280xp_data },
> { .compatible = "qcom,sm6115-mdss", .data = &sm6115_data },
> + { .compatible = "qcom,sm6350-mdss", .data = &sm6350_data },
> { .compatible = "qcom,sm8150-mdss", .data = &sm8150_data },
> { .compatible = "qcom,sm8250-mdss", .data = &sm8250_data },
> { .compatible = "qcom,sm8350-mdss", .data = &sm8250_data },
>
> --
> 2.40.0
>
More information about the dri-devel
mailing list