@@ -33,13 +33,43 @@ static const struct dpu_mdp_cfg sm6115_mdp[] = {
33
33
},
34
34
};
35
35
36
+ static const struct dpu_ctl_cfg sm6115_ctl [] = {
37
+ {
38
+ .name = "ctl_0" , .id = CTL_0 ,
39
+ .base = 0x1000 , .len = 0x1dc ,
40
+ .features = BIT (DPU_CTL_ACTIVE_CFG ),
41
+ .intr_start = DPU_IRQ_IDX (MDP_SSPP_TOP0_INTR2 , 9 ),
42
+ },
43
+ };
44
+
36
45
static const struct dpu_sspp_cfg sm6115_sspp [] = {
37
46
SSPP_BLK ("sspp_0" , SSPP_VIG0 , 0x4000 , 0x1f8 , VIG_SC7180_MASK ,
38
47
sm6115_vig_sblk_0 , 0 , SSPP_TYPE_VIG , DPU_CLK_CTRL_VIG0 ),
39
48
SSPP_BLK ("sspp_8" , SSPP_DMA0 , 0x24000 , 0x1f8 , DMA_SDM845_MASK ,
40
49
sdm845_dma_sblk_0 , 1 , SSPP_TYPE_DMA , DPU_CLK_CTRL_DMA0 ),
41
50
};
42
51
52
+ static const struct dpu_lm_cfg sm6115_lm [] = {
53
+ LM_BLK ("lm_0" , LM_0 , 0x44000 , MIXER_QCM2290_MASK ,
54
+ & qcm2290_lm_sblk , PINGPONG_0 , 0 , DSPP_0 ),
55
+ };
56
+
57
+ static const struct dpu_dspp_cfg sm6115_dspp [] = {
58
+ DSPP_BLK ("dspp_0" , DSPP_0 , 0x54000 , DSPP_SC7180_MASK ,
59
+ & sm8150_dspp_sblk ),
60
+ };
61
+
62
+ static const struct dpu_pingpong_cfg sm6115_pp [] = {
63
+ PP_BLK ("pingpong_0" , PINGPONG_0 , 0x70000 , 0 , sdm845_pp_sblk ,
64
+ DPU_IRQ_IDX (MDP_SSPP_TOP0_INTR , 8 ),
65
+ DPU_IRQ_IDX (MDP_SSPP_TOP0_INTR , 12 )),
66
+ };
67
+
68
+ static const struct dpu_intf_cfg sm6115_intf [] = {
69
+ INTF_BLK ("intf_0" , INTF_0 , 0x00000 , 0x280 , INTF_NONE , 0 , 0 , 0 , 0 , 0 , 0 ),
70
+ INTF_BLK ("intf_1" , INTF_1 , 0x6a800 , 0x2c0 , INTF_DSI , 0 , 24 , INTF_SC7180_MASK , MDP_SSPP_TOP0_INTR , 26 , 27 ),
71
+ };
72
+
43
73
static const struct dpu_perf_cfg sm6115_perf_data = {
44
74
.max_bw_low = 3100000 ,
45
75
.max_bw_high = 4000000 ,
@@ -74,18 +104,18 @@ static const struct dpu_mdss_cfg sm6115_dpu_cfg = {
74
104
.ubwc = & sm6115_ubwc_cfg ,
75
105
.mdp_count = ARRAY_SIZE (sm6115_mdp ),
76
106
.mdp = sm6115_mdp ,
77
- .ctl_count = ARRAY_SIZE (qcm2290_ctl ),
78
- .ctl = qcm2290_ctl ,
107
+ .ctl_count = ARRAY_SIZE (sm6115_ctl ),
108
+ .ctl = sm6115_ctl ,
79
109
.sspp_count = ARRAY_SIZE (sm6115_sspp ),
80
110
.sspp = sm6115_sspp ,
81
- .mixer_count = ARRAY_SIZE (qcm2290_lm ),
82
- .mixer = qcm2290_lm ,
83
- .dspp_count = ARRAY_SIZE (qcm2290_dspp ),
84
- .dspp = qcm2290_dspp ,
85
- .pingpong_count = ARRAY_SIZE (qcm2290_pp ),
86
- .pingpong = qcm2290_pp ,
87
- .intf_count = ARRAY_SIZE (qcm2290_intf ),
88
- .intf = qcm2290_intf ,
111
+ .mixer_count = ARRAY_SIZE (sm6115_lm ),
112
+ .mixer = sm6115_lm ,
113
+ .dspp_count = ARRAY_SIZE (sm6115_dspp ),
114
+ .dspp = sm6115_dspp ,
115
+ .pingpong_count = ARRAY_SIZE (sm6115_pp ),
116
+ .pingpong = sm6115_pp ,
117
+ .intf_count = ARRAY_SIZE (sm6115_intf ),
118
+ .intf = sm6115_intf ,
89
119
.vbif_count = ARRAY_SIZE (sdm845_vbif ),
90
120
.vbif = sdm845_vbif ,
91
121
.perf = & sm6115_perf_data ,
0 commit comments