<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/video/vidconsole-uclass.c, branch v2020.01-rc5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/video/vidconsole-uclass.c?h=v2020.01-rc5</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/video/vidconsole-uclass.c?h=v2020.01-rc5'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-12-06T15:37:45Z</updated>
<entry>
<title>video: add guards around 16bpp/32bbp code</title>
<updated>2019-12-06T15:37:45Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2019-12-04T15:18:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ca5655d8006cfbaa4ff8ff450e4a5931e57fe050'/>
<id>urn:sha1:ca5655d8006cfbaa4ff8ff450e4a5931e57fe050</id>
<content type='text'>
Many boards use only single depth configuration, for such boards
there is some unused code in video and console uclass routines.
Add guards to avoid dead code.

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Tested-by: Eugen Hristev &lt;eugen.hristev@microchip.com&gt;
Tested-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Tested-by: Steffen Dirkwinkel &lt;s.dirkwinkel@beckhoff.com&gt;
</content>
</entry>
<entry>
<title>video: Factor out vidconsole_put_string()</title>
<updated>2019-05-20T10:00:05Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-05-17T18:22:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e63168a9ffae18f807f59925bb5d9d4623633e46'/>
<id>urn:sha1:e63168a9ffae18f807f59925bb5d9d4623633e46</id>
<content type='text'>
Pull the vidconsole_put_string() function from DM tests, make it
available to e.g. boards that want to display information on the
LCD on boot.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Reviewed-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>video/console: Factor out actual character output</title>
<updated>2019-04-14T12:18:47Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2019-03-23T01:29:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7035ec3cb35c593a492cb929ba8fe9d991d0416d'/>
<id>urn:sha1:7035ec3cb35c593a492cb929ba8fe9d991d0416d</id>
<content type='text'>
In preparation for doing character set translations, factor out the
actual glyph display functionality into a separate function.
This will be used in a subsequent patch.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>video/console: Implement ANSI clear line command</title>
<updated>2019-04-14T12:18:47Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2019-03-23T01:29:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4422294cbe37e3b2bcbbb066e0d53411880cf07e'/>
<id>urn:sha1:4422294cbe37e3b2bcbbb066e0d53411880cf07e</id>
<content type='text'>
There is a standard ANSI terminal escape sequence to clear a whole line
of text. So far the DM_VIDEO console was missing this code.

Detect the sequence and use vidconsole_set_row with the background
colour to fix this omission.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>video/console: Implement relative cursor movement ANSI handling</title>
<updated>2019-04-14T12:18:47Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2019-03-23T01:29:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=29c158b90d9fe1b8e007ee6b43f85c7f4b5f848b'/>
<id>urn:sha1:29c158b90d9fe1b8e007ee6b43f85c7f4b5f848b</id>
<content type='text'>
The ANSI terminal escapce sequence standard defines relative cursor
movement commands (ESC [ A-F). So far the DM_VIDEO console code was
ignoring them.

Interpret those sequences and move the cursor by the requested amount of
rows or columns in the right direction. This brings the code on par with
the legacy video console driver (cfb_console).

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>video/console: Implement reverse video ANSI sequence for DM_VIDEO</title>
<updated>2019-04-14T12:18:47Z</updated>
<author>
<name>Andre Przywara</name>
<email>andre.przywara@arm.com</email>
</author>
<published>2019-03-23T01:29:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eabb0725d4224efd103779f78e75627d8abc91e6'/>
<id>urn:sha1:eabb0725d4224efd103779f78e75627d8abc91e6</id>
<content type='text'>
The video console for DM_VIDEO compliant drivers only understands a very
small number of ANSI sequences. First and foremost it misses the "reverse
video" command, which is used by our own bootmenu command to highlight
the selected entry.

To avoid forcing people to use their imagination when using the
bootmenu, let's just implement the rather simple reverse effect. We need
to store the background colour index for that, so that we can
recalculate both the foreground and background colour pixel values.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
[agust: merged BG color escape seq change to fix "ut dm video_ansi" test]
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.denx.de/u-boot-video</title>
<updated>2018-11-26T20:52:51Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-11-26T20:52:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=430c166bcedd22e0ce93ce298747275f814b172f'/>
<id>urn:sha1:430c166bcedd22e0ce93ce298747275f814b172f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>video: Update video_set_default_colors() to support invert</title>
<updated>2018-11-21T02:14:22Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-11-06T22:21:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b9f210a35c39a191ca375e541e09686a3303e428'/>
<id>urn:sha1:b9f210a35c39a191ca375e541e09686a3303e428</id>
<content type='text'>
It is useful to be able to invert the colours in some cases so that the
text matches the background colour. Add a parameter to the function to
support this.

It is strange that function takes a private data structure from another
driver as an argument. It seems better to pass the device and have the
function internally work out how to find its required information.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: video: correctly set the cursor position</title>
<updated>2018-11-17T10:35:39Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2018-11-10T18:55:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=118f020d9a6d84b52cd533cfe5b02feae7e5bdde'/>
<id>urn:sha1:118f020d9a6d84b52cd533cfe5b02feae7e5bdde</id>
<content type='text'>
The terminal escape sequence ESC [ &lt;x&gt; ; &lt;y&gt; H is used to set the cursor
position. According to the ECMA 48 standard the upper left corner in the
escape sequences is [1, 1]. The video uclass uses [0, 0] as upper left
corner.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>video: at91: Adjust vidconsole_position_cursor() to use char pos</title>
<updated>2018-10-09T10:40:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2018-10-01T18:22:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9949ee876dc585d198a0fd4790a21e9a2332201f'/>
<id>urn:sha1:9949ee876dc585d198a0fd4790a21e9a2332201f</id>
<content type='text'>
At present this function uses pixels but it seems more useful for it to
position in terms of characters on the screen. This also matches the
comment to the function. Update this.

Unfortunately there is one user of this function (at91). Have a crack at
fixing this, since I cannot test it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
</feed>
