Commit 2a6387e2 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

drm/msm/dpu: correct indentation for CTL definitions

Shift dpu_ctl_cfg contents to correct the indentation of CTL blocks.
This is done in preparation to expanding the rest of hardware block
defines, so that all blocks have similar indentation.
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Tested-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
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/545374/
Link: https://lore.kernel.org/r/20230704022136.130522-10-dmitry.baryshkov@linaro.org
parent 038c06bd
...@@ -50,24 +50,20 @@ static const struct dpu_ctl_cfg msm8998_ctl[] = { ...@@ -50,24 +50,20 @@ static const struct dpu_ctl_cfg msm8998_ctl[] = {
.base = 0x1000, .len = 0x94, .base = 0x1000, .len = 0x94,
.features = BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x1200, .len = 0x94, .base = 0x1200, .len = 0x94,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x1400, .len = 0x94, .base = 0x1400, .len = 0x94,
.features = BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x1600, .len = 0x94, .base = 0x1600, .len = 0x94,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x1800, .len = 0x94, .base = 0x1800, .len = 0x94,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
......
...@@ -48,24 +48,20 @@ static const struct dpu_ctl_cfg sdm845_ctl[] = { ...@@ -48,24 +48,20 @@ static const struct dpu_ctl_cfg sdm845_ctl[] = {
.base = 0x1000, .len = 0xe4, .base = 0x1000, .len = 0xe4,
.features = BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x1200, .len = 0xe4, .base = 0x1200, .len = 0xe4,
.features = BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x1400, .len = 0xe4, .base = 0x1400, .len = 0xe4,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x1600, .len = 0xe4, .base = 0x1600, .len = 0xe4,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x1800, .len = 0xe4, .base = 0x1800, .len = 0xe4,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
......
...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sm8150_ctl[] = { ...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sm8150_ctl[] = {
.base = 0x1000, .len = 0x1e0, .base = 0x1000, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x1200, .len = 0x1e0, .base = 0x1200, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x1400, .len = 0x1e0, .base = 0x1400, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x1600, .len = 0x1e0, .base = 0x1600, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x1800, .len = 0x1e0, .base = 0x1800, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
}, }, {
{
.name = "ctl_5", .id = CTL_5, .name = "ctl_5", .id = CTL_5,
.base = 0x1a00, .len = 0x1e0, .base = 0x1a00, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
......
...@@ -48,32 +48,27 @@ static const struct dpu_ctl_cfg sc8180x_ctl[] = { ...@@ -48,32 +48,27 @@ static const struct dpu_ctl_cfg sc8180x_ctl[] = {
.base = 0x1000, .len = 0x1e0, .base = 0x1000, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x1200, .len = 0x1e0, .base = 0x1200, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x1400, .len = 0x1e0, .base = 0x1400, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x1600, .len = 0x1e0, .base = 0x1600, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x1800, .len = 0x1e0, .base = 0x1800, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
}, }, {
{
.name = "ctl_5", .id = CTL_5, .name = "ctl_5", .id = CTL_5,
.base = 0x1a00, .len = 0x1e0, .base = 0x1a00, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
......
...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sm8250_ctl[] = { ...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sm8250_ctl[] = {
.base = 0x1000, .len = 0x1e0, .base = 0x1000, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x1200, .len = 0x1e0, .base = 0x1200, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY), .features = BIT(DPU_CTL_ACTIVE_CFG) | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x1400, .len = 0x1e0, .base = 0x1400, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x1600, .len = 0x1e0, .base = 0x1600, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x1800, .len = 0x1e0, .base = 0x1800, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
}, }, {
{
.name = "ctl_5", .id = CTL_5, .name = "ctl_5", .id = CTL_5,
.base = 0x1a00, .len = 0x1e0, .base = 0x1a00, .len = 0x1e0,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
......
...@@ -40,14 +40,12 @@ static const struct dpu_ctl_cfg sc7180_ctl[] = { ...@@ -40,14 +40,12 @@ static const struct dpu_ctl_cfg sc7180_ctl[] = {
.base = 0x1000, .len = 0x1dc, .base = 0x1000, .len = 0x1dc,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x1200, .len = 0x1dc, .base = 0x1200, .len = 0x1dc,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x1400, .len = 0x1dc, .base = 0x1400, .len = 0x1dc,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
......
...@@ -43,20 +43,17 @@ static const struct dpu_ctl_cfg sm6350_ctl[] = { ...@@ -43,20 +43,17 @@ static const struct dpu_ctl_cfg sm6350_ctl[] = {
.base = 0x1000, .len = 0x1dc, .base = 0x1000, .len = 0x1dc,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x1200, .len = 0x1dc, .base = 0x1200, .len = 0x1dc,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x1400, .len = 0x1dc, .base = 0x1400, .len = 0x1dc,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x1600, .len = 0x1dc, .base = 0x1600, .len = 0x1dc,
.features = BIT(DPU_CTL_ACTIVE_CFG), .features = BIT(DPU_CTL_ACTIVE_CFG),
......
...@@ -47,32 +47,27 @@ static const struct dpu_ctl_cfg sm8350_ctl[] = { ...@@ -47,32 +47,27 @@ static const struct dpu_ctl_cfg sm8350_ctl[] = {
.base = 0x15000, .len = 0x1e8, .base = 0x15000, .len = 0x1e8,
.features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK, .features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x16000, .len = 0x1e8, .base = 0x16000, .len = 0x1e8,
.features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK, .features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x17000, .len = 0x1e8, .base = 0x17000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x18000, .len = 0x1e8, .base = 0x18000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x19000, .len = 0x1e8, .base = 0x19000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
}, }, {
{
.name = "ctl_5", .id = CTL_5, .name = "ctl_5", .id = CTL_5,
.base = 0x1a000, .len = 0x1e8, .base = 0x1a000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
......
...@@ -41,20 +41,17 @@ static const struct dpu_ctl_cfg sc7280_ctl[] = { ...@@ -41,20 +41,17 @@ static const struct dpu_ctl_cfg sc7280_ctl[] = {
.base = 0x15000, .len = 0x1e8, .base = 0x15000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x16000, .len = 0x1e8, .base = 0x16000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x17000, .len = 0x1e8, .base = 0x17000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x18000, .len = 0x1e8, .base = 0x18000, .len = 0x1e8,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
......
...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sc8280xp_ctl[] = { ...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sc8280xp_ctl[] = {
.base = 0x15000, .len = 0x204, .base = 0x15000, .len = 0x204,
.features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK, .features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x16000, .len = 0x204, .base = 0x16000, .len = 0x204,
.features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK, .features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x17000, .len = 0x204, .base = 0x17000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x18000, .len = 0x204, .base = 0x18000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x19000, .len = 0x204, .base = 0x19000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
}, }, {
{
.name = "ctl_5", .id = CTL_5, .name = "ctl_5", .id = CTL_5,
.base = 0x1a000, .len = 0x204, .base = 0x1a000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
......
...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sm8450_ctl[] = { ...@@ -49,32 +49,27 @@ static const struct dpu_ctl_cfg sm8450_ctl[] = {
.base = 0x15000, .len = 0x204, .base = 0x15000, .len = 0x204,
.features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK, .features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x16000, .len = 0x204, .base = 0x16000, .len = 0x204,
.features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK, .features = BIT(DPU_CTL_SPLIT_DISPLAY) | CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x17000, .len = 0x204, .base = 0x17000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x18000, .len = 0x204, .base = 0x18000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x19000, .len = 0x204, .base = 0x19000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
}, }, {
{
.name = "ctl_5", .id = CTL_5, .name = "ctl_5", .id = CTL_5,
.base = 0x1a000, .len = 0x204, .base = 0x1a000, .len = 0x204,
.features = CTL_SC7280_MASK, .features = CTL_SC7280_MASK,
......
...@@ -50,32 +50,27 @@ static const struct dpu_ctl_cfg sm8550_ctl[] = { ...@@ -50,32 +50,27 @@ static const struct dpu_ctl_cfg sm8550_ctl[] = {
.base = 0x15000, .len = 0x290, .base = 0x15000, .len = 0x290,
.features = CTL_SM8550_MASK | BIT(DPU_CTL_SPLIT_DISPLAY), .features = CTL_SM8550_MASK | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 9),
}, }, {
{
.name = "ctl_1", .id = CTL_1, .name = "ctl_1", .id = CTL_1,
.base = 0x16000, .len = 0x290, .base = 0x16000, .len = 0x290,
.features = CTL_SM8550_MASK | BIT(DPU_CTL_SPLIT_DISPLAY), .features = CTL_SM8550_MASK | BIT(DPU_CTL_SPLIT_DISPLAY),
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10),
}, }, {
{
.name = "ctl_2", .id = CTL_2, .name = "ctl_2", .id = CTL_2,
.base = 0x17000, .len = 0x290, .base = 0x17000, .len = 0x290,
.features = CTL_SM8550_MASK, .features = CTL_SM8550_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11),
}, }, {
{
.name = "ctl_3", .id = CTL_3, .name = "ctl_3", .id = CTL_3,
.base = 0x18000, .len = 0x290, .base = 0x18000, .len = 0x290,
.features = CTL_SM8550_MASK, .features = CTL_SM8550_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12),
}, }, {
{
.name = "ctl_4", .id = CTL_4, .name = "ctl_4", .id = CTL_4,
.base = 0x19000, .len = 0x290, .base = 0x19000, .len = 0x290,
.features = CTL_SM8550_MASK, .features = CTL_SM8550_MASK,
.intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13),
}, }, {
{
.name = "ctl_5", .id = CTL_5, .name = "ctl_5", .id = CTL_5,
.base = 0x1a000, .len = 0x290, .base = 0x1a000, .len = 0x290,
.features = CTL_SM8550_MASK, .features = CTL_SM8550_MASK,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment