<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/gpu/drm/stm/ltdc.c, branch linux-4.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.17.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.17.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2018-08-03T05:48:01Z</updated>
<entry>
<title>drm/stm: ltdc: fix warning in ltdc_crtc_update_clut()</title>
<updated>2018-08-03T05:48:01Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2018-04-10T13:53:12Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=7bea183133dfb9eede992b764b56b0ad359e8d38'/>
<id>urn:sha1:7bea183133dfb9eede992b764b56b0ad359e8d38</id>
<content type='text'>
[ Upstream commit c20f5f69c898899027c3e573afaab837195895b6 ]

Fix the warning
"warn: variable dereferenced before check 'crtc' (see line 390)"
by removing unnecessary checks as ltdc_crtc_update_clut() is
only called from ltdc_crtc_atomic_flush() where crtc and
crtc-&gt;state are not NULL.

Many thanks to Dan Carpenter for the bug report
https://lists.freedesktop.org/archives/dri-devel/2018-February/166918.html

Signed-off-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Reviewed-by: yannick fertre &lt;yannick.fertre@st.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180410135312.3553-1-philippe.cornu@st.com
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drm/stm: ltdc: remove non-alpha color formats on layer 2 for older hw</title>
<updated>2018-02-08T09:23:32Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2018-02-01T10:42:43Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9569002a39cdc17b11f415f16215ec2428dad902'/>
<id>urn:sha1:9569002a39cdc17b11f415f16215ec2428dad902</id>
<content type='text'>
Hw older versions support non-alpha color formats derived
from native alpha color formats only on the primary layer.
For instance, RG16 native format without alpha works fine
on 2nd layer but XR24 (derived color format from AR24)
does not work on 2nd layer.

Signed-off-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Reviewed-by: Yannick Fertré &lt;yannick.fertre@st.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180201104243.20726-3-philippe.cornu@st.com
</content>
</entry>
<entry>
<title>drm/stm: ltdc: add non-alpha color formats</title>
<updated>2018-02-08T09:23:22Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2018-02-01T10:42:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=aefa830199c3d07e198d44f55aa781f119937854'/>
<id>urn:sha1:aefa830199c3d07e198d44f55aa781f119937854</id>
<content type='text'>
ltdc supports natively some color formats with alpha (like
ARGB8888, ARGB1555, ARGB4444...). Related non-alpha formats are
supported too (ARGB8888-&gt;XRGB8888, ARGB4444-&gt;XRGB4444...) by
adjusting ltdc blending factors.

Note: Wayland/Weston requests by default the non-alpha XRGB8888
color format.

Signed-off-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Reviewed-by: Yannick Fertré &lt;yannick.fertre@st.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180201104243.20726-2-philippe.cornu@st.com
</content>
</entry>
<entry>
<title>drm/stm: ltdc: use crtc_mode_fixup to update adjusted_mode clock</title>
<updated>2018-01-29T10:07:16Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2018-01-25T16:01:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=1a32a938b6438afe70c0a2a6dd666f4a49f6c384'/>
<id>urn:sha1:1a32a938b6438afe70c0a2a6dd666f4a49f6c384</id>
<content type='text'>
There is a difference between the panel/bridge requested pixel clock
value and the real one due to the hw platform clock preciseness (pll,
dividers...). This patch updates the adjusted_mode clock value with
the real hw clock value so then attached encoder &amp; connector can use
it for precise timing computations.

Signed-off-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Reviewed-by: Yannick Fertré &lt;yannick.fertre@st.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180125160101.9102-1-philippe.cornu@st.com
</content>
</entry>
<entry>
<title>drm/stm: ltdc: add clut mode support</title>
<updated>2018-01-09T12:40:51Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2017-10-26T11:17:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b706a25eaed083a54afd113db86ee9747cc2f28b'/>
<id>urn:sha1:b706a25eaed083a54afd113db86ee9747cc2f28b</id>
<content type='text'>
Add the 8-bit clut mode support at crtc level.
Useful for low memory footprint user interfaces but also for
8-bit old games (including color shifting visual effects).
Tested with fbdev FBIOPUTCMAP &amp; drm DRM_IOCTL_MODE_SETGAMMA
ioctls.

Signed-off-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1509016666-18927-1-git-send-email-philippe.cornu@st.com
</content>
</entry>
<entry>
<title>drm/stm: ltdc: Remove unnecessary platform_get_resource() error check</title>
<updated>2017-12-19T14:23:45Z</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@nxp.com</email>
</author>
<published>2017-12-18T13:02:29Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=eb393dbc8f5b2ca7c87749795fd49b8cf77ab04b'/>
<id>urn:sha1:eb393dbc8f5b2ca7c87749795fd49b8cf77ab04b</id>
<content type='text'>
devm_ioremap_resource() already checks if the resource is NULL, so
remove the unnecessary platform_get_resource() error check.

Cc: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@nxp.com&gt;
Acked-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1513602150-7542-6-git-send-email-festevam@gmail.com
</content>
</entry>
<entry>
<title>gpu: drm: stm: Adopt SPDX identifiers</title>
<updated>2017-12-06T14:51:37Z</updated>
<author>
<name>Benjamin Gaignard</name>
<email>benjamin.gaignard@linaro.org</email>
</author>
<published>2017-12-06T11:29:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ec17f0341d6a2c8b8a036999e9fd735a1a6888f4'/>
<id>urn:sha1:ec17f0341d6a2c8b8a036999e9fd735a1a6888f4</id>
<content type='text'>
Add SPDX identifiers to files under stm directory

Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@st.com&gt;
Acked-by: Vincent Abriou &lt;vincent.abriou@st.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20171206112947.9569-1-benjamin.gaignard@st.com
</content>
</entry>
<entry>
<title>drm/stm: ltdc: add a 2nd endpoint</title>
<updated>2017-11-07T13:47:39Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2017-10-26T11:48:09Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c188d7ebbebd0b21a071777ac937c0743e2e7a64'/>
<id>urn:sha1:c188d7ebbebd0b21a071777ac937c0743e2e7a64</id>
<content type='text'>
ltdc can have up to 2 endpoints:
 - dpi external gpios: for rgb panels or external bridge ICs.
 - dpi internal ios: connected internally to dsi.

Note: Refer to the reference manual to know if the dsi is
present on your device.

Signed-off-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1509018489-19641-3-git-send-email-philippe.cornu@st.com
</content>
</entry>
<entry>
<title>drm/stm: checkpatch strict minor updates</title>
<updated>2017-11-07T13:46:59Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2017-10-26T10:24:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0163d1f62f511c6f85bb84cbc55e84cedc3eab88'/>
<id>urn:sha1:0163d1f62f511c6f85bb84cbc55e84cedc3eab88</id>
<content type='text'>
Minor fixes detected with "scripts/checkpatch.pl --strict"

Signed-off-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Reviewed-by: Gustavo Padovan &lt;gustavo.padovan@collabora.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1509013473-18365-1-git-send-email-philippe.cornu@st.com
</content>
</entry>
<entry>
<title>drm/stm: ltdc: remove bridge from driver internal structure</title>
<updated>2017-10-10T09:32:48Z</updated>
<author>
<name>benjamin.gaignard@linaro.org</name>
<email>benjamin.gaignard@linaro.org</email>
</author>
<published>2017-10-02T09:34:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=08de7afa3a6a8b36015648e3a015ceb60e499f26'/>
<id>urn:sha1:08de7afa3a6a8b36015648e3a015ceb60e499f26</id>
<content type='text'>
With a call to drm_of_panel_bridge_remove() we could remove the bridge
without store it in ldtc internal driver structure.

Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Reviewed-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Tested-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/1506936888-23844-4-git-send-email-benjamin.gaignard@linaro.org
</content>
</entry>
</feed>
