[Freedreno] [PATCH v3 8/8] drm/msm: mdss: add support for SM8450
Konrad Dybcio
konrad.dybcio at somainline.org
Fri Nov 4 14:12:28 UTC 2022
On 04/11/2022 14:03, Dmitry Baryshkov wrote:
> Add support for the MDSS block on SM8450 platform.
>
> Tested-by: Vinod Koul <vkoul at kernel.org>
> Reviewed-by: Vinod Koul <vkoul at kernel.org>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio at somainline.org>
Konrad
> drivers/gpu/drm/msm/msm_mdss.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c
> index 6a4549ef34d4..5602fbaf6e0e 100644
> --- a/drivers/gpu/drm/msm/msm_mdss.c
> +++ b/drivers/gpu/drm/msm/msm_mdss.c
> @@ -283,6 +283,10 @@ static int msm_mdss_enable(struct msm_mdss *msm_mdss)
> case DPU_HW_VER_720:
> msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_3_0, 6, 1, 1, 1);
> break;
> + case DPU_HW_VER_810:
> + /* TODO: highest_bank_bit = 2 for LP_DDR4 */
> + msm_mdss_setup_ubwc_dec_40(msm_mdss, UBWC_4_0, 6, 1, 3, 1);
> + break;
> }
>
> return ret;
> @@ -511,6 +515,7 @@ static const struct of_device_id mdss_dt_match[] = {
> { .compatible = "qcom,sc8180x-mdss" },
> { .compatible = "qcom,sm8150-mdss" },
> { .compatible = "qcom,sm8250-mdss" },
> + { .compatible = "qcom,sm8450-mdss" },
> {}
> };
> MODULE_DEVICE_TABLE(of, mdss_dt_match);
More information about the Freedreno
mailing list