<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/gpu/drm/imx/parallel-display.c, branch linux-4.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-04-20T07:06:43Z</updated>
<entry>
<title>drm/imx: Fix memory leak in imx_pd_connector_get_modes</title>
<updated>2022-04-20T07:06:43Z</updated>
<author>
<name>José Expósito</name>
</author>
<published>2022-01-08T16:52:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2c2758cfb0262637fd93350bdc8ad485fb1dd61'/>
<id>urn:sha1:d2c2758cfb0262637fd93350bdc8ad485fb1dd61</id>
<content type='text'>
[ Upstream commit bce81feb03a20fca7bbdd1c4af16b4e9d5c0e1d3 ]

Avoid leaking the display mode variable if of_get_drm_display_mode
fails.

Fixes: 76ecd9c9fb24 ("drm/imx: parallel-display: check return code from of_get_drm_display_mode()")
Addresses-Coverity-ID: 1443943 ("Resource leak")
Signed-off-by: José Expósito &lt;jose.exposito89@gmail.com&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Link: https://lore.kernel.org/r/20220108165230.44610-1-jose.exposito89@gmail.com
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/imx: parallel-display: detach bridge or panel on unbind</title>
<updated>2016-08-29T14:30:48Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2016-08-29T09:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c15d493cb636f331898f40c5c6989e9deee62b09'/>
<id>urn:sha1:c15d493cb636f331898f40c5c6989e9deee62b09</id>
<content type='text'>
Don't leave any bridge or panel attached to a stale driver instance
when unbinding, to allow reattachment on a rebind.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: don't destroy mode objects manually on driver unbind</title>
<updated>2016-08-29T10:45:05Z</updated>
<author>
<name>Lucas Stach</name>
</author>
<published>2016-08-11T09:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e3b16e2117409625b89807de3912ff773aea354'/>
<id>urn:sha1:8e3b16e2117409625b89807de3912ff773aea354</id>
<content type='text'>
Instead let drm_mode_config_cleanup() do the work when taking down
the master device. This requires all cleanup functions to be
properly hooked up to the mode object .destroy callback.

Signed-off-by: Lucas Stach &lt;l.stach@pengutronix.de&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver</title>
<updated>2016-08-08T09:44:20Z</updated>
<author>
<name>Lothar Waßmann</name>
</author>
<published>2016-07-12T13:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fafc79ef2e9148d0085585b6b71bc7154c14ebb6'/>
<id>urn:sha1:fafc79ef2e9148d0085585b6b71bc7154c14ebb6</id>
<content type='text'>
The 'de-active' and 'pixelclk-active' DT properties are evaluated
by of_parse_display_timing() called from  of_get_drm_display_mode(),
but later lost in the conversion from videomode.flags to
drm_display_mode.flags.
Enhance of_get_drm_display_mode() to also return the bus flags in a
separate variable, so that they can be passed on to the ipu-di
driver.

Signed-off-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: parallel-display: add bridge support</title>
<updated>2016-07-14T09:18:46Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2016-06-27T13:26:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f140b0cc776f8771adfa45d2ef234da72662443d'/>
<id>urn:sha1:f140b0cc776f8771adfa45d2ef234da72662443d</id>
<content type='text'>
Add support for bridge chips connected externally to the i.MX
DISP0/DISP1 DPI interfaces.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: parallel-display: check return code from of_get_drm_display_mode()</title>
<updated>2016-07-12T16:26:06Z</updated>
<author>
<name>Lothar Waßmann</name>
</author>
<published>2016-07-12T13:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76ecd9c9fb24b014a6f33fbb1287ede3be12158b'/>
<id>urn:sha1:76ecd9c9fb24b014a6f33fbb1287ede3be12158b</id>
<content type='text'>
of_get_drm_display_mode() may fail. Check its return code and bail out
on error.

Signed-off-by: Lothar Waßmann &lt;LW@KARO-electronics.de&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: turn remaining container_of macros into inline functions</title>
<updated>2016-07-12T16:24:29Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2016-07-06T13:47:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3df0739052c23989b441883fa251a0988f75c0f3'/>
<id>urn:sha1:3df0739052c23989b441883fa251a0988f75c0f3</id>
<content type='text'>
This allows the compiler to do type checking.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: store internal bus configuration in crtc state</title>
<updated>2016-07-12T16:24:28Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2016-07-06T12:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49f98bc4d44a4ee507737f8d5531d05539787319'/>
<id>urn:sha1:49f98bc4d44a4ee507737f8d5531d05539787319</id>
<content type='text'>
The internal bus configuration is imx-drm specific crtc state. Store it
in imx_crtc_state and let the encoder atomic_check callbacks determine
bus_flags, bus_format and the sync pins, possibly taking into account
the mode and the connector display info.
The custom imx_drm_encoder structure can be replaced again with
drm_encoder.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: remove empty mode_set encoder callbacks</title>
<updated>2016-07-12T16:24:27Z</updated>
<author>
<name>Philipp Zabel</name>
</author>
<published>2016-07-06T11:40:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e41c5c2411bca56775663a4153e0c00ea8c8f130'/>
<id>urn:sha1:e41c5c2411bca56775663a4153e0c00ea8c8f130</id>
<content type='text'>
With atomic modeset support, these callbacks are optional.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>drm/imx: atomic phase 3 step 2: Legacy callback fixups</title>
<updated>2016-07-12T16:24:12Z</updated>
<author>
<name>Liu Ying</name>
</author>
<published>2016-07-08T09:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6e396e5096dec2523fade421bc27f3fae38e31d'/>
<id>urn:sha1:f6e396e5096dec2523fade421bc27f3fae38e31d</id>
<content type='text'>
Now that we can use atomic configurations, all the legacy callbacks
of CRTCs, encoders and connectors can be switched to the atomic version.
For the imx-ldb driver, there is a clock parent setting mismatch bewteen
-&gt;enable and -&gt;disable after the switch, so a fixup is added.  For the
imx-tve driver, since the encoder's callback -&gt;dpms is replaced by
-&gt;disable, we need to move the setting for the IPU_CLK_EN bit(in register
TVE_COM_CONF_REG) from -&gt;enable/-&gt;disable to -&gt;mode_set, otherwise, the
relevant CRTC cannot be disabled correctly with a warning on DC stop timeout.

Signed-off-by: Liu Ying &lt;gnuiyl@gmail.com&gt;
Acked-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
</feed>
