| #
bb0d1480 |
| 13-Sep-2017 |
Rob Clark <robdclark@gmail.com> |
UPSTREAM: dm: video: Fix cache flushes
Content can come to screen via putc() and we cannot always rely on updates ending with a puts(). This is the case with efi_console output to vidconsole. Fixe
UPSTREAM: dm: video: Fix cache flushes
Content can come to screen via putc() and we cannot always rely on updates ending with a puts(). This is the case with efi_console output to vidconsole. Fixes corruption with Shell.efi.
Change-Id: I081692793c0a7179a91446460a382259b3db9069 Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 889808da9b78d193e5a117a6bf6bc9366d6a3f30)
show more ...
|
| #
d4bafcc8 |
| 04-Sep-2017 |
Mark Yao <mark.yao@rock-chips.com> |
video: do video_sync with lcdputs
Change-Id: I7d239c86b314e693bf97ec25cbab3e6b132b4fc3 Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
|
| #
8d3a2568 |
| 12-Jul-2017 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
fb0b709e |
| 12-Jun-2017 |
Simon Glass <sjg@chromium.org> |
dm: video: Sync display on backspace
We should sync the display (e.g. flush cache) when backspace is pressed to ensure that the character is erased correctly.
Signed-off-by: Simon Glass <sjg@chromi
dm: video: Sync display on backspace
We should sync the display (e.g. flush cache) when backspace is pressed to ensure that the character is erased correctly.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
show more ...
|
| #
720873bf |
| 06-Sep-2016 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
video: squash lines for immediate return
For vidconsole_post_probe(), it is common coding style to let a probe method return the value of a register function.
The others will become simple wrapper
video: squash lines for immediate return
For vidconsole_post_probe(), it is common coding style to let a probe method return the value of a register function.
The others will become simple wrapper functions.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Anatolij Gustschin <agust@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| #
88033d73 |
| 14-Mar-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
3f603cbb |
| 11-Feb-2016 |
Simon Glass <sjg@chromium.org> |
dm: Use uclass_first_device_err() where it is useful
Use this new function in places where it simplifies the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
cf432dd5 |
| 19-Feb-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-tegra
|
| #
bbc8a8b4 |
| 30-Jan-2016 |
Simon Glass <sjg@chromium.org> |
dm: video: Flush the cache after a puts()
This helps keep the display consistent. puts() is used when printing the prompt, so is a useful way to make sure the current display contents is visible.
S
dm: video: Flush the cache after a puts()
This helps keep the display consistent. puts() is used when printing the prompt, so is a useful way to make sure the current display contents is visible.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
show more ...
|
| #
7b9f7e44 |
| 15-Jan-2016 |
Simon Glass <sjg@chromium.org> |
video: Provide a backspace method
With proportional fonts the vidconsole uclass cannot itself erase the previous character. Provide an optional method so that the driver can handle this operation.
video: Provide a backspace method
With proportional fonts the vidconsole uclass cannot itself erase the previous character. Provide an optional method so that the driver can handle this operation.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
58c733a7 |
| 15-Jan-2016 |
Simon Glass <sjg@chromium.org> |
video: Provide a signal when a new console line is started
When we start a new line (due to the user pressing return), signal this to the driver so that it can flush its buffer of character position
video: Provide a signal when a new console line is started
When we start a new line (due to the user pressing return), signal this to the driver so that it can flush its buffer of character positions.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
c5b77d01 |
| 15-Jan-2016 |
Simon Glass <sjg@chromium.org> |
video: Provide a left margin for the text console
Allow the left margin to be set so that text does not have to be right up against the left side. On some panels this makes it hard to read.
Signed-
video: Provide a left margin for the text console
Allow the left margin to be set so that text does not have to be right up against the left side. On some panels this makes it hard to read.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
5508f10a |
| 15-Jan-2016 |
Simon Glass <sjg@chromium.org> |
video: Handle the 'bell' character
This can be sent when to many characters are entered. Make sure it is ignored and does not cause a character to be displayed.
Signed-off-by: Simon Glass <sjg@chro
video: Handle the 'bell' character
This can be sent when to many characters are entered. Make sure it is ignored and does not cause a character to be displayed.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
f2661786 |
| 15-Jan-2016 |
Simon Glass <sjg@chromium.org> |
video: Use fractional units for X coordinates
With anti-aliased fonts we need a more fine-grained horizontal position than a single pixel. Characters can be positioned to start part-way through a pi
video: Use fractional units for X coordinates
With anti-aliased fonts we need a more fine-grained horizontal position than a single pixel. Characters can be positioned to start part-way through a pixel, with anti-aliasing (greyscale edges) taking care of the visual effect.
To cope with this, use fractional units (1/256 pixel) for horizontal positions in the text console.
Signed-off-by: Simon Glass <sjg@chromium.org> [agust: rebased] Signed-off-by: Anatolij Gustschin <agust@denx.de>
show more ...
|
| #
f1a1247d |
| 22-Jan-2016 |
Simon Glass <sjg@chromium.org> |
video: Name consoles by their number
We must use the console name in the 'stdout' variable to select the one we want. At present the name is formed from the driver name with a suffix indicating the
video: Name consoles by their number
We must use the console name in the 'stdout' variable to select the one we want. At present the name is formed from the driver name with a suffix indicating the rotation value.
It seems better to name them sequentially since this can be controlled by driver order. So adjust the code to use 'vidconsole' for the first, 'vidconsole1' for the second, etc.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
6905f4d3 |
| 21-Jan-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
83510766 |
| 19-Jan-2016 |
Simon Glass <sjg@chromium.org> |
dm: video: Add a uclass for the text console
The existing LCD/video interface suffers from conflating the bitmap display with text output on that display. As a result the implementation is more comp
dm: video: Add a uclass for the text console
The existing LCD/video interface suffers from conflating the bitmap display with text output on that display. As a result the implementation is more complex than it needs to me.
We can support multiple text console drivers. Create a separate uclass to support this, with its own API.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de>
show more ...
|