<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/mediatek, branch linux-5.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-07-19T08:00:45Z</updated>
<entry>
<title>drm/mediatek: Fix PM reference leak in mtk_crtc_ddp_hw_init()</title>
<updated>2021-07-19T08:00:45Z</updated>
<author>
<name>Wang Li</name>
</author>
<published>2021-04-10T03:48:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64fd9a3067c59bddd2c7ed10fdbccd97e7bb8266'/>
<id>urn:sha1:64fd9a3067c59bddd2c7ed10fdbccd97e7bb8266</id>
<content type='text'>
[ Upstream commit 69777e6ca396f0a7e1baff40fcad4a9d3d445b7a ]

pm_runtime_get_sync will increment pm usage counter even it failed.
Forgetting to putting operation will result in reference leak here.
Fix it by replacing it with pm_runtime_resume_and_get to keep usage
counter balanced.

Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Wang Li &lt;wangli74@huawei.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Don't support hdmi connector creation</title>
<updated>2021-05-14T08:52:38Z</updated>
<author>
<name>Dafna Hirschfeld</name>
</author>
<published>2021-03-30T11:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f0240a9cac40a945a28bf067b7bea1447d74d094'/>
<id>urn:sha1:f0240a9cac40a945a28bf067b7bea1447d74d094</id>
<content type='text'>
[ Upstream commit 2e477391522354e763aa62ee3e281c1ad9e8eb1b ]

commit f01195148967 ("drm/mediatek: mtk_dpi: Create connector for bridges")
broke the display support for elm device since mtk_dpi calls
drm_bridge_attach with the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR
while mtk_hdmi does not yet support this flag.

Fix this by accepting DRM_BRIDGE_ATTACH_NO_CONNECTOR in bridge attachment.
Implement the drm_bridge_funcs .detect() and .get_edid() operations, and
call drm_bridge_hpd_notify() to report HPD. This provides the
necessary API to support disabling connector creation.

In addition, the field 'conn' is removed from the mtk_hdmi struct since
mtk_hdmi don't create a connector. It is replaced with a pointer
'curr_conn' that points to the current connector which can be access
through the global state.

This patch is inspired by a similar patch for bridge/synopsys/dw-hdmi.c:
commit ec971aaa6775
("drm: bridge: dw-hdmi: Make connector creation optional")
But with the difference that in mtk-hdmi only the option of not creating
a connector is supported.

Fixes: f01195148967 ("drm/mediatek: mtk_dpi: Create connector for bridges")
Signed-off-by: Dafna Hirschfeld &lt;dafna.hirschfeld@collabora.com&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Switch the hdmi bridge ops to the atomic versions</title>
<updated>2021-05-14T08:52:38Z</updated>
<author>
<name>Dafna Hirschfeld</name>
</author>
<published>2021-03-30T11:09:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb995c38e42a649e1a5c77a45a2f2e51919dceb7'/>
<id>urn:sha1:bb995c38e42a649e1a5c77a45a2f2e51919dceb7</id>
<content type='text'>
[ Upstream commit 053d231f369ca05cd563ca9738b5a4c73908e697 ]

The bridge operation '.enable' and the audio cb '.get_eld'
access hdmi-&gt;conn. In the future we will want to support
the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR and then we will
not have direct access to the connector.
The atomic version '.atomic_enable' allows accessing the
current connector from the state.
This patch switches the bridge to the atomic version to
prepare access to the connector in later patches.

Signed-off-by: Dafna Hirschfeld &lt;dafna.hirschfeld@collabora.com&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'mediatek-drm-next-5.12' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-next</title>
<updated>2021-02-04T23:25:26Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2021-02-04T23:25:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54c820d05ee8156b1379ca0efd011b77e23cabb2'/>
<id>urn:sha1:54c820d05ee8156b1379ca0efd011b77e23cabb2</id>
<content type='text'>
Mediatek DRM Next for Linux 5.12

1. Decouple Mediatek DRM sub driver
2. Share mtk mutex driver for both DRM and MDP
3. Add support for SoC MT8183

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

From: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210204151750.7550-1-chunkuang.hu@kernel.org
</content>
</entry>
<entry>
<title>drm/mediatek: Add matrix_bits private data for ccorr</title>
<updated>2021-02-04T14:55:46Z</updated>
<author>
<name>Yongqiang Niu</name>
</author>
<published>2021-02-02T08:12:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=738ed4156fbac6f6eb84c23b95cf25aa57707332'/>
<id>urn:sha1:738ed4156fbac6f6eb84c23b95cf25aa57707332</id>
<content type='text'>
Add matrix_bits and coeffs_precision to ccorr private data:
- matrix bits of mt8183 is 10
- matrix bits of mt8192 is 11

Signed-off-by: Yongqiang Niu &lt;yongqiang.niu@mediatek.com&gt;
Signed-off-by: Hsin-Yi Wang &lt;hsinyi@chromium.org&gt;
Reviewed-by: CK Hu &lt;ck.hu@mediatek.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Fix ccorr size config</title>
<updated>2021-02-04T14:55:46Z</updated>
<author>
<name>Yongqiang Niu</name>
</author>
<published>2021-02-02T08:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dff16681723d872308594875886d161a2f310d25'/>
<id>urn:sha1:dff16681723d872308594875886d161a2f310d25</id>
<content type='text'>
Fix setting to follow hardware datasheet. The original error setting
affects mt8192 display.

Signed-off-by: Yongqiang Niu &lt;yongqiang.niu@mediatek.com&gt;
Signed-off-by: Hsin-Yi Wang &lt;hsinyi@chromium.org&gt;
Reviewed-by: CK Hu &lt;ck.hu@mediatek.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Separate ccorr module</title>
<updated>2021-02-04T14:55:46Z</updated>
<author>
<name>Yongqiang Niu</name>
</author>
<published>2021-02-02T08:12:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=072a4cb512e71cb82d65269319cce282237386ea'/>
<id>urn:sha1:072a4cb512e71cb82d65269319cce282237386ea</id>
<content type='text'>
ccorr ctm matrix bits will be different in mt8192.

Signed-off-by: Yongqiang Niu &lt;yongqiang.niu@mediatek.com&gt;
Signed-off-by: Hsin-Yi Wang &lt;hsinyi@chromium.org&gt;
Reviewed-by: CK Hu &lt;ck.hu@mediatek.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Enable dither function</title>
<updated>2021-02-04T14:55:46Z</updated>
<author>
<name>Yongqiang Niu</name>
</author>
<published>2021-01-31T05:10:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49629304b91fc7cdc484bb82047a8b97ae3978db'/>
<id>urn:sha1:49629304b91fc7cdc484bb82047a8b97ae3978db</id>
<content type='text'>
Enable dither function to improve the display quality.

Signed-off-by: Yongqiang Niu &lt;yongqiang.niu@mediatek.com&gt;
Signed-off-by: Hsin-Yi Wang &lt;hsinyi@chromium.org&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Enable OVL_LAYER_SMI_ID_EN for multi-layer usecase</title>
<updated>2021-02-04T14:55:46Z</updated>
<author>
<name>Yongqiang Niu</name>
</author>
<published>2021-01-29T07:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d41ff4dcf093885dcc253e3861834eea294827cb'/>
<id>urn:sha1:d41ff4dcf093885dcc253e3861834eea294827cb</id>
<content type='text'>
Enable OVL_LAYER_SMI_ID_EN for multi-layer usecase, without this patch,
ovl will hang up when more than 1 layer enabled.

Signed-off-by: Yongqiang Niu &lt;yongqiang.niu@mediatek.com&gt;
Signed-off-by: Hsin-Yi Wang &lt;hsinyi@chromium.org&gt;
Reviewed-by: CK Hu &lt;ck.hu@mediatek.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Add support for SoC MT8183</title>
<updated>2021-02-04T14:55:46Z</updated>
<author>
<name>Yongqiang Niu</name>
</author>
<published>2021-01-29T09:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=641ef9e7be588e4262f7ed58abad12d446b41315'/>
<id>urn:sha1:641ef9e7be588e4262f7ed58abad12d446b41315</id>
<content type='text'>
1. Add ovl private data
2. Add rdma private data
3. Add gamma privte data
4. Add main and external path module for crtc create

Signed-off-by: Yongqiang Niu &lt;yongqiang.niu@mediatek.com&gt;
Signed-off-by: Hsin-Yi Wang &lt;hsinyi@chromium.org&gt;
Reviewed-by: CK Hu &lt;ck.hu@mediatek.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
</feed>
