| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
| |
The previous patch incremented the automake version instead of kmsfbwrap
version. Fix it.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
| |
Instead of looking up the connector twice, reuse drmcon.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
| |
This allows to let "-w yres=1080" find an 1920x1080 mode if available,
for example.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
There is no alpha channel in RGB888 and this line is just a leftover.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
| |
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Reported-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
|
|
| |
DRM connector ids are unsigned, this fixes a compiler warning.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
| |
|
|
|
|
| |
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
|