<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/gpu/drm/mediatek, branch v4.19.36</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.19.36</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.19.36'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2018-11-13T19:08:54+00:00</updated>
<entry>
<title>drm/mediatek: fix OF sibling-node lookup</title>
<updated>2018-11-13T19:08:54+00:00</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2018-08-27T08:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5501b81206ed02d36f38c503ba9212aa4a75e437'/>
<id>urn:sha1:5501b81206ed02d36f38c503ba9212aa4a75e437</id>
<content type='text'>
commit ceff2f4dcd44abf35864d9a99f85ac619e89a01d upstream.

Use the new of_get_compatible_child() helper to lookup the sibling
instead of using of_find_compatible_node(), which searches the entire
tree from a given start node and thus can return an unrelated (i.e.
non-sibling) node.

This also addresses a potential use-after-free (e.g. after probe
deferral) as the tree-wide helper drops a reference to its first
argument (i.e. the parent device node).

While at it, also fix the related cec-node reference leak.

Fixes: 8f83f26891e1 ("drm/mediatek: Add HDMI support")
Cc: stable &lt;stable@vger.kernel.org&gt;     # 4.8
Cc: Junzhi Zhao &lt;junzhi.zhao@mediatek.com&gt;
Cc: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Cc: CK Hu &lt;ck.hu@mediatek.com&gt;
Cc: David Airlie &lt;airlied@linux.ie&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>treewide: Replace more open-coded allocation size multiplications</title>
<updated>2018-10-06T01:06:30+00:00</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2018-10-05T23:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=329e09893909d409039f6a79757d9b80b67efe39'/>
<id>urn:sha1:329e09893909d409039f6a79757d9b80b67efe39</id>
<content type='text'>
As done treewide earlier, this catches several more open-coded
allocation size calculations that were added to the kernel during the
merge window. This performs the following mechanical transformations
using Coccinelle:

	kvmalloc(a * b, ...) -&gt; kvmalloc_array(a, b, ...)
	kvzalloc(a * b, ...) -&gt; kvcalloc(a, b, ...)
	devm_kzalloc(..., a * b, ...) -&gt; devm_kcalloc(..., a, b, ...)

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: fix connection from RDMA2 to DSI1</title>
<updated>2018-08-27T03:24:37+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=08bcbed747eb87f00d2e2590b49607af1a9f4fe9'/>
<id>urn:sha1:08bcbed747eb87f00d2e2590b49607af1a9f4fe9</id>
<content type='text'>
This patch fix connection from RDMA2 to DSI1

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: update some variable name from ovl to comp</title>
<updated>2018-08-27T03:24:37+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f265905c939e21a0c9e83540d4c2776c3e43c310'/>
<id>urn:sha1:f265905c939e21a0c9e83540d4c2776c3e43c310</id>
<content type='text'>
This patch update some variable name from ovl to comp

Because RDMA would be first HW in ddp, the naming ovl
should be change to comp.

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: use layer_nr function to get layer number to init plane</title>
<updated>2018-08-27T03:24:37+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=66b2cf9623facfad790b335fcfd717258a00896b'/>
<id>urn:sha1:66b2cf9623facfad790b335fcfd717258a00896b</id>
<content type='text'>
This patch use layer_nr function to get layer number to init plane

When plane init in crtc create,
it use the number of OVL layer to init plane.
That's OVL can read 4 memory address.

For mt2712 third ddp, it use RDMA to read memory.
RDMA can read 1 memory address, so it just init one plane.

For compatibility, this patch use mtk_ddp_comp_layer_nr function
to get layer number from their HW component in ddp for plane init.

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: add function to return RDMA layer number</title>
<updated>2018-08-27T03:24:37+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=98b6d76f957ba80017a3118fe0e33030b4bc017b'/>
<id>urn:sha1:98b6d76f957ba80017a3118fe0e33030b4bc017b</id>
<content type='text'>
This patch add function to return RDMA layer number

RDMA always has one layer.

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: add function to return OVL layer number</title>
<updated>2018-08-27T03:24:36+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1cbcb763ea5035e7ef01010ea68eb3b5143ad7cb'/>
<id>urn:sha1:1cbcb763ea5035e7ef01010ea68eb3b5143ad7cb</id>
<content type='text'>
This patch add function to return OVL layer number

For now, MT8173, MT2712, MT2701 OVL all has 4 layer.

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: add function to get layer number for component</title>
<updated>2018-08-27T03:24:36+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=650afd49572b56a5c58134d4acfeb77acc69d622'/>
<id>urn:sha1:650afd49572b56a5c58134d4acfeb77acc69d622</id>
<content type='text'>
This patch add function to get layer number for component

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: add YUYV/UYVY color format support for RDMA</title>
<updated>2018-08-27T03:24:36+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=94420a63cf784945061b7b5f38511b7a48f034eb'/>
<id>urn:sha1:94420a63cf784945061b7b5f38511b7a48f034eb</id>
<content type='text'>
This patch add YUYV/UYVY color format support for RDMA
and transform matrix for YUYV/UYVY.

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: add the comment about color format setting for OVL</title>
<updated>2018-08-27T03:24:36+00:00</updated>
<author>
<name>Stu Hsieh</name>
<email>stu.hsieh@mediatek.com</email>
</author>
<published>2018-08-09T02:15:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=55b53f6f7ccf0990ad83acf4fdb0436ff79fdfb6'/>
<id>urn:sha1:55b53f6f7ccf0990ad83acf4fdb0436ff79fdfb6</id>
<content type='text'>
This patch add the comment about color format setting for OVL

Signed-off-by: Stu Hsieh &lt;stu.hsieh@mediatek.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
</feed>
