9
0
Fork 0
Commit Graph

133 Commits

Author SHA1 Message Date
Sascha Hauer 7b2e36e199 video stm/mx2x: simplify memory allocation
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-19 09:31:31 +01:00
Sascha Hauer 4fb2d9ce0a fb: When setting a mode, also update xres, yres and fb size
Also, set size to 0 when setting up the framebuffer failed so that
the user cannot write to uninitialized framebuffer memory.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-19 09:30:37 +01:00
Sascha Hauer 0327e12f06 fb: update cdev map_base
Calling fb_activate_var potentially changes the framebuffer address,
so we have to update the fb0 cdev afterwards.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-14 20:42:17 +01:00
Sascha Hauer 377aec6bfc imx-ipu-fb: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-01-07 11:38:24 +01:00
Juergen Beisert 85f47a97ca ARM STM/i.MX: Add video driver for i.MX23/i.MX28
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-12-21 08:26:09 +01:00
Juergen Beisert 30aa4efb57 Add the feature to change the video mode at runtime
This patch add the possibility to change the video mode at barebox's runtime
if the graphics driver in use supports it.

Signed-off-by: <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-12-21 08:26:08 +01:00
Juergen Beisert fed63e249d Fix default framebuffer 'enable' set
To setup the default 'enable' setting the "dev_set_param(dev, "enable", "0");"
does not work as expected. After the call the parameter is still "<NULL>".
This is due to any change of the setting is rejected, if the same setting
is already active.
This patch also let the default setting be successfull, but only calls the
graphics backend if a change happens.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-12-21 08:26:08 +01:00
Sascha Hauer f38bfd20e7 fb: set id for framebuffer device correctly
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-11-12 08:07:16 +01:00
Sascha Hauer d8eccfd51d fb: i.MX IPU: fold mx3fb_set_par into its only user
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-22 19:31:57 +02:00
Sascha Hauer 5b7a74d749 fb: i.MX IPU: move fb_info initialization to a single function
The bitfield information was only added to fb_info when the
framebuffer actually was enabled. That made it impossible to
call 'bmp' before enabling the display.
So, move all fb_info init to a single place and make it a function
to better allow for multiple displays later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-22 19:31:57 +02:00
Sascha Hauer 889153e24f fb: i.MX IPU: remove unnecessary printf
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-22 19:31:57 +02:00
Jean-Christophe PLAGNIOL-VILLARD a19d7809d7 imx-ipu-fb: set default bits per pixel at 16 for mx3
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-09-27 09:17:40 +02:00
Eric Bénard 7f5644fad1 imx-ipu-fb: do not enable framebuffer on startup
The board code or startup script should enable it when
it actually wants to.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-30 09:10:40 +02:00
Eric Bénard c26f09b2c1 imx-ipu-fb: Add board specific hook to enable display
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-30 09:10:35 +02:00
Sascha Hauer 112d65d3d2 fb: add a usage counter to prevent double enable/disable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:37:40 +02:00
Sascha Hauer cd4bc69126 imxfb: do not enable framebuffer on startup
The board code or startup script should enable it when
it actually wants to.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:22 +02:00
Sascha Hauer 695a4247aa imxfb: Add board specific hook to enable display
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:17 +02:00
Sascha Hauer c3789cd49b rework device parameters
Change device parameters so that the memory management is in generic
code. This also removes the need of storing statically initialized
parameters as they are stored in a struct list_head for each device.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:25 +02:00
Eric Benard 8a3032fde5 i.MX25 : add Framebuffer support
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-17 11:16:27 +02:00
Ivo Clarysse 2b7effde81 i.MX21: support framebuffer
This patch allows using the i.MX (LCDC) framebuffer driver on boards
using an i.MX21 SoC.

Signed-off-by: Ivo Clarysse <ivo.clarysse@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-04-02 12:07:56 +02:00
Marc Kleine-Budde 1568957050 drivers/video/Makefile: cleanup proper indention
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:25 +01:00
Juergen Beisert 2e6eb64a39 Fix compile time errors when DEBUG is defined
If the DEBUG macro is defined the compiler complains about a missing
'ipu_base' variable.

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-12 08:30:58 +01:00
Juergen nogit Beisert 4f24fe1b52 fb: Add a i.MX IPU framebuffer driver
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-09 17:05:55 +01:00
Sascha Hauer ce09de5283 imxfb: show only for relevant i.MXs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-09 17:05:54 +01:00
Juergen Beisert 39cc3a5609 Unify driver's menu also for video
Make the video drivers menu the same like NAND and USB

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-27 08:33:04 +01:00
Jean-Christophe PLAGNIOL-VILLARD f6a579da9c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00
Sascha Hauer 1d73a42006 imxfb: make framebuffer base address configurable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer e9dc699882 i.MX fb: Add support for overlay framebuffer
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-13 10:42:59 +02:00
Sascha Hauer 79baaa503f Add framebuffer support
This patch adds framebuffer support and a driver for i.MX[12]
framebuffer devices.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-31 15:08:21 +02:00
Sascha Hauer 762019f198 remove unused drivers 2007-09-21 12:43:14 +02:00
Sascha Hauer 58c95d74ad svn_rev_563
unify menu style
2007-07-05 18:02:05 +02:00
Sascha Hauer 338fcfe0ce svn_rev_103 2007-07-05 18:01:23 +02:00
Sascha Hauer e2fb609c80 svn_rev_096
moved
2007-07-05 18:01:22 +02:00