<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/mediatek, branch v5.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-12-17T02:23:43Z</updated>
<entry>
<title>drm/mediatek: reduce the hbp and hfp for phy timing</title>
<updated>2019-12-17T02:23:43Z</updated>
<author>
<name>Jitao Shi</name>
<email>jitao.shi@mediatek.com</email>
</author>
<published>2019-12-13T09:52:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e18e0f6b7c8f220774dd68965e8a9b046905acc8'/>
<id>urn:sha1:e18e0f6b7c8f220774dd68965e8a9b046905acc8</id>
<content type='text'>
There are some extra data transfer in dsi.
ex. LPX, hs_prepare, hs_zero, hs_exit and the sof/eof of dsi packet.
This signal will enlarge the line time. So the real frame on dsi bus
will be lower than calc by video timing.

So dsi driver reduces the hbp and hfp to keep the line time.

Fixes: 7a5bc4e22ecf ("drm/mediatek: change the dsi phytiming calculate method")
Signed-off-by: Jitao Shi &lt;jitao.shi@mediatek.com&gt;
Tested-by: Hsin-Yi Wang &lt;hsinyi@chromium.org&gt;
Tested-by: Enric Balletbo i Serra &lt;enric.balletbo@collabora.com&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Fix can't get component for external display plane.</title>
<updated>2019-12-09T01:29:05Z</updated>
<author>
<name>Yongqiang Niu</name>
<email>yongqiang.niu@mediatek.com</email>
</author>
<published>2019-11-27T10:04:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=92c17f6043647652e1f4a772636e4288d4ecea3e'/>
<id>urn:sha1:92c17f6043647652e1f4a772636e4288d4ecea3e</id>
<content type='text'>
The original logic is ok for primary display, but will not find out
component for external display.

For example, plane-&gt;index is 6 for external display, but there are only
2 layer nr in external display, and this condition will never happen:
if (plane-&gt;index &lt; (count + mtk_ddp_comp_layer_nr(comp)))

Fix this by using the offset of the plane to mtk_crtc-&gt;planes as index,
instead of plane-&gt;index.

Fixes: d6b53f68356f ("drm/mediatek: Add helper to get component for a plane")
Signed-off-by: Yongqiang Niu &lt;yongqiang.niu@mediatek.com&gt;
Signed-off-by: Pi-Hsun Shih &lt;pihsun@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drm/mediatek: Check return value of mtk_drm_ddp_comp_for_plane.</title>
<updated>2019-12-09T01:29:05Z</updated>
<author>
<name>Pi-Hsun Shih</name>
<email>pihsun@chromium.org</email>
</author>
<published>2019-11-18T06:18:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=13b0ba33d78b32384ea38abd03bc2b795fcab194'/>
<id>urn:sha1:13b0ba33d78b32384ea38abd03bc2b795fcab194</id>
<content type='text'>
The mtk_drm_ddp_comp_for_plane can return NULL, but the usage doesn't
check for it. Add check for it.

Fixes: d6b53f68356f ("drm/mediatek: Add helper to get component for a plane")
Signed-off-by: Pi-Hsun Shih &lt;pihsun@chromium.org&gt;
Signed-off-by: CK Hu &lt;ck.hu@mediatek.com&gt;
</content>
</entry>
<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:55Z</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2019-11-08T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=393fdfdb4aeef7dc3a45c9e28cafdc9f8a8830f2'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>drm/mediatek: Support 180 degree rotation</title>
<updated>2019-11-06T08:00:45Z</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=df444457711858d398896d678bd3cd7f43f1c1f5'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>drm/mediatek: Support reflect-x plane rotation</title>
<updated>2019-11-06T08:00:45Z</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b368d3ecab2db45a4fa296fe825d4ef6893f4620'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>drm/mediatek: Support reflect-y plane rotation</title>
<updated>2019-11-06T08:00:44Z</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=84d805753983757ea3655acbd47887764acf293f'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>drm/mediatek: Plumb supported rotation values from components to plane init</title>
<updated>2019-11-06T08:00:44Z</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ef87d3e2dd251374c5c9fa3b6502aeff8fe29da9'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>drm/mediatek: Add plumbing for layer_check hook</title>
<updated>2019-11-06T08:00:44Z</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f7c710d1e48414b16e5b1b64e2940606148123a7'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>drm/mediatek: Add helper to get component for a plane</title>
<updated>2019-11-06T08:00:44Z</updated>
<author>
<name>Sean Paul</name>
<email>seanpaul@chromium.org</email>
</author>
<published>2019-11-05T21:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d6b53f68356f74d11530cb834b1c8acfe5f2bae2'/>
<id>urn:sha1: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>
</entry>
</feed>
