[Galaxy Ace II Android Development] ace2nutzer:
@ up

not always ... here u can see the config between standard + lcd.fix kernel:

standard kernel:

#define PRCMU_DPI_CLK_SHARP_FREQ	39936000	/* 30720000 */
#define PRCMU_DPI_CLK_SMD_FREQ	66560000	/* 49920000 */
.........
if (lcd_type == LCD_PANEL_TYPE_SMD) {
generic_display0.name = LCD_DRIVER_NAME_WS2401;
/* video modes */
codina_dpi_pri_display_info.video_mode.hsw = 4;	/* 10 */
codina_dpi_pri_display_info.video_mode.hbp = 4;	/* 8 */
codina_dpi_pri_display_info.video_mode.hfp = 4;	/* 8 */
codina_dpi_pri_display_info.video_mode.vsw = 8;	/* 2 */
codina_dpi_pri_display_info.video_mode.vbp = 8;	/* 8 */
codina_dpi_pri_display_info.video_mode.vfp = 4;	/* 18 and on GB 8 */
/* delays */
if (is_lpm) {
codina_dpi_pri_display_info.sleep_out_delay = 30;	/* 50 */
codina_dpi_pri_display_info.power_on_delay = 30;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 30;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 30;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 30;	/* 120 */
} else {
codina_dpi_pri_display_info.sleep_out_delay = 50;	/* 50 */
codina_dpi_pri_display_info.power_on_delay = 50;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 50;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 50;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 50;	/* 120 */
}
}
if (lcd_type == LCD_PANEL_TYPE_S6D27A1) {
generic_display0.name = LCD_DRIVER_NAME_S6D27A1;
/* video modes */
codina_dpi_pri_display_info.video_mode.hsw = 6;	/* 2 */
codina_dpi_pri_display_info.video_mode.hbp = 6;	/* 63 */
codina_dpi_pri_display_info.video_mode.hfp = 6;	/* 63 */
codina_dpi_pri_display_info.video_mode.vsw = 6;	/* 2 */
codina_dpi_pri_display_info.video_mode.vbp = 6;	/* 11 */
codina_dpi_pri_display_info.video_mode.vfp = 6;	/* 10 and on GB 3 */
/* delays */
if (is_lpm) {
codina_dpi_pri_display_info.sleep_out_delay = 20;	/* 120 */
codina_dpi_pri_display_info.power_on_delay = 20;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 20;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 20;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 20;	/* 120 */
} else {
codina_dpi_pri_display_info.sleep_out_delay = 30;	/* 120 */
codina_dpi_pri_display_info.power_on_delay = 30;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 30;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 30;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 30;	/* 120 */
}
}

LCD.FIX Kernel:

#define PRCMU_DPI_CLK_SHARP_FREQ	39936000	/* 30720000 */
#define PRCMU_DPI_CLK_SMD_FREQ	49920000	/* 49920000 */
if (lcd_type == LCD_PANEL_TYPE_SMD) {
generic_display0.name = LCD_DRIVER_NAME_WS2401;
/* video modes */
codina_dpi_pri_display_info.video_mode.hsw = 4;	/* 10 */
codina_dpi_pri_display_info.video_mode.hbp = 4;	/* 8 */
codina_dpi_pri_display_info.video_mode.hfp = 4;	/* 8 */
codina_dpi_pri_display_info.video_mode.vsw = 8;	/* 2 */
codina_dpi_pri_display_info.video_mode.vbp = 8;	/* 8 */
codina_dpi_pri_display_info.video_mode.vfp = 4;	/* 18 and on GB 8 */
/* delays */
if (is_lpm) {
codina_dpi_pri_display_info.sleep_out_delay = 30;	/* 50 */
codina_dpi_pri_display_info.power_on_delay = 30;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 30;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 30;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 30;	/* 120 */
} else {
codina_dpi_pri_display_info.sleep_out_delay = 50;	/* 50 */
codina_dpi_pri_display_info.power_on_delay = 50;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 50;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 50;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 50;	/* 120 */
}
}
if (lcd_type == LCD_PANEL_TYPE_S6D27A1) {
generic_display0.name = LCD_DRIVER_NAME_S6D27A1;
/* video modes */
codina_dpi_pri_display_info.video_mode.hsw = 12;	/* 2 */
codina_dpi_pri_display_info.video_mode.hbp = 12;	/* 63 */
codina_dpi_pri_display_info.video_mode.hfp = 12;	/* 63 */
codina_dpi_pri_display_info.video_mode.vsw = 6;	/* 2 */
codina_dpi_pri_display_info.video_mode.vbp = 6;	/* 11 */
codina_dpi_pri_display_info.video_mode.vfp = 12;	/* 10 and on GB 3 */
/* delays */
if (is_lpm) {
codina_dpi_pri_display_info.sleep_out_delay = 20;	/* 120 */
codina_dpi_pri_display_info.power_on_delay = 20;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 20;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 20;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 20;	/* 120 */
} else {
codina_dpi_pri_display_info.sleep_out_delay = 30;	/* 120 */
codina_dpi_pri_display_info.power_on_delay = 30;	/* 10 */
codina_dpi_pri_display_info.reset_delay = 30;	/* 10 */
codina_dpi_pri_display_info.display_off_delay = 30;	/* 25 */
codina_dpi_pri_display_info.sleep_in_delay = 30;	/* 120 */
}
}

Some help:

/* Value */ = Stock Value

u can change on the fly only lcd_freq + video_mode

SMD = WS2401 LCD Type. and

SHARP = S6D27A1 LCD Type.

U can also try everything @ stock, that will fix probably most of side-effects, but it'll lag like hell and u'll face weird graphical glitches... not very nice !

The main problem is, SAMSUNG really didn't care about to update LCD Driver for Jelly bean, instead we're still using old Gingerbread driver on jelly bean, kitkat and probably also on latest android versions.

That's why it can't work without some side-effects for all LCD's. :highfive: