di: fix the abnormal white color noise [1/2]

PD#SWPL-7049

Problem:
abnormal white color noise

Solution:
add G12a/G12b/sm1 chip in the deghost patch

Verify:
sm1

Change-Id: Ib3f4f0500712ff2aac8d5eb9cd137f8a3d3fe0f1
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com>
This commit is contained in:
Bencheng Jing
2019-07-26 17:22:43 +08:00
committed by Luan Yuan
parent 81c5c65d7e
commit a731aede21

View File

@@ -605,8 +605,11 @@ static void set_combing_regs(int lvl, int bit_mode)
DI_Wr_reg_bits(DI_MTN_1_CTRL1,
((*combing_setting_values[lvl])[0] &
combing_setting_masks[i]), 0, 24);
/*working on db, driver don't handle this*/
if (((bit_mode != 10) || cpu_after_eq(MESON_CPU_MAJOR_ID_TL1))
/*working on db, driver don't handle this
*confirmed with vlsi-baozheng, G12a/G12B/SM1
*is same as TL1, Change the condition to cpu after G12a
*/
if (((bit_mode != 10) || cpu_after_eq(MESON_CPU_MAJOR_ID_G12A))
&& combing_setting_registers[i] == NR2_MATNR_DEGHOST)
break;
else if (i < GXTVBB_REG_START) {