<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/video, branch v2016.05</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>drivers/video/am335x-fb: Properly point framebuffer behind palette</title>
<updated>2016-04-28T14:51:17+00:00</updated>
<author>
<name>Martin Pietryka</name>
<email>martin.pietryka@chello.at</email>
</author>
<published>2016-04-27T19:39:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d47b2d741683023de05f08f9adb4bd25c189c46'/>
<id>3d47b2d741683023de05f08f9adb4bd25c189c46</id>
<content type='text'>
The DMA was outputting the palette on the screen because the base
for the DMA was not after the palette. In addition to that, the ceiling was
also too high, this led that the output on the screen was shifted.

NOTE: According to the TRM, even in 16/24bit mode a palette is required
in the first 32 bytes of the framebuffer.

See also:
https://e2e.ti.com/support/arm/sitara_arm/f/791/p/234967/834483#834483

"In this mode, the LCDC will assume all information is data and thus you
need to ensure that the DMA points to the first pixel of data and not the
first entry in the frame buffer which is the beginning of the 512 byte
palette."

Signed-off-by: Martin Pietryka &lt;martin.pietryka@chello.at&gt;
Reviewed-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
Tested-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DMA was outputting the palette on the screen because the base
for the DMA was not after the palette. In addition to that, the ceiling was
also too high, this led that the output on the screen was shifted.

NOTE: According to the TRM, even in 16/24bit mode a palette is required
in the first 32 bytes of the framebuffer.

See also:
https://e2e.ti.com/support/arm/sitara_arm/f/791/p/234967/834483#834483

"In this mode, the LCDC will assume all information is data and thus you
need to ensure that the DMA points to the first pixel of data and not the
first entry in the frame buffer which is the beginning of the 512 byte
palette."

Signed-off-by: Martin Pietryka &lt;martin.pietryka@chello.at&gt;
Reviewed-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
Tested-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/video/am335x-fb: Add support for 16bpp format</title>
<updated>2016-04-28T14:50:52+00:00</updated>
<author>
<name>Martin Pietryka</name>
<email>martin.pietryka@chello.at</email>
</author>
<published>2016-04-27T19:39:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d045170ac1bf512ed148e97432b7a8d772943e9'/>
<id>7d045170ac1bf512ed148e97432b7a8d772943e9</id>
<content type='text'>
To support 16bpp we just need to change the raster_ctrl register
accordingly. Also 32bpp mode should work as well, but was not tested.
According to the TRM the uppermost byte will be ignored when
LCD_TFT_24BPP_UNPACK is set.

The switch logic is based on the Linux kernel tilcdc driver:
drivers/gpu/drm/tilcdc/tilcdc_crtc.c: lines 407 through 419
(kernel was checked out at commit: bcc981e9ed8)

Signed-off-by: Martin Pietryka &lt;martin.pietryka@chello.at&gt;
Reviewed-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
Tested-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To support 16bpp we just need to change the raster_ctrl register
accordingly. Also 32bpp mode should work as well, but was not tested.
According to the TRM the uppermost byte will be ignored when
LCD_TFT_24BPP_UNPACK is set.

The switch logic is based on the Linux kernel tilcdc driver:
drivers/gpu/drm/tilcdc/tilcdc_crtc.c: lines 407 through 419
(kernel was checked out at commit: bcc981e9ed8)

Signed-off-by: Martin Pietryka &lt;martin.pietryka@chello.at&gt;
Reviewed-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
Tested-by: Hannes Schmelzer &lt;oe5hpm@oevsv.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/video/am335x-fb: Fix bits for LCD_PALMODE_RAWDATA definition</title>
<updated>2016-04-25T20:02:08+00:00</updated>
<author>
<name>Martin Pietryka</name>
<email>martin.pietryka@chello.at</email>
</author>
<published>2016-04-25T19:25:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ac5c61bfa6ad24a5384b9b89902e024a994f715f'/>
<id>ac5c61bfa6ad24a5384b9b89902e024a994f715f</id>
<content type='text'>
According to the TRM you have to set bits [21:20] to 0b10 for RAW mode, so
(0x10 &lt;&lt; 20) is obviously wrong here.

Signed-off-by: Martin Pietryka &lt;martin.pietryka@chello.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to the TRM you have to set bits [21:20] to 0b10 for RAW mode, so
(0x10 &lt;&lt; 20) is obviously wrong here.

Signed-off-by: Martin Pietryka &lt;martin.pietryka@chello.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "pxa_lcd: make driver cache-aware"</title>
<updated>2016-03-28T00:58:08+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2016-03-28T00:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f3c2cab87878d2ecd5bd796ee940dff814aa3255'/>
<id>f3c2cab87878d2ecd5bd796ee940dff814aa3255</id>
<content type='text'>
This reverts commit 59deb7fe8d23c8ec2b659d99323ec4a2ec19148a.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 59deb7fe8d23c8ec2b659d99323ec4a2ec19148a.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "pxa_lcd: invert colors for Zipit Z2 to get white on black palette"</title>
<updated>2016-03-28T00:57:54+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2016-03-28T00:57:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=09bffbf649f389ba616649e60ea450f02e3a5d49'/>
<id>09bffbf649f389ba616649e60ea450f02e3a5d49</id>
<content type='text'>
This reverts commit 3bc8ffd9cb774feceefc7bdebe9353fcea071343.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 3bc8ffd9cb774feceefc7bdebe9353fcea071343.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pxa_lcd: make driver cache-aware</title>
<updated>2016-03-27T13:13:00+00:00</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2016-03-21T01:37:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=59deb7fe8d23c8ec2b659d99323ec4a2ec19148a'/>
<id>59deb7fe8d23c8ec2b659d99323ec4a2ec19148a</id>
<content type='text'>
Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pxa_lcd: invert colors for Zipit Z2 to get white on black palette</title>
<updated>2016-03-27T13:12:57+00:00</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2016-03-21T01:37:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3bc8ffd9cb774feceefc7bdebe9353fcea071343'/>
<id>3bc8ffd9cb774feceefc7bdebe9353fcea071343</id>
<content type='text'>
Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>zipitz2: enable LCD rotation</title>
<updated>2016-03-27T13:12:56+00:00</updated>
<author>
<name>Vasily Khoruzhick</name>
<email>anarsoul@gmail.com</email>
</author>
<published>2016-03-21T01:37:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=59fa089b2b191c87bc1ad81b5ddd553de665001c'/>
<id>59fa089b2b191c87bc1ad81b5ddd553de665001c</id>
<content type='text'>
z2's screen is rotated by 270 degrees

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
z2's screen is rotated by 270 degrees

Signed-off-by: Vasily Khoruzhick &lt;anarsoul@gmail.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bcm2835 video: Map fb as cached</title>
<updated>2016-03-27T13:12:19+00:00</updated>
<author>
<name>Alexander Graf</name>
<email>agraf@suse.de</email>
</author>
<published>2016-03-24T09:31:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=99de254e8de9a73ac6baee05786e2e3f70e4813b'/>
<id>99de254e8de9a73ac6baee05786e2e3f70e4813b</id>
<content type='text'>
The bcm2835 frame buffer is in RAM, so we can easily map it as cached and gain
all the glorious performance boost that brings with it.

Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
Tested-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bcm2835 frame buffer is in RAM, so we can easily map it as cached and gain
all the glorious performance boost that brings with it.

Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
Tested-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Acked-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sunxi: Configure only LVDS pins instead of all LCD pins when LVDS interface selected</title>
<updated>2016-03-23T21:04:13+00:00</updated>
<author>
<name>Lawrence Yu</name>
<email>lyu@micile.com</email>
</author>
<published>2016-03-04T17:08:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cf6eca7ccd9025e9f34f179682516f1e5d7e0e78'/>
<id>cf6eca7ccd9025e9f34f179682516f1e5d7e0e78</id>
<content type='text'>
The behavior before this patch would attempt to configure the mux
setting for pins 0 to 27 on PORTD to all be setting 3 for LVDS.  The
LVDS interface actually only uses pins 18 to 27 and not pins 0 to 27
as in the parallel LCD interface.  This patch restricts the
configuration to only the relevant pins 18 to 27 on PORTD.

This was tested on a sun8i A33 tablet with an LVDS screen.  MMC1 has
the capability to use pins 2 to 7 on PORTD and the mux on those pins
was being inadvertently set to setting 3 for MMC functionality which
this patch corrects.

Signed-off-by: Lawrence Yu &lt;lyu@micile.com&gt;
[hdegoede@redhat.com: Only apply this change to A23 / A33]
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The behavior before this patch would attempt to configure the mux
setting for pins 0 to 27 on PORTD to all be setting 3 for LVDS.  The
LVDS interface actually only uses pins 18 to 27 and not pins 0 to 27
as in the parallel LCD interface.  This patch restricts the
configuration to only the relevant pins 18 to 27 on PORTD.

This was tested on a sun8i A33 tablet with an LVDS screen.  MMC1 has
the capability to use pins 2 to 7 on PORTD and the mux on those pins
was being inadvertently set to setting 3 for MMC functionality which
this patch corrects.

Signed-off-by: Lawrence Yu &lt;lyu@micile.com&gt;
[hdegoede@redhat.com: Only apply this change to A23 / A33]
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
