Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f853f611 authored by Gopikrishnaiah Anandan's avatar Gopikrishnaiah Anandan
Browse files

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: default avatarGopikrishnaiah Anandan <agopik@codeaurora.org>
parent 7969ca86
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -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 */