linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpu: ipu-v3: display support on the aristainetos2 board broken
@ 2016-05-20 11:15 Heiko Schocher
  2016-05-20 11:40 ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2016-05-20 11:15 UTC (permalink / raw)
  To: linux-kernel
  Cc: Heiko Schocher, Philipp Zabel, dri-devel, Dennis Gilmore, stable,
	Dave Airlie

commit 503fe87bd0a8 ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading")
breaks the aristainetos2 board with the "lg,lg4573" panel.

This reverts the above commit.

Signed-off-by: Heiko Schocher <hs@denx.de>

---
Any hint, how to bring back the display on the aristainetos2
board without reverting this commit would be appreciated.

Board DTS:
arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi
arch/arm/boot/dts/imx6dl-aristainetos2_4.dts

see the log of a full automated "git bisect" session with tbot testcase:
https://github.com/hsdenx/tbot/blob/master/src/tc/board/tc_board_aristainetos2_linux_bisect.py
here:
http://xeidos.ddns.net/buildbot/builders/ari_lx_bi/builds/3/steps/shell/logs/tbotlog
for details.

 drivers/gpu/ipu-v3/ipu-common.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c
index abb98c7..e00db3f 100644
--- a/drivers/gpu/ipu-v3/ipu-common.c
+++ b/drivers/gpu/ipu-v3/ipu-common.c
@@ -1068,6 +1068,7 @@ static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base)
 			goto err_register;
 		}
 
+		pdev->dev.of_node = of_node;
 		pdev->dev.parent = dev;
 
 		ret = platform_device_add_data(pdev, &reg->pdata,
@@ -1078,12 +1079,6 @@ static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base)
 			platform_device_put(pdev);
 			goto err_register;
 		}
-
-		/*
-		 * Set of_node only after calling platform_device_add. Otherwise
-		 * the platform:imx-ipuv3-crtc modalias won't be used.
-		 */
-		pdev->dev.of_node = of_node;
 	}
 
 	return 0;
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpu: ipu-v3: display support on the aristainetos2 board broken
  2016-05-20 11:15 [PATCH] gpu: ipu-v3: display support on the aristainetos2 board broken Heiko Schocher
@ 2016-05-20 11:40 ` Fabio Estevam
  2016-05-20 12:11   ` Heiko Schocher
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2016-05-20 11:40 UTC (permalink / raw)
  To: Heiko Schocher
  Cc: linux-kernel, Dennis Gilmore, stable, DRI mailing list,
	Dave Airlie, Philipp Zabel

Hi Heiko,

On Fri, May 20, 2016 at 8:15 AM, Heiko Schocher <hs@denx.de> wrote:
> commit 503fe87bd0a8 ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading")
> breaks the aristainetos2 board with the "lg,lg4573" panel.
>
> This reverts the above commit.
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
>
> ---
> Any hint, how to bring back the display on the aristainetos2
> board without reverting this commit would be appreciated.

Philipp sent the following patch that fixes the issue:
http://www.spinics.net/lists/dri-devel/msg107524.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpu: ipu-v3: display support on the aristainetos2 board broken
  2016-05-20 11:40 ` Fabio Estevam
@ 2016-05-20 12:11   ` Heiko Schocher
  0 siblings, 0 replies; 3+ messages in thread
From: Heiko Schocher @ 2016-05-20 12:11 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: linux-kernel, Dennis Gilmore, stable, DRI mailing list,
	Dave Airlie, Philipp Zabel

Hello Fabio,

Am 20.05.2016 um 13:40 schrieb Fabio Estevam:
> Hi Heiko,
>
> On Fri, May 20, 2016 at 8:15 AM, Heiko Schocher <hs@denx.de> wrote:
>> commit 503fe87bd0a8 ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading")
>> breaks the aristainetos2 board with the "lg,lg4573" panel.
>>
>> This reverts the above commit.
>>
>> Signed-off-by: Heiko Schocher <hs@denx.de>
>>
>> ---
>> Any hint, how to bring back the display on the aristainetos2
>> board without reverting this commit would be appreciated.
>
> Philipp sent the following patch that fixes the issue:
> http://www.spinics.net/lists/dri-devel/msg107524.html

Thanks for the hint! This patch fixes the issue see log:
http://xeidos.ddns.net/buildbot/builders/ari_lx/builds/0/steps/shell/logs/tbotlog

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-20 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 11:15 [PATCH] gpu: ipu-v3: display support on the aristainetos2 board broken Heiko Schocher
2016-05-20 11:40 ` Fabio Estevam
2016-05-20 12:11   ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).