Commit 51bc0640 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov
Browse files

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: default avatarAbhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: default avatarDmitry 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
parent d3169ce5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),
+1 −1
Original line number Diff line number Diff line
@@ -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),
+1 −1
Original line number Diff line number Diff line
@@ -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),
+1 −1
Original line number Diff line number Diff line
@@ -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,