mirror of https://github.com/torvalds/linux.git
drm/msm/dpu: enable CDM_0 for DPUs 1.x - 4.x
Enable the CDM_0 block on DPU versions 1.x - 4.x as documented in the vendor dtsi file. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Patchwork: https://patchwork.freedesktop.org/patch/638408/ Link: https://lore.kernel.org/r/20250220-dpu-add-cdm-v2-3-77f5f0df3d9a@linaro.org
This commit is contained in:
parent
15f2825def
commit
d5c1e00ea2
|
|
@ -190,6 +190,7 @@ const struct dpu_mdss_cfg dpu_msm8937_cfg = {
|
|||
.mdss_ver = &msm8937_mdss_ver,
|
||||
.caps = &msm8937_dpu_caps,
|
||||
.mdp = msm8937_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(msm8937_ctl),
|
||||
.ctl = msm8937_ctl,
|
||||
.sspp_count = ARRAY_SIZE(msm8937_sspp),
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ const struct dpu_mdss_cfg dpu_msm8917_cfg = {
|
|||
.mdss_ver = &msm8917_mdss_ver,
|
||||
.caps = &msm8917_dpu_caps,
|
||||
.mdp = msm8917_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(msm8917_ctl),
|
||||
.ctl = msm8917_ctl,
|
||||
.sspp_count = ARRAY_SIZE(msm8917_sspp),
|
||||
|
|
|
|||
|
|
@ -198,6 +198,7 @@ const struct dpu_mdss_cfg dpu_msm8953_cfg = {
|
|||
.mdss_ver = &msm8953_mdss_ver,
|
||||
.caps = &msm8953_dpu_caps,
|
||||
.mdp = msm8953_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(msm8953_ctl),
|
||||
.ctl = msm8953_ctl,
|
||||
.sspp_count = ARRAY_SIZE(msm8953_sspp),
|
||||
|
|
|
|||
|
|
@ -316,6 +316,7 @@ const struct dpu_mdss_cfg dpu_msm8996_cfg = {
|
|||
.mdss_ver = &msm8996_mdss_ver,
|
||||
.caps = &msm8996_dpu_caps,
|
||||
.mdp = msm8996_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(msm8996_ctl),
|
||||
.ctl = msm8996_ctl,
|
||||
.sspp_count = ARRAY_SIZE(msm8996_sspp),
|
||||
|
|
|
|||
|
|
@ -302,6 +302,7 @@ const struct dpu_mdss_cfg dpu_msm8998_cfg = {
|
|||
.mdss_ver = &msm8998_mdss_ver,
|
||||
.caps = &msm8998_dpu_caps,
|
||||
.mdp = &msm8998_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(msm8998_ctl),
|
||||
.ctl = msm8998_ctl,
|
||||
.sspp_count = ARRAY_SIZE(msm8998_sspp),
|
||||
|
|
|
|||
|
|
@ -269,6 +269,7 @@ const struct dpu_mdss_cfg dpu_sdm660_cfg = {
|
|||
.mdss_ver = &sdm660_mdss_ver,
|
||||
.caps = &sdm660_dpu_caps,
|
||||
.mdp = &sdm660_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(sdm660_ctl),
|
||||
.ctl = sdm660_ctl,
|
||||
.sspp_count = ARRAY_SIZE(sdm660_sspp),
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@ const struct dpu_mdss_cfg dpu_sdm630_cfg = {
|
|||
.mdss_ver = &sdm630_mdss_ver,
|
||||
.caps = &sdm630_dpu_caps,
|
||||
.mdp = &sdm630_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(sdm630_ctl),
|
||||
.ctl = sdm630_ctl,
|
||||
.sspp_count = ARRAY_SIZE(sdm630_sspp),
|
||||
|
|
|
|||
|
|
@ -319,6 +319,7 @@ const struct dpu_mdss_cfg dpu_sdm845_cfg = {
|
|||
.mdss_ver = &sdm845_mdss_ver,
|
||||
.caps = &sdm845_dpu_caps,
|
||||
.mdp = &sdm845_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(sdm845_ctl),
|
||||
.ctl = sdm845_ctl,
|
||||
.sspp_count = ARRAY_SIZE(sdm845_sspp),
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ const struct dpu_mdss_cfg dpu_sdm670_cfg = {
|
|||
.mdss_ver = &sdm670_mdss_ver,
|
||||
.caps = &sdm845_dpu_caps,
|
||||
.mdp = &sdm670_mdp,
|
||||
.cdm = &dpu_cdm_1_x_4_x,
|
||||
.ctl_count = ARRAY_SIZE(sdm845_ctl),
|
||||
.ctl = sdm845_ctl,
|
||||
.sspp_count = ARRAY_SIZE(sdm670_sspp),
|
||||
|
|
|
|||
|
|
@ -507,6 +507,13 @@ static const struct dpu_dsc_sub_blks dsc_sblk_1 = {
|
|||
/*************************************************************
|
||||
* CDM block config
|
||||
*************************************************************/
|
||||
static const struct dpu_cdm_cfg dpu_cdm_1_x_4_x = {
|
||||
.name = "cdm_0",
|
||||
.id = CDM_0,
|
||||
.len = 0x224,
|
||||
.base = 0x79200,
|
||||
};
|
||||
|
||||
static const struct dpu_cdm_cfg dpu_cdm_5_x = {
|
||||
.name = "cdm_0",
|
||||
.id = CDM_0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue