summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Write fixed 0xFF to alpha channel in convert_rgb2fb()HEADmasterEnrico Jorns2016-12-021-1/+2
| | | | | | | This allows displaying splash images when alpha is enabled (but does not handle its alpha channel properly, yet!) Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
* use fallback connector also if default not availableEnrico Jorns2016-07-251-1/+1
| | | | | Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* fix version incrementPhilipp Zabel2016-07-251-2/+2
| | | | | | | The previous patch incremented the automake version instead of kmsfbwrap version. Fix it. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* increment versionv12Philipp Zabel2016-06-141-1/+1
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* release 12Philipp Zabel2016-06-141-0/+8
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* add fallback-connector supportPhilipp Zabel2016-06-142-1/+18
| | | | | | | | This allows to add a fallback-connector parameter to windesc that is used in place of the primary connector if it doesn't have any modes. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* allow to address connectors by namePhilipp Zabel2016-06-142-14/+48
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* don't look up connector twicePhilipp Zabel2016-06-141-9/+5
| | | | | | Instead of looking up the connector twice, reuse drmcon. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* find partial modesPhilipp Zabel2016-06-141-2/+3
| | | | | | | This allows to let "-w yres=1080" find an 1920x1080 mode if available, for example. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* lazy framebuffer creationPhilipp Zabel2016-06-142-16/+53
| | | | | | | | | Just-in-time creation of framebuffers allows to automatically determine the correct framebuffer size from the first output window it is assigned to instead of arbitrarily chosing the largest available mode on any output. This has the side effect that unused framebuffers are not created anymore. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* add parse error messagesPhilipp Zabel2016-06-141-4/+9
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* report connector if chosen automaticallyPhilipp Zabel2016-06-141-0/+2
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* add drm_format name helpers and use themPhilipp Zabel2016-06-141-43/+54
| | | | | | | Also print the drm_format name that can be used as format parameter instead of the fourcc. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* move ARRAY_SIZE macro into kmsfb.hPhilipp Zabel2016-06-142-2/+2
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* move framebuffer pattern fill into separate functionPhilipp Zabel2016-06-131-99/+103
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* fix calculation in drm_find_max_res()Enrico Jorns2016-01-081-2/+9
| | | | | | | | | | | | xres and yres were tested and assigned separately. Thus the largest x and y resolution was found, but this does not assure that a mode exists with this x and y resolution. The new calculation is based on multiplying x and y resolution and comparing the number of pixels to find the maximum available resolution. Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* release v11v11Lucas Stach2015-12-162-1/+6
| | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* search for usable DRM deviceLucas Stach2015-12-161-6/+22
| | | | | | | | Instead of using the hardcoded DRM device 0, search for a DRM device with attached modeset resources. This fixes setups where device 0 is a render only DRM device. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* Fix RGB888 copy'n'paste errorJuergen Borleis2015-12-071-1/+0
| | | | | | There is no alpha channel in RGB888 and this line is just a leftover. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* Add support for ARGB4444 framebuffer formatLucas Stach2015-08-062-0/+14
| | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* Add missing header to noinst_HEADERSv10Philipp Zabel2015-07-301-1/+3
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* fix release versionPhilipp Zabel2015-07-301-1/+1
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* release 10Philipp Zabel2015-07-301-0/+8
|
* Fix separate alpha plane positionPhilipp Zabel2015-07-301-1/+1
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* Add support for RGBA formats with separate alpha planePhilipp Zabel2015-07-303-11/+143
| | | | | | | This patch adds support for the RGBX8888_A8, BGRX8888_A8, RGB888_A8, BGR888_A8, RGB565_A8, and BGR565_A8 RGB formats with 8-bit alpha on a separate plane. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* Add support for more RGB formatsPhilipp Zabel2015-04-173-60/+237
| | | | | | | | | | This adds a new format parameter that can be used to specify DRM formats directly in place of bpp and alpha. Currently supported formats are XRGB8888, ARGB8888, XBGR8888, ABGR8888, RGBX8888, RGBA8888, BGRX8888, BGRA8888, RGB888, BGR888, RGB565, BGR565, and ARGB1555. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* bgi: remove superfluous empty linesPhilipp Zabel2015-04-171-2/+0
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* bgi: fix read/write for block size >= 128kPhilipp Zabel2015-04-171-5/+9
| | | | | | | | | CUSE splits reads and writes with buffer sizes >= 128k. The buf and size parameters given to the read and write callbacks are the partial buffer. ofs is the offset into the original buffer and must not be added to buf. Since we are memory backed, we can just ignore it. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* report drmModeAddFB2 error codePhilipp Zabel2015-04-171-2/+6
|
* add support for libpng16Philipp Zabel2015-04-141-1/+5
| | | | | Reported-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* bgi: make FBIO_WAITFORVSYNC really synchronousLucas Stach2015-04-141-1/+9
| | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
* bgi: Make input parameters to timing conversion functions constPhilipp Zabel2015-02-171-1/+1
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* release 9v9Michael Olbrich2015-02-132-1/+9
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* put splash image on separate framebuffer in tripple buffer modeMichael Olbrich2015-02-133-15/+65
| | | | | | | This way we can show the splash image until the first flip. So any framebuffer clear operations etc. are invisible. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* bgi: fix warningMichael Olbrich2015-02-121-1/+1
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* print: Add quiet optionMarkus Pargmann2015-02-121-10/+23
| | | | | | | Only warnings and errors are printed with the quiet option enabled. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Add init supportMarkus Pargmann2015-02-121-0/+13
| | | | | | | | | It is useful to start kmsfb-manage as init process to display a image as early as possible. kmsfb-manage forks itself first and starts /sbin/init from the pid 1 process. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* args: Use /etc/kmsfb-manage.conf when no arguments were passedMarkus Pargmann2015-02-121-5/+59
| | | | | | | | | This patch adds support for a default arguments file. It parses the given file as commandline arguments. If the file does not exist, the help is printed. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* Add support for ARGB1555 formatPhilipp Zabel2014-12-183-15/+62
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* Add support for changing mode via fbset on non-shared fullscreen framebuffersPhilipp Zabel2014-12-183-4/+164
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* kmsfb-manage: whitespace fixesPhilipp Zabel2014-12-151-3/+3
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* kmsfb-manage: make connector id unsignedPhilipp Zabel2014-12-151-1/+1
| | | | | | DRM connector ids are unsigned, this fixes a compiler warning. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* png: fix compiler warnings in png_loadPhilipp Zabel2014-12-151-3/+3
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* release 8v8Philipp Zabel2014-11-072-1/+5
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* kmsfb-manage: add frame rate selection supportPhilipp Zabel2014-11-072-4/+14
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* release 7v7Marc Kleine-Budde2014-10-132-1/+5
|
* add png splash image supportSteffen Trumtrar2014-10-105-2/+242
| | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* relicense from LGPLv2.1 to GPLv2Steffen Trumtrar2014-10-103-423/+258
| | | | | | | | | kmfsbwrap was initially developed as a library that one could link to. Therefore the code was licensed as LGPL. As it is now no longer a library, but a standalone tool, change the license from LGPL to GPL. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* release 6v6Philipp Zabel2014-07-292-1/+5
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* add alpha transparency supportPhilipp Zabel2014-07-292-4/+15
| | | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>