summaryrefslogtreecommitdiffstats
path: root/include/fb.h
Commit message (Collapse)AuthorAgeFilesLines
* video: Add edid supportSascha Hauer2014-03-291-1/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: Add display timing from devicetree helperSascha Hauer2014-03-291-1/+14
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: rework mode_name parameter settingSascha Hauer2014-03-291-0/+2
| | | | | | | | We have dev_add_param_enum() now, so use it for the mode_name setting. Also drop the special case for single mode framebuffers, just add the mode_name parameter for this case aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: introduce struct display_timingsSascha Hauer2014-03-291-2/+14
| | | | | | | And use it inside struct fb_info. This struct has the advantage that the supported modes can be passed around in a single pointer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: Add screen_size fieldSascha Hauer2013-12-201-0/+1
| | | | | | | | | barebox does not need the screen size directly, but we pass the framebuffer to Linux via simnplefb it is desirable to pass the full size of the framebuffer. Default to calculated values from the screen resolution. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: set up the kernel's simple framebuffer driverAndre Heider2013-11-061-0/+7
| | | | | | | | Add support to configure the active framebuffer for the kernel through device tree. Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: add a line_length value to struct fb_infoAndre Heider2013-11-061-0/+1
| | | | | | | | | | | Add support for framebuffers with noncontiguous horizontal lines. Video drivers can set this value if the hardware requires it. In case a driver does not set it, the current value of xres * (bpp / 8) is used instead. Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* treewide include/: Add missing includesSascha Hauer2013-05-311-0/+1
| | | | | | | This adds several missing includes to files under include/ which we relied on being included implicitly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: Use dev_add_param_bool for enable parameterSascha Hauer2013-04-111-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: add it's own bus for fb devicesJean-Christophe PLAGNIOL-VILLARD2012-09-231-0/+2
| | | | | | | This is need for oftree device probing Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add the feature to change the video mode at runtimeJuergen Beisert2010-12-211-0/+3
| | | | | | | | 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>
* fb: add a usage counter to prevent double enable/disableSascha Hauer2010-06-241-1/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* rework device parametersSascha Hauer2010-06-171-2/+0
| | | | | | | | 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>
* fb: Add FB_SYNC_ defines from kernelSascha Hauer2009-12-091-0/+22
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add missing include/fb.hSascha Hauer2009-08-131-0/+89
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>