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-11 11:05:49 -04:00
2013-03-15 16:14:00 -04:00
2013-03-15 16:14:00 -04:00
2012-10-03 00:52:40 +02:00
2012-11-27 17:26:48 -06:00
2010-08-09 01:07:37 +02:00
2013-02-04 09:14:22 -05:00
2012-03-06 21:09:46 +01:00
2012-11-06 22:57:32 +01:00
2012-11-04 11:00:35 -07:00
2011-04-08 00:44:27 -04:00
2013-03-11 17:01:02 -04:00
2012-10-03 00:52:44 +02:00
2012-10-03 16:01:22 -07:00
2013-02-28 19:09:23 -08:00
2012-11-04 11:00:35 -07:00
2010-08-09 01:07:37 +02:00
2013-02-28 19:09:23 -08:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2013-03-16 21:12:01 +01:00
2010-07-04 23:55:42 +02:00
2012-09-25 14:58:48 -07:00
2010-10-12 22:44:33 +02:00
2011-10-22 01:22:21 +02:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01: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
2013-03-12 12:43:31 -04:00
2012-03-06 21:09:46 +01:00
2013-02-28 19:09:23 -08:00
2013-02-28 19:09:23 -08:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:34 -07:00
2012-12-11 13:17:33 -07:00
2012-03-06 21:09:46 +01:00
2013-02-20 08:52:41 -05:00
2013-02-28 19:49:13 -08:00
2013-03-12 23:28:40 +01:00
2012-12-11 13:17:35 -07:00
2012-11-02 15:20:43 -07:00
2013-02-01 15:42:45 -05:00
2012-10-05 11:07:42 -07:00
2012-12-11 13:17:35 -07:00
2012-11-04 11:00:35 -07:00
2012-11-04 11:00:35 -07:00
2013-02-28 19:09:23 -08:00
2011-04-08 00:44:27 -04:00
2013-03-07 17:22:57 +01:00
2010-08-09 01:07:37 +02:00
2013-02-28 19:09:23 -08:00
2012-03-30 22:32:50 +02:00
2011-07-28 16:41:06 +02:00
2012-10-03 16:01:22 -07:00
2012-11-04 11:00:35 -07:00
2013-03-12 12:43:31 -04:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-11-04 11:00:35 -07:00
2012-03-06 21:09:46 +01:00
2013-03-08 16:41:13 -05:00
2012-11-04 11:00:35 -07:00
2013-03-11 17:01:02 -04:00
2013-02-28 19:09:23 -08:00
2012-11-04 11:00:35 -07:00
2013-03-12 12:43:31 -04:00
2012-04-30 16:54:51 +02:00
2012-03-06 21:09:46 +01:00
2013-03-11 17:00:28 -04:00
2012-11-04 11:00:35 -07:00
2010-07-04 23:55:42 +02:00
2012-03-06 21:09:46 +01:00
2012-09-27 12:22:11 -05:00
2012-12-11 13:17:33 -07:00
2013-03-04 13:42:06 +08:00
2013-02-28 19:09:23 -08:00
2013-03-04 14:19:56 -05:00
2013-02-23 11:18:24 +01:00
2012-11-02 15:20:42 -07:00
2013-02-28 19:09:23 -08:00
2012-12-19 15:51:57 -07:00
2013-02-28 19:09:23 -08:00
2013-01-08 10:54:33 +09:00
2012-11-04 11:00:35 -07:00
2012-08-09 20:41:32 -04:00
2010-08-09 01:07:37 +02:00
2013-03-01 12:01:32 -05:00
2012-03-06 21:09:46 +01:00
2010-07-04 23:55:42 +02:00
2012-11-04 11:00:35 -07:00
2013-02-04 09:14:02 -05:00
2012-12-11 13:18:13 -07:00
2011-11-16 21:42:17 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2011-11-16 21:04:55 +01:00
2013-02-28 19:09:23 -08:00
2013-03-18 18:58:53 +01:00
2012-11-20 00:16:06 +01:00
2012-12-26 10:36:26 -08:00
2013-02-28 19:09:23 -08:00
2012-08-09 23:39:18 +02:00
2013-02-28 19:09:23 -08:00
2013-02-28 19:09:23 -08:00
2013-02-04 09:14:02 -05:00
2012-12-13 11:46:56 -07:00
2011-04-04 09:24:43 -05:00
2013-02-19 17:01:26 -05:00
2012-12-11 13:17:34 -07:00
2012-12-13 11:46:56 -07:00
2012-12-13 11:46:55 -07:00
2012-12-13 11:46:56 -07:00
2012-12-13 11:46:55 -07:00
2012-12-13 11:46:55 -07:00
2012-10-19 15:25:43 -07:00
2012-12-13 11:46:55 -07:00
2012-12-13 11:46:57 -07:00
2012-12-13 11:46:55 -07:00
2013-02-04 09:07:21 -05:00
2013-02-22 19:59:53 -06:00
2012-01-05 16:34:10 +01:00
2012-12-13 11:46:55 -07:00
2012-12-13 11:46:55 -07:00
2012-09-26 11:08:32 -07:00
2012-12-13 11:46:55 -07:00
2011-12-07 08:41:22 +01:00
2013-02-07 20:38:55 -05:00
2012-09-03 11:24:27 +02:00
2013-02-28 19:49:13 -08:00
2013-02-04 09:14:02 -05:00
2011-02-02 22:36:10 +01:00
2013-02-28 19:09:23 -08:00
2012-10-29 09:07:06 -07:00
2009-06-12 20:45:48 +02:00
2010-01-18 00:23:00 +01:00
2010-07-04 23:55:42 +02:00
2013-03-20 15:29:39 +01:00
2011-10-22 01:13:35 +02:00
2013-03-12 12:43:31 -04:00
2013-03-18 18:58:53 +01:00
2012-09-21 08:14:05 -07:00
2012-06-21 22:34:00 +02:00
2011-12-07 08:35:14 +01:00
2011-11-22 08:39:25 +01:00
2013-02-04 09:14:21 -05:00
2009-06-12 20:45:48 +02:00
2012-11-04 11:00:36 -07:00
2012-12-17 15:38:15 +01:00
2012-11-20 00:16:06 +01:00
2012-12-17 15:38:15 +01:00
2012-12-17 15:38:15 +01:00
2012-11-04 11:00:35 -07:00