<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/video/vidconsole-uclass.c, branch v2020.07-rc2</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.07-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/video/vidconsole-uclass.c?h=v2020.07-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-02-04T22:02:56Z</updated>
<entry>
<title>video: fix Coverity missing break issue</title>
<updated>2020-02-04T22:02:56Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2020-01-06T22:00:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ab6ea931deeb8e435aeeb251bac7a2433e016271'/>
<id>urn:sha1:ab6ea931deeb8e435aeeb251bac7a2433e016271</id>
<content type='text'>
Fix:
&gt;&gt;&gt;  CID 280902:  Control flow issues  (MISSING_BREAK)
&gt;&gt;&gt;  The case for value "VIDEO_BPP32" is not terminated
&gt;&gt;&gt;  by a 'break' statement.

Also fix
error: control reaches end of non-void function [-Werror=return-type]

Reported-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>video: Avoid using #ifdef in vidconsole-uclass.c</title>
<updated>2020-01-02T15:25:25Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-12-21T01:10:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=775d33229ffdc94be9a74d73ef6fabe6ea0e7a6f'/>
<id>urn:sha1:775d33229ffdc94be9a74d73ef6fabe6ea0e7a6f</id>
<content type='text'>
This code does not really need to use #ifdef. We can use if() instead and
gain build coverage without impacting code size.

Change the #ifdefs to use CONFIG_IS_ENABLED() instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<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>
</feed>
