<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/gpu/drm/bridge, branch v4.0</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=v4.0</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2015-01-28T09:01:30Z</updated>
<entry>
<title>drm/bridge: dw-hdmi: Adapt to bridge API change</title>
<updated>2015-01-28T09:01:30Z</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2015-01-27T12:21:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b5217bf4692218d202d3d2cd772864fa1e10be4d'/>
<id>urn:sha1:b5217bf4692218d202d3d2cd772864fa1e10be4d</id>
<content type='text'>
Commit fbc4572e9c48e45b ("drm/bridge: make bridge registration independent of
drm flow") introduced some drm/bridge API modifications. Make the necessary
changes so that we can avoid the build breakage:

drivers/gpu/drm/bridge/dw_hdmi.c: In function 'dw_hdmi_bridge_destroy':
drivers/gpu/drm/bridge/dw_hdmi.c:1378:2: error: implicit declaration of function 'drm_bridge_cleanup' [-Werror=implicit-function-declaration]
drivers/gpu/drm/bridge/dw_hdmi.c: At top level:
drivers/gpu/drm/bridge/dw_hdmi.c:1471:2: error: unknown field 'destroy' specified in initializer
drivers/gpu/drm/bridge/dw_hdmi.c: In function 'dw_hdmi_register':
drivers/gpu/drm/bridge/dw_hdmi.c:1535:2: error: implicit declaration of function 'drm_bridge_init' [-Werror=implicit-function-declaration]

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: dw-hdmi: Fix return error path</title>
<updated>2015-01-28T09:01:21Z</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2015-01-27T12:54:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b33ef61970873d479f4273f36d7a516cd94167e1'/>
<id>urn:sha1:b33ef61970873d479f4273f36d7a516cd94167e1</id>
<content type='text'>
If devm_request_threaded_irq() fails we should jump to 'err_iahb' label that
will disable the clocks that were previously enabled.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Acked-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: ptn3460: use gpiod interface</title>
<updated>2015-01-28T07:47:29Z</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2015-01-20T16:38:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=af478d8823a707958b518a73573eca65c9ff2a91'/>
<id>urn:sha1:af478d8823a707958b518a73573eca65c9ff2a91</id>
<content type='text'>
Modify driver to support gpiod interface.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Acked-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Tested-by: Rahul Sharma &lt;rahul.sharma@samsung.com&gt;
Tested-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Tested-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Tested-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: ptn3460: probe connector at the end of bridge attach</title>
<updated>2015-01-28T07:47:29Z</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2015-01-20T16:38:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a1899953c031aba0467b5fa0b63dd9b594aa658e'/>
<id>urn:sha1:a1899953c031aba0467b5fa0b63dd9b594aa658e</id>
<content type='text'>
Force bridge connector detection at the end of the bridge attach.
This is needed to detect the bridge connector early.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Acked-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Tested-by: Rahul Sharma &lt;rahul.sharma@samsung.com&gt;
Tested-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Tested-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Tested-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: ptn3460: support drm_panel</title>
<updated>2015-01-28T07:47:29Z</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2015-01-20T16:38:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5bbb9a2ef87a9c62fc7ce89337a2aa90802be080'/>
<id>urn:sha1:5bbb9a2ef87a9c62fc7ce89337a2aa90802be080</id>
<content type='text'>
Add drm_panel calls to the driver to make the panel and
bridge work together in tandem.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Acked-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Tested-by: Rahul Sharma &lt;rahul.sharma@samsung.com&gt;
Tested-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Tested-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Tested-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: ptn3460: Convert to I2C driver model</title>
<updated>2015-01-28T07:47:28Z</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2015-01-20T16:38:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6a1688ae8794ac62667ac231d20ac697bf7967fc'/>
<id>urn:sha1:6a1688ae8794ac62667ac231d20ac697bf7967fc</id>
<content type='text'>
Use drm_bridge helpers to modify the driver to support I2C driver model.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Acked-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Tested-by: Rahul Sharma &lt;rahul.sharma@samsung.com&gt;
Tested-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Tested-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Tested-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
[treding@nvidia.com: remove recursive dependency on I2C]
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: make bridge registration independent of drm flow</title>
<updated>2015-01-28T07:45:40Z</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2015-01-20T16:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3d3f8b1f8b62c3a010976269df454baa9246fc65'/>
<id>urn:sha1:3d3f8b1f8b62c3a010976269df454baa9246fc65</id>
<content type='text'>
Currently, third party bridge drivers(ptn3460) are dependent
on the corresponding encoder driver init, since bridge driver
needs a drm_device pointer to finish drm initializations.
The encoder driver passes the drm_device pointer to the
bridge driver. Because of this dependency, third party drivers
like ptn3460 doesn't adhere to the driver model.

In this patch, we reframe the bridge registration framework
so that bridge initialization is split into 2 steps, and
bridge registration happens independent of drm flow:
--Step 1: gather all the bridge settings independent of drm and
	  add the bridge onto a global list of bridges.
--Step 2: when the encoder driver is probed, call drm_bridge_attach
	  for the corresponding bridge so that the bridge receives
	  drm_device pointer and continues with connector and other
	  drm initializations.

The old set of bridge helpers are removed, and a set of new helpers
are added to accomplish the 2 step initialization.

The bridge devices register themselves onto global list of bridges
when they get probed by calling "drm_bridge_add".

The parent encoder driver waits till the bridge is available
in the lookup table(by calling "of_drm_find_bridge") and then
continues with its initialization.

The encoder driver should also call "drm_bridge_attach" to pass
on the drm_device to the bridge object.

drm_bridge_attach inturn calls "bridge-&gt;funcs-&gt;attach" so that
bridge can continue with drm related initializations.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Acked-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Tested-by: Rahul Sharma &lt;rahul.sharma@samsung.com&gt;
Tested-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Tested-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Tested-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: do not pass drm_bridge_funcs to drm_bridge_init</title>
<updated>2015-01-28T07:45:40Z</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2015-01-20T16:38:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b07b90fd178a4797b0454ead491b717b41046bee'/>
<id>urn:sha1:b07b90fd178a4797b0454ead491b717b41046bee</id>
<content type='text'>
Assign the pointer to bridge ops structure(drm_bridge_funcs) in
the bridge driver itself, instead of passing it to drm_bridge_init.

This will allow bridge driver developer to pack bridge private
information inside the bridge object and pass only the drm-relevant
information to drm_bridge_init.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Acked-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Tested-by: Rahul Sharma &lt;rahul.sharma@samsung.com&gt;
Tested-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Tested-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Tested-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>drm/bridge: ptn3460: Few trivial cleanups</title>
<updated>2015-01-28T07:45:39Z</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2015-01-20T16:38:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=94d50d57c4403aac70d23d2f442ab9ef4a668791'/>
<id>urn:sha1:94d50d57c4403aac70d23d2f442ab9ef4a668791</id>
<content type='text'>
This patch does the following changes:
	-- Use usleep_range instead of udelay.
	-- Remove driver_private member from ptn3460 structure.
	-- Make all possible functions and structures static.
	-- Use dev_err for non-DRM errors.
	-- Arrange header files alphabetically.
	-- s/edid/EDID in all error messages.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Acked-by: Inki Dae &lt;inki.dae@samsung.com&gt;
Tested-by: Rahul Sharma &lt;rahul.sharma@samsung.com&gt;
Tested-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Tested-by: Gustavo Padovan &lt;gustavo.padovan@collabora.co.uk&gt;
Tested-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
</content>
</entry>
<entry>
<title>imx-drm: encoder prepare/mode_set must use adjusted mode</title>
<updated>2015-01-07T18:15:03Z</updated>
<author>
<name>Steve Longerbeam</name>
<email>slongerbeam@gmail.com</email>
</author>
<published>2014-12-19T02:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eb10d6355532def3a74aaabd115e2373cca70b9d'/>
<id>urn:sha1:eb10d6355532def3a74aaabd115e2373cca70b9d</id>
<content type='text'>
The encoder -&gt;prepare() and -&gt;mode_set() methods need to use the
hw adjusted mode, not the original mode.

Signed-off-by: Steve Longerbeam &lt;steve_longerbeam@mentor.com&gt;
Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
</content>
</entry>
</feed>
