Message ID | 20240912071437.1708969-4-quic_mahap@quicinc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add display support for Qualcomm SA8775P platform | expand |
On Thu, Sep 12, 2024 at 12:44:35PM GMT, Mahadevan wrote: > Add support for MDSS on SA8775P. Patch subject doesn't follow existing practice. > > Signed-off-by: Mahadevan <quic_mahap@quicinc.com> > --- > drivers/gpu/drm/msm/msm_mdss.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c > index faa88fd6eb4d..272207573dbb 100644 > --- a/drivers/gpu/drm/msm/msm_mdss.c > +++ b/drivers/gpu/drm/msm/msm_mdss.c > @@ -684,6 +684,15 @@ static const struct msm_mdss_data sm8350_data = { > .reg_bus_bw = 74000, > }; > > +static const struct msm_mdss_data sa8775p_data = { > + .ubwc_enc_version = UBWC_4_0, > + .ubwc_dec_version = UBWC_4_0, > + .ubwc_swizzle = 4, > + .ubwc_static = 1, > + .highest_bank_bit = 0, > + .macrotile_mode = 1, Missing .reg_bus_bw > +}; > + > static const struct msm_mdss_data sm8550_data = { > .ubwc_enc_version = UBWC_4_0, > .ubwc_dec_version = UBWC_4_3, > @@ -725,6 +734,7 @@ static const struct of_device_id mdss_dt_match[] = { > { .compatible = "qcom,sm8250-mdss", .data = &sm8250_data }, > { .compatible = "qcom,sm8350-mdss", .data = &sm8350_data }, > { .compatible = "qcom,sm8450-mdss", .data = &sm8350_data }, > + { .compatible = "qcom,sa8775p-mdss", .data = &sa8775p_data }, > { .compatible = "qcom,sm8550-mdss", .data = &sm8550_data }, > { .compatible = "qcom,sm8650-mdss", .data = &sm8550_data}, > { .compatible = "qcom,x1e80100-mdss", .data = &x1e80100_data}, > -- > 2.34.1 >
diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index faa88fd6eb4d..272207573dbb 100644 --- a/drivers/gpu/drm/msm/msm_mdss.c +++ b/drivers/gpu/drm/msm/msm_mdss.c @@ -684,6 +684,15 @@ static const struct msm_mdss_data sm8350_data = { .reg_bus_bw = 74000, }; +static const struct msm_mdss_data sa8775p_data = { + .ubwc_enc_version = UBWC_4_0, + .ubwc_dec_version = UBWC_4_0, + .ubwc_swizzle = 4, + .ubwc_static = 1, + .highest_bank_bit = 0, + .macrotile_mode = 1, +}; + static const struct msm_mdss_data sm8550_data = { .ubwc_enc_version = UBWC_4_0, .ubwc_dec_version = UBWC_4_3, @@ -725,6 +734,7 @@ static const struct of_device_id mdss_dt_match[] = { { .compatible = "qcom,sm8250-mdss", .data = &sm8250_data }, { .compatible = "qcom,sm8350-mdss", .data = &sm8350_data }, { .compatible = "qcom,sm8450-mdss", .data = &sm8350_data }, + { .compatible = "qcom,sa8775p-mdss", .data = &sa8775p_data }, { .compatible = "qcom,sm8550-mdss", .data = &sm8550_data }, { .compatible = "qcom,sm8650-mdss", .data = &sm8550_data}, { .compatible = "qcom,x1e80100-mdss", .data = &x1e80100_data},
Add support for MDSS on SA8775P. Signed-off-by: Mahadevan <quic_mahap@quicinc.com> --- drivers/gpu/drm/msm/msm_mdss.c | 10 ++++++++++ 1 file changed, 10 insertions(+)