* [U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel
@ 2015-04-03 23:59 Tim Harvey
2015-04-04 14:52 ` Liu Ying
0 siblings, 1 reply; 3+ messages in thread
From: Tim Harvey @ 2015-04-03 23:59 UTC (permalink / raw)
To: u-boot
It has been observed that some IMX6SDL SoC will hang appx 0.1% of boots
between disabling the ipu channel and disabling DMA preceeding an OS boot
unless an extra delay is added here.
The specific cause is still under investigation.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
drivers/video/ipu_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c
index 5873531..3c1bbbb 100644
--- a/drivers/video/ipu_common.c
+++ b/drivers/video/ipu_common.c
@@ -1109,6 +1109,7 @@ int32_t ipu_disable_channel(ipu_channel_t channel)
if ((channel == MEM_BG_SYNC) || (channel == MEM_FG_SYNC) ||
(channel == MEM_DC_SYNC)) {
ipu_dp_dc_disable(channel, 0);
+ mdelay(50);
}
/* Disable DMA channel(s) */
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel
2015-04-03 23:59 [U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel Tim Harvey
@ 2015-04-04 14:52 ` Liu Ying
2015-04-06 13:50 ` Tim Harvey
0 siblings, 1 reply; 3+ messages in thread
From: Liu Ying @ 2015-04-04 14:52 UTC (permalink / raw)
To: u-boot
Hi Tim,
Does your code base contain this patch[1]?
It probably addressed the same issue you meet.
[1] http://lists.denx.de/pipermail/u-boot/2014-February/174533.html
Regards,
Liu Ying
On Fri, Apr 03, 2015 at 04:59:57PM -0700, Tim Harvey wrote:
> It has been observed that some IMX6SDL SoC will hang appx 0.1% of boots
> between disabling the ipu channel and disabling DMA preceeding an OS boot
> unless an extra delay is added here.
>
> The specific cause is still under investigation.
>
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---
> drivers/video/ipu_common.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/video/ipu_common.c b/drivers/video/ipu_common.c
> index 5873531..3c1bbbb 100644
> --- a/drivers/video/ipu_common.c
> +++ b/drivers/video/ipu_common.c
> @@ -1109,6 +1109,7 @@ int32_t ipu_disable_channel(ipu_channel_t channel)
> if ((channel == MEM_BG_SYNC) || (channel == MEM_FG_SYNC) ||
> (channel == MEM_DC_SYNC)) {
> ipu_dp_dc_disable(channel, 0);
> + mdelay(50);
> }
>
> /* Disable DMA channel(s) */
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel
2015-04-04 14:52 ` Liu Ying
@ 2015-04-06 13:50 ` Tim Harvey
0 siblings, 0 replies; 3+ messages in thread
From: Tim Harvey @ 2015-04-06 13:50 UTC (permalink / raw)
To: u-boot
On Sat, Apr 4, 2015 at 7:52 AM, Liu Ying <Ying.Liu@freescale.com> wrote:
> Hi Tim,
>
> Does your code base contain this patch[1]?
> It probably addressed the same issue you meet.
>
> [1] http://lists.denx.de/pipermail/u-boot/2014-February/174533.html
>
> Regards,
> Liu Ying
Liu,
It certainly does not - this issue was encountered back on 2014-04. I
was hoping you might have some knowledge of this one!
I will re-test for this specific issue now that I am re-based on master.
Thanks,
Tim
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-04-06 13:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-03 23:59 [U-Boot] [PATCH] imx: ipu: fix occasional hang following disabling of channel Tim Harvey
2015-04-04 14:52 ` Liu Ying
2015-04-06 13:50 ` Tim Harvey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox