1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-02 07:51:17 +02:00
Files
u-boot-megous/common
Stephen Warren 6d3307195d lcd: calculate line_length after lcd_ctrl_init()
When an LCD driver is actually driving a regular external display, e.g.
an HDMI monitor, the display resolution might not be known until the
display controller has initialized, i.e. during lcd_ctrl_init(). However,
lcd.c calculates lcd_line_length before calling this function, thus
relying on a hard-coded resolution in struct panel_info.

Instead, defer this calculation until after lcd_ctrl_init() has had the
chance to dynamically determine the resolution. This needs to happen
before lcd_clear(), since the value is used there.

grep indicates that no code outside lcd.c uses this lcd_line_length; in
particular, no lcd_ctrl_init() implementations read it.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
2013-03-20 15:29:39 +01:00
..
2013-03-15 16:14:00 -04:00
2013-03-15 16:14:00 -04:00
2012-11-04 11:00:35 -07:00
2012-10-03 16:01:22 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2013-02-20 08:52:29 -05:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:34 -07:00
2012-11-04 11:00:34 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:34 -07:00
2012-12-11 13:17:33 -07:00
2013-02-20 08:52:41 -05:00
2013-03-12 23:28:40 +01:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2013-03-12 12:43:31 -04:00
2012-11-04 11:00:35 -07:00
2012-09-27 12:22:11 -05:00
2012-12-19 15:51:57 -07:00
2013-01-08 10:54:33 +09:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2012-12-11 13:18:13 -07:00
2012-12-13 11:46:56 -07:00
2012-12-11 13:17:34 -07:00
2012-11-04 11:00:36 -07:00
2012-11-04 11:00:35 -07:00