<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/gpu/drm/stm, 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: check pitch and size calculations even if !CONFIG_MMU</title>
<updated>2018-02-23T08:37:12Z</updated>
<author>
<name>Benjamin Gaignard</name>
<email>benjamin.gaignard@linaro.org</email>
</author>
<published>2018-01-31T08:05:08Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=879659bb87a87a7a23b190e211d33bdd6763c746'/>
<id>urn:sha1:879659bb87a87a7a23b190e211d33bdd6763c746</id>
<content type='text'>
In all cases we have to check pitch and size calculations to speed up
data transfer.

Fixes: 21f815bf773c ("drm/stm: drv: Improve data transfers")

Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Tested-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Reviewed-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20180131080508.14356-1-benjamin.gaignard@linaro.org
</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: drv: Improve data transfers</title>
<updated>2018-01-30T10:45:15Z</updated>
<author>
<name>Philippe Cornu</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2018-01-30T10:42:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=21f815bf773c1f7dc278060eb49d7651c3175148'/>
<id>urn:sha1:21f815bf773c1f7dc278060eb49d7651c3175148</id>
<content type='text'>
To optimize data transfers, align pitch on 128 bytes &amp; height
on 4 bytes. This optimization is not applicable on hw without MMU.

Signed-off-by: Yannick Fertre &lt;yannick.fertre@st.com&gt;
Signed-off-by: Vincent Abriou &lt;vincent.abriou@st.com&gt;
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/20180130104200.21602-1-philippe.cornu@st.com
</content>
</entry>
<entry>
<title>drm/stm: dsi: Add 1.31 version support</title>
<updated>2018-01-30T10:45:01Z</updated>
<author>
<name>Philippe CORNU</name>
<email>philippe.cornu@st.com</email>
</author>
<published>2018-01-22T16:46:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=023f34890199dc16c6b4451fa30b7b1ced54113c'/>
<id>urn:sha1:023f34890199dc16c6b4451fa30b7b1ced54113c</id>
<content type='text'>
Add support for the stm dsi phy/wrapper version 1.31.
Only lane capabilities need to be modified.

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/20180122164628.24728-1-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/bridge/synopsys: stop clobbering drvdata</title>
<updated>2018-01-09T13:34:38Z</updated>
<author>
<name>Brian Norris</name>
<email>briannorris@chromium.org</email>
</author>
<published>2017-11-28T01:05:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8242ecbd597dac1375f6b80e0c0574189afc9a17'/>
<id>urn:sha1:8242ecbd597dac1375f6b80e0c0574189afc9a17</id>
<content type='text'>
Bridge drivers/helpers shouldn't be clobbering the drvdata, since a
parent driver might need to own this. Instead, let's return our
'dw_mipi_dsi' object and have callers pass that back to us for removal.

Signed-off-by: Brian Norris &lt;briannorris@chromium.org&gt;
Reviewed-by: Matthias Kaehlcke &lt;mka@chromium.org&gt;
Reviewed-by: Archit Taneja &lt;architt@codeaurora.org&gt;
Acked-by: Philippe Cornu &lt;philippe.cornu@st.com&gt;
Signed-off-by: Andrzej Hajda &lt;a.hajda@samsung.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20171128010538.119114-1-briannorris@chromium.org
</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>
</feed>
