<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/sun4i/Makefile, branch linux-4.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-07-09T07:54:33Z</updated>
<entry>
<title>drm/sun4i: link in front-end code if needed</title>
<updated>2018-07-09T07:54:33Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2018-07-06T14:28:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3156b53c2e2fadafa1a16412a8791b38f94b5bdc'/>
<id>urn:sha1:3156b53c2e2fadafa1a16412a8791b38f94b5bdc</id>
<content type='text'>
When the base sun4i DRM driver is built-in but the back-end is
a loadable module, we run into a link error:

drivers/gpu/drm/sun4i/sun4i_drv.o: In function `sun4i_drv_probe':
sun4i_drv.c:(.text+0x60c): undefined reference to `sun4i_frontend_of_table'

The dependency is a bit tricky, the best workaround I have come up
with is to use a Makefile hack to to interpret both
CONFIG_DRM_SUN4I_BACKEND=m and CONFIG_DRM_SUN4I_BACKEND=y
as a directive to build the front-end the same way as the main module.

Fixes: dd0421f47505 ("drm/sun4i: Add a driver for the display frontend")
Link: https://lore.kernel.org/lkml/20180301091908.zcptz3ezqr2c6ly5@flea/
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180706142847.2032381-1-arnd@arndb.de
</content>
</entry>
<entry>
<title>drm/sun4i: Add Allwinner A31 MIPI-DSI controller support</title>
<updated>2018-04-11T11:19:17Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2018-04-04T09:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=133add5b5ad42b7bb5fcd59d681aef6475d08600'/>
<id>urn:sha1:133add5b5ad42b7bb5fcd59d681aef6475d08600</id>
<content type='text'>
Most of the Allwinner SoCs since the A31 share the same MIPI-DSI
controller.

While that controller is mostly undocumented, the code is out there and has
been cleaned up in order to be integrated into DRM. However, there's still
some dark areas that are a bit unclear about how the block exactly
operates.

Reviewed-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/ad9e6224fced87c0889ddd2765d1942610061f72.1522835818.git-series.maxime.ripard@bootlin.com
</content>
</entry>
<entry>
<title>drm/sun4i: Add support for H3 HDMI PHY variant</title>
<updated>2018-03-02T07:45:49Z</updated>
<author>
<name>Jernej Skrabec</name>
</author>
<published>2018-03-01T21:34:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f86e81748fe230b9cf82a7fd69884c7a08ba9d1'/>
<id>urn:sha1:4f86e81748fe230b9cf82a7fd69884c7a08ba9d1</id>
<content type='text'>
While A83T HDMI PHY seems to be just customized Synopsys HDMI PHY, H3
HDMI PHY is completely custom PHY.

However, they still have many things in common like clock and reset
setup, setting sync polarity and more.

Add support for H3 HDMI PHY variant.

While documentation exists for this PHY variant, it doesn't go in great
details. Because of that, almost all settings are copied from BSP linux
4.4. Interestingly, those settings are slightly different to those found
in a older BSP with Linux 3.4. For now, no user visible difference was
found between them.

Signed-off-by: Jernej Skrabec &lt;jernej.skrabec@siol.net&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180301213442.16677-13-jernej.skrabec@siol.net
</content>
</entry>
<entry>
<title>drm/sun4i: Implement A83T HDMI driver</title>
<updated>2018-02-16T08:38:30Z</updated>
<author>
<name>Jernej Skrabec</name>
</author>
<published>2018-02-14T20:09:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7c7436a5ff0dd6a37de16310a7154cbfaca3a64'/>
<id>urn:sha1:b7c7436a5ff0dd6a37de16310a7154cbfaca3a64</id>
<content type='text'>
A83T has DW HDMI IP block with a custom PHY similar to Synopsys gen2
HDMI PHY.

Only video output was tested, while HW also supports audio and CEC.
Support for them will be added later.

Signed-off-by: Jernej Skrabec &lt;jernej.skrabec@siol.net&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@bootlin.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180214200906.31509-11-jernej.skrabec@siol.net
</content>
</entry>
<entry>
<title>drm/sun4i: Add a driver for the display frontend</title>
<updated>2018-01-22T14:15:38Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2018-01-22T09:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd0421f47505bbbe30a4ce37b51a5c127b8754dc'/>
<id>urn:sha1:dd0421f47505bbbe30a4ce37b51a5c127b8754dc</id>
<content type='text'>
The display frontend is an hardware block that can be used to implement
some more advanced features like hardware scaling or colorspace
conversions. It can also be used to implement the output format of the VPU.

Let's create a minimal driver for it that will only enable the hardware
scaling features.

Reviewed-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/029cdc3478bf89d422f5e8d9e600baf5e48ce4db.1516613040.git-series.maxime.ripard@free-electrons.com
</content>
</entry>
<entry>
<title>drm/sun4i: Add LVDS support</title>
<updated>2018-01-04T19:37:17Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2017-12-21T11:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0c1214e4764047d90803f3b61ace7471696f316'/>
<id>urn:sha1:a0c1214e4764047d90803f3b61ace7471696f316</id>
<content type='text'>
The TCON supports the LVDS interface to output to a panel or a bridge.
Let's add support for it.

Reviewed-by: Chen-Yu Tsai &lt;wens@csie.org&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/7fbb85f33ee1d5009fde4f0d7d236e11ca58b114.1513854122.git-series.maxime.ripard@free-electrons.com
</content>
</entry>
<entry>
<title>drm/sun4i: Add DE2 CSC library</title>
<updated>2017-12-05T12:22:44Z</updated>
<author>
<name>Jernej Skrabec</name>
</author>
<published>2017-12-01T06:05:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8830293905504dba3a50bf34287697c5fe088f9b'/>
<id>urn:sha1:8830293905504dba3a50bf34287697c5fe088f9b</id>
<content type='text'>
DE2 have many CSC units - channel input CSC, channel output CSC and
mixer output CSC and maybe more.

Fortunately, they have all same register layout, only base offsets
differs.

Add support only for channel output CSC for now.

Signed-off-by: Jernej Skrabec &lt;jernej.skrabec@siol.net&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-24-jernej.skrabec@siol.net
</content>
</entry>
<entry>
<title>drm/sun4i: Add support for HW scaling to DE2</title>
<updated>2017-12-05T12:22:44Z</updated>
<author>
<name>Jernej Skrabec</name>
</author>
<published>2017-12-01T06:05:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b862a648de3b9ddaad772e11f0db4046d469e88e'/>
<id>urn:sha1:b862a648de3b9ddaad772e11f0db4046d469e88e</id>
<content type='text'>
Scaling is currently supported only for RGB framebuffers

Coefficients and algorithm which coefficients to select are taken
from BSP driver.

Signed-off-by: Jernej Skrabec &lt;jernej.skrabec@siol.net&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-22-jernej.skrabec@siol.net
</content>
</entry>
<entry>
<title>drm/sun4i: Add support for DE2 VI planes</title>
<updated>2017-12-05T12:22:43Z</updated>
<author>
<name>Jernej Skrabec</name>
</author>
<published>2017-12-01T06:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7480ba4d75714b4f5b080aa5a53e352b303d2663'/>
<id>urn:sha1:7480ba4d75714b4f5b080aa5a53e352b303d2663</id>
<content type='text'>
This commit adds basic support for VI planes. They are meant for video
overlay and because of that they support YUV formats too. However, using
YUV format is not straightforward, so only RGB formats are supported for
now.

Signed-off-by: Jernej Skrabec &lt;jernej.skrabec@siol.net&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-20-jernej.skrabec@siol.net
</content>
</entry>
<entry>
<title>drm/sun4i: Reorganize UI layer code in DE2</title>
<updated>2017-12-05T12:22:43Z</updated>
<author>
<name>Jernej Skrabec</name>
</author>
<published>2017-12-01T06:05:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bb5f5dafa1ad3ac5ebb85e74a07193fda7aec4e'/>
<id>urn:sha1:5bb5f5dafa1ad3ac5ebb85e74a07193fda7aec4e</id>
<content type='text'>
Till now, DE2 driver supported only UI planes. Before we add support for
VI planes, lets split out UI layer specific code from common parts. This
commit does the following:
- renames sun8i_layer.c to sun8i_ui_layer.c
- moves UI channel specific code to sun8i_ui_layer.c
- moves common code from sun8i_layer.c to sun8i_mixer.c
- renames function and structure names so it is apparent where they
belong to

No functional change is made.

Signed-off-by: Jernej Skrabec &lt;jernej.skrabec@siol.net&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-19-jernej.skrabec@siol.net
</content>
</entry>
</feed>
