<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/gpu/drm/mediatek, branch v5.5-rc3</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge tag 'mediatek-drm-next-5.5-2' of https://github.com/ckhu-mediatek/linux.git-tags into drm-next</title>
<updated>2019-11-08T03:19:55+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2019-11-08T03:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=393fdfdb4aeef7dc3a45c9e28cafdc9f8a8830f2'/>
<id>393fdfdb4aeef7dc3a45c9e28cafdc9f8a8830f2</id>
<content type='text'>
Mediatek DRM next for Linux 5.5 - 2

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

From: CK Hu &lt;ck.hu@mediatek.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1573093419.13645.5.camel@mtksdaap41
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mediatek DRM next for Linux 5.5 - 2

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;

From: CK Hu &lt;ck.hu@mediatek.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1573093419.13645.5.camel@mtksdaap41
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Support 180 degree rotation</title>
<updated>2019-11-06T08:00:45+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=df444457711858d398896d678bd3cd7f43f1c1f5'/>
<id>df444457711858d398896d678bd3cd7f43f1c1f5</id>
<content type='text'>
Now that we support both reflections, we can expose 180 degree rotation
and rely on the simplify routine to convert that into REFLECT_X |
REFLECT_Y

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we support both reflections, we can expose 180 degree rotation
and rely on the simplify routine to convert that into REFLECT_X |
REFLECT_Y

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Support reflect-x plane rotation</title>
<updated>2019-11-06T08:00:45+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b368d3ecab2db45a4fa296fe825d4ef6893f4620'/>
<id>b368d3ecab2db45a4fa296fe825d4ef6893f4620</id>
<content type='text'>
Add support for REFLECT_X rotations.

Cc: Fritz Koenig &lt;frkoenig@chromium.org&gt;
Cc: Daniele Castagna &lt;dcastagna@chromium.org&gt;
Cc: Miguel Casas &lt;mcasas@chromium.org&gt;
Cc: Mark Yacoub &lt;markyacoub@google.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for REFLECT_X rotations.

Cc: Fritz Koenig &lt;frkoenig@chromium.org&gt;
Cc: Daniele Castagna &lt;dcastagna@chromium.org&gt;
Cc: Miguel Casas &lt;mcasas@chromium.org&gt;
Cc: Mark Yacoub &lt;markyacoub@google.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Support reflect-y plane rotation</title>
<updated>2019-11-06T08:00:44+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=84d805753983757ea3655acbd47887764acf293f'/>
<id>84d805753983757ea3655acbd47887764acf293f</id>
<content type='text'>
Expose the rotation property and handle REFLECT_Y rotations.

Cc: Fritz Koenig &lt;frkoenig@chromium.org&gt;
Cc: Daniele Castagna &lt;dcastagna@chromium.org&gt;
Cc: Miguel Casas &lt;mcasas@chromium.org&gt;
Cc: Mark Yacoub &lt;markyacoub@google.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Expose the rotation property and handle REFLECT_Y rotations.

Cc: Fritz Koenig &lt;frkoenig@chromium.org&gt;
Cc: Daniele Castagna &lt;dcastagna@chromium.org&gt;
Cc: Miguel Casas &lt;mcasas@chromium.org&gt;
Cc: Mark Yacoub &lt;markyacoub@google.com&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Plumb supported rotation values from components to plane init</title>
<updated>2019-11-06T08:00:44+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ef87d3e2dd251374c5c9fa3b6502aeff8fe29da9'/>
<id>ef87d3e2dd251374c5c9fa3b6502aeff8fe29da9</id>
<content type='text'>
This patch adds the ability for components to expose supported rotations
which will be exposed to userspace via a plane rotation property.

No functional changes in this patch.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds the ability for components to expose supported rotations
which will be exposed to userspace via a plane rotation property.

No functional changes in this patch.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Add plumbing for layer_check hook</title>
<updated>2019-11-06T08:00:44+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f7c710d1e48414b16e5b1b64e2940606148123a7'/>
<id>f7c710d1e48414b16e5b1b64e2940606148123a7</id>
<content type='text'>
This allows components to implement a .layer_check callback for their
layers which is called during atomic_check.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows components to implement a .layer_check callback for their
layers which is called during atomic_check.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Add helper to get component for a plane</title>
<updated>2019-11-06T08:00:44+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d6b53f68356f74d11530cb834b1c8acfe5f2bae2'/>
<id>d6b53f68356f74d11530cb834b1c8acfe5f2bae2</id>
<content type='text'>
Instead of hard-coding which components have planes, add a helper
function to walk the components and map a plane index to a component
layer.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of hard-coding which components have planes, add a helper
function to walk the components and map a plane index to a component
layer.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Refactor plane init</title>
<updated>2019-11-06T08:00:44+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=31c5558dae0513bd2bae33ea37543f584c6c35a5'/>
<id>31c5558dae0513bd2bae33ea37543f584c6c35a5</id>
<content type='text'>
Add a couple of functions which enumerate the number of planes for a
component and initialize the planes for a component.

No functional changes in this patch, but it will allow us to selectively
support rotation if the component supports it.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a couple of functions which enumerate the number of planes for a
component and initialize the planes for a component.

No functional changes in this patch, but it will allow us to selectively
support rotation if the component supports it.

Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: Add RGB[A] variants to published plane formats</title>
<updated>2019-11-06T07:46:42+00:00</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-10-23T19:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ed24d5d05e5d6cdae1358c71278041d75ef51051'/>
<id>ed24d5d05e5d6cdae1358c71278041d75ef51051</id>
<content type='text'>
These formats are handled in the rdma code, but for some reason they're
not published as supported formats for the planes. So add them to the
list.

Cc: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Cc: Daniele Castagna &lt;dcastagna@chromium.org&gt;
Cc: Miguel Casas &lt;mcasas@chromium.org&gt;
Tested-by: Miguel Casas &lt;mcasas@chromium.org&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These formats are handled in the rdma code, but for some reason they're
not published as supported formats for the planes. So add them to the
list.

Cc: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Cc: Daniele Castagna &lt;dcastagna@chromium.org&gt;
Cc: Miguel Casas &lt;mcasas@chromium.org&gt;
Tested-by: Miguel Casas &lt;mcasas@chromium.org&gt;
Signed-off-by: Sean Paul &lt;seanpaul@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm/mediatek: remove cast to pointers passed to kfree</title>
<updated>2019-10-24T12:12:21+00:00</updated>
<author>
<name>Wambui Karuga</name>
<email>wambui.karugax@gmail.com</email>
</author>
<published>2019-10-23T11:11:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2ec35bd21d3290c8f76020dc60503deacd18e24b'/>
<id>2ec35bd21d3290c8f76020dc60503deacd18e24b</id>
<content type='text'>
Remove unnecessary casts to pointer types passed to kfree.
Issue detected by coccinelle:
@@
type t1;
expression *e;
@@

-kfree((t1 *)e);
+kfree(e);

Signed-off-by: Wambui Karuga &lt;wambui.karugax@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191023111107.9972-1-wambui.karugax@gmail.com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove unnecessary casts to pointer types passed to kfree.
Issue detected by coccinelle:
@@
type t1;
expression *e;
@@

-kfree((t1 *)e);
+kfree(e);

Signed-off-by: Wambui Karuga &lt;wambui.karugax@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20191023111107.9972-1-wambui.karugax@gmail.com
</pre>
</div>
</content>
</entry>
</feed>
