<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/mediatek, branch linux-5.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-08-26T12:35:05Z</updated>
<entry>
<title>drm/mediatek: Add component_del in OVL and COLOR remove function</title>
<updated>2021-08-26T12:35:05Z</updated>
<author>
<name>jason-jh.lin</name>
</author>
<published>2021-08-10T04:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d7f5031f870a5b0f86b080d72106944c92ab3b3'/>
<id>urn:sha1:3d7f5031f870a5b0f86b080d72106944c92ab3b3</id>
<content type='text'>
[ Upstream commit da4d4517ba70216799e3eb3b9bd71aa9dca065da ]

Add component_del in OVL and COLOR remove function.

Fixes: ff1395609e20 ("drm/mediatek: Move mtk_ddp_comp_init() from sub driver to DRM driver")
Signed-off-by: jason-jh.lin &lt;jason-jh.lin@mediatek.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: Add AAL output size configuration</title>
<updated>2021-08-26T12:35:05Z</updated>
<author>
<name>jason-jh.lin</name>
</author>
<published>2021-08-10T02:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5f25a6ea31a6915c764858335798b94ce7eba98'/>
<id>urn:sha1:e5f25a6ea31a6915c764858335798b94ce7eba98</id>
<content type='text'>
[ Upstream commit 71ac6f390f6a3017f58d05d677b961bb1f851338 ]

To avoid the output width and height is incorrect,
AAL_OUTPUT_SIZE configuration should be set.

Fixes: 0664d1392c26 ("drm/mediatek: Add AAL engine basic function")
Signed-off-by: jason-jh.lin &lt;jason-jh.lin@mediatek.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: Fix cursor plane no update</title>
<updated>2021-08-18T07:06:52Z</updated>
<author>
<name>jason-jh.lin</name>
</author>
<published>2021-07-22T01:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73e81f7219aa582d8e55a7b6552f607a8e5a9724'/>
<id>urn:sha1:73e81f7219aa582d8e55a7b6552f607a8e5a9724</id>
<content type='text'>
[ Upstream commit 1a64a7aff8da352c9419de3d5c34343682916411 ]

The cursor plane should use the current plane state in atomic_async_update
because it would not be the new plane state in the global atomic state
since _swap_state happened when those hook are run.

Fix cursor plane issue by below modification:
1. Remove plane_helper_funcs-&gt;atomic_update(plane, state) in
   mtk_drm_crtc_async_update.
2. Add mtk_drm_update_new_state in to mtk_plane_atomic_async_update to
   update the cursor plane by current plane state hook and update
   others plane by the new_state.

Fixes: 37418bf14c13 ("drm: Use state helper instead of the plane state pointer")
Signed-off-by: jason-jh.lin &lt;jason-jh.lin@mediatek.com&gt;
Tested-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.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: Fix PM reference leak in mtk_crtc_ddp_hw_init()</title>
<updated>2021-07-19T08:04:31Z</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=e049b85f7dcc666921e7513bf22b70d9462e624d'/>
<id>urn:sha1:e049b85f7dcc666921e7513bf22b70d9462e624d</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>Merge tag 'mediatek-drm-next-5.13' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-next</title>
<updated>2021-04-08T02:42:14Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2021-04-08T02:41:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c7997179a35bf40ab3140bdbb65b376cbb481ab'/>
<id>urn:sha1:0c7997179a35bf40ab3140bdbb65b376cbb481ab</id>
<content type='text'>
Mediatek DRM Next for Linux 5.13

1. Fine tune the line time for EOTp.
2. Add support mt8192 dpi.
3. Make crtc config-updating atomic.
4. Don't support hdmi connector creation.

From: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210405082248.3578-1-chunkuang.hu@kernel.org
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Don't support hdmi connector creation</title>
<updated>2021-04-01T14:05:20Z</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=2e477391522354e763aa62ee3e281c1ad9e8eb1b'/>
<id>urn:sha1:2e477391522354e763aa62ee3e281c1ad9e8eb1b</id>
<content type='text'>
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;
</content>
</entry>
<entry>
<title>drm/mediatek: Switch the hdmi bridge ops to the atomic versions</title>
<updated>2021-04-01T13:57:30Z</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=053d231f369ca05cd563ca9738b5a4c73908e697'/>
<id>urn:sha1:053d231f369ca05cd563ca9738b5a4c73908e697</id>
<content type='text'>
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;
</content>
</entry>
<entry>
<title>drm/mediatek: Add missing MODULE_DEVICE_TABLE()</title>
<updated>2021-03-31T11:38:06Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2021-02-03T11:07:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fdcbe17c6090acdeb766c0383ce101fdf64177e1'/>
<id>urn:sha1:fdcbe17c6090acdeb766c0383ce101fdf64177e1</id>
<content type='text'>
This patch adds the missing MODULE_DEVICE_TABLE definitions on different
Mediatek drivers which generates correct modalias for automatic loading
when these drivers are compiled as an external module.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@collabora.com&gt;
Signed-off-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Reviewed-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: crtc: Make config-updating atomic</title>
<updated>2021-03-29T16:02:58Z</updated>
<author>
<name>Chun-Kuang Hu</name>
</author>
<published>2021-03-13T09:22:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=368166ec7600ba83587cfcb31d817cf6479cf006'/>
<id>urn:sha1:368166ec7600ba83587cfcb31d817cf6479cf006</id>
<content type='text'>
While updating config, the irq would occur and get the partial
config, so use variable config_updating to make updating atomic.

Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: dpi: Add config for mt8192</title>
<updated>2021-03-20T06:59:15Z</updated>
<author>
<name>Rex-BC Chen</name>
</author>
<published>2021-03-18T05:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38eaef2dca4ec8dfb9ea84d9dde0f76da5c8caaa'/>
<id>urn:sha1:38eaef2dca4ec8dfb9ea84d9dde0f76da5c8caaa</id>
<content type='text'>
Add dpi config setting and compatible for MT8192.

Signed-off-by: Rex-BC Chen &lt;rex-bc.chen@mediatek.com&gt;
Signed-off-by: Jitao Shi &lt;jitao.shi@mediatek.com&gt;
Signed-off-by: Chun-Kuang Hu &lt;chunkuang.hu@kernel.org&gt;
</content>
</entry>
</feed>
