Selaa lähdekoodia

disp: msm: sde: Add a separate modify block for sixzonev2

Sixzonev2 uses a combination of broadcast enabled and disabled
cases to program luts and modify PA config registers respectively.
It also uses SB LUTDMA which requires all DSPP sub blocks to be
flushed. The modify operation can't be used with broadcast enabled and
was resetting the sub blocks to only indicate DSPP1 and causing the
DSPP_SB flush to be missed for DSPP 0. This change maintains the original
dspp indices to be used for broadcast enabled case and SB LUTDMA kickoff.

Change-Id: I1079878bbf44238419d4f88a40814e488c0800e3
Signed-off-by: Alisha Thapaliya <[email protected]>
Alisha Thapaliya 1 vuosi sitten
vanhempi
sitoutus
63723f6441
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      msm/sde/sde_hw_reg_dma_v1_color_proc.c

+ 3 - 2
msm/sde/sde_hw_reg_dma_v1_color_proc.c

@@ -2330,8 +2330,9 @@ void reg_dmav2_setup_dspp_sixzonev2(struct sde_hw_dspp *ctx, void *cfg)
 	}
 	}
 
 
 	for (i = 0; i < num_of_mixers; i++) {
 	for (i = 0; i < num_of_mixers; i++) {
-		blk = dspp_mapping[dspp_list[i]->idx];
-		REG_DMA_INIT_OPS(dma_write_cfg, blk, SIX_ZONE,
+		u32 modify_blk = dspp_mapping[dspp_list[i]->idx];
+
+		REG_DMA_INIT_OPS(dma_write_cfg, modify_blk, SIX_ZONE,
 			dspp_buf[SIX_ZONE][ctx->idx]);
 			dspp_buf[SIX_ZONE][ctx->idx]);
 
 
 		REG_DMA_SETUP_OPS(dma_write_cfg, 0, NULL, 0, HW_BLK_SELECT,
 		REG_DMA_SETUP_OPS(dma_write_cfg, 0, NULL, 0, HW_BLK_SELECT,