Selaa lähdekoodia

disp: msm: update igc last entry to fixed value

Currently driver clients are not setting the last value of the igc
table. As a temporary change setting it to 4095, once user-space changes
are updated will revert the current fix.

Change-Id: Ifd6e62cd9edf3d1f2917079f639e00aa4ea31cf1
Signed-off-by: Gopikrishnaiah Anandan <[email protected]>
Gopikrishnaiah Anandan 5 vuotta sitten
vanhempi
sitoutus
f853f611b2
1 muutettua tiedostoa jossa 3 lisäystä ja 4 poistoa
  1. 3 4
      msm/sde/sde_hw_reg_dma_v1_color_proc.c

+ 3 - 4
msm/sde/sde_hw_reg_dma_v1_color_proc.c

@@ -4059,10 +4059,9 @@ void reg_dmav2_setup_dspp_igcv32(struct sde_hw_dspp *ctx, void *cfg)
 		data[j++] = (u16)(lut_cfg->c0[i] << 4);
 		data[j++] = (u16)(lut_cfg->c1[i] << 4);
 	}
-	data[j++] = (u16)(lut_cfg->c2_last << 4);
-	data[j++] = (u16)(lut_cfg->c0_last << 4);
-	data[j++] = (u16)(lut_cfg->c1_last << 4);
-
+	data[j++] = (4095 << 4);
+	data[j++] = (4095 << 4);
+	data[j++] = (4095 << 4);
 	REG_DMA_SETUP_OPS(dma_write_cfg, 0, (u32 *)data, len,
 			REG_BLK_LUT_WRITE, 0, 0, 0);
 	/* table select is only relevant to SSPP Gamut */