mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-25 23:20:59 -05:00
drm/msm/dpu: rename CDM block definition
The CDM block is not limited to SC7280, but it is common to all platforms since DPU 5.x. Rename it from sc7280_cdm to dpu_cdm_5_x. Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/638405/ Link: https://lore.kernel.org/r/20250220-dpu-add-cdm-v2-1-77f5f0df3d9a@linaro.org
This commit is contained in:
@@ -386,7 +386,7 @@ const struct dpu_mdss_cfg dpu_sm8250_cfg = {
|
||||
.mdss_ver = &sm8250_mdss_ver,
|
||||
.caps = &sm8250_dpu_caps,
|
||||
.mdp = &sm8250_mdp,
|
||||
.cdm = &sc7280_cdm,
|
||||
.cdm = &dpu_cdm_5_x,
|
||||
.ctl_count = ARRAY_SIZE(sm8250_ctl),
|
||||
.ctl = sm8250_ctl,
|
||||
.sspp_count = ARRAY_SIZE(sm8250_sspp),
|
||||
|
||||
@@ -248,7 +248,7 @@ const struct dpu_mdss_cfg dpu_sc7280_cfg = {
|
||||
.mdss_ver = &sc7280_mdss_ver,
|
||||
.caps = &sc7280_dpu_caps,
|
||||
.mdp = &sc7280_mdp,
|
||||
.cdm = &sc7280_cdm,
|
||||
.cdm = &dpu_cdm_5_x,
|
||||
.ctl_count = ARRAY_SIZE(sc7280_ctl),
|
||||
.ctl = sc7280_ctl,
|
||||
.sspp_count = ARRAY_SIZE(sc7280_sspp),
|
||||
|
||||
@@ -458,7 +458,7 @@ const struct dpu_mdss_cfg dpu_sa8775p_cfg = {
|
||||
.mdss_ver = &sa8775p_mdss_ver,
|
||||
.caps = &sa8775p_dpu_caps,
|
||||
.mdp = &sa8775p_mdp,
|
||||
.cdm = &sc7280_cdm,
|
||||
.cdm = &dpu_cdm_5_x,
|
||||
.ctl_count = ARRAY_SIZE(sa8775p_ctl),
|
||||
.ctl = sa8775p_ctl,
|
||||
.sspp_count = ARRAY_SIZE(sa8775p_sspp),
|
||||
|
||||
@@ -507,7 +507,7 @@ static const struct dpu_dsc_sub_blks dsc_sblk_1 = {
|
||||
/*************************************************************
|
||||
* CDM block config
|
||||
*************************************************************/
|
||||
static const struct dpu_cdm_cfg sc7280_cdm = {
|
||||
static const struct dpu_cdm_cfg dpu_cdm_5_x = {
|
||||
.name = "cdm_0",
|
||||
.id = CDM_0,
|
||||
.len = 0x228,
|
||||
|
||||
Reference in New Issue
Block a user