summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvoke Zhang <evoke.zhang@amlogic.com>2019-04-06 14:43:02 +0800
committerDongjin Kim <tobetter@gmail.com>2019-05-16 13:20:34 +0900
commit9c69ef3c0473c72382740293a6c6df0a4d1212ee (patch)
tree441efd42896a1edf29a1220661f3381d1888e7da
parentd9915685bb72823f671ed36aa14e4e7a3e642fbc (diff)
downloadu-boot-odroid-c1-9c69ef3c0473c72382740293a6c6df0a4d1212ee.tar.gz
lcd: change DE location in encl [1/1]
PD#TV-3683 Problem: Repeatedly exit HDMI channel cause black screen Solution: optimized DE timing location in encl, to leave enough space for vlock adjusting. Verify: x301 Change-Id: I83834e20321a76a15140ff9f670174af2e64c61f Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
-rw-r--r--drivers/display/lcd/aml_lcd_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/display/lcd/aml_lcd_common.c b/drivers/display/lcd/aml_lcd_common.c
index f7c32b49ac..9102db5485 100644
--- a/drivers/display/lcd/aml_lcd_common.c
+++ b/drivers/display/lcd/aml_lcd_common.c
@@ -772,8 +772,8 @@ void lcd_timing_init_config(struct lcd_config_s *pconf)
vsync_bp = pconf->lcd_timing.vsync_bp;
vsync_width = pconf->lcd_timing.vsync_width;
- de_hstart = h_period - h_active - 1;
- de_vstart = v_period - v_active;
+ de_hstart = hsync_bp + hsync_width;
+ de_vstart = vsync_bp + vsync_width;
pconf->lcd_timing.video_on_pixel = de_hstart - h_delay;
pconf->lcd_timing.video_on_line = de_vstart;