* [IMX6] - IPUv3 iomux setting after linux resume
@ 2019-11-15 13:21 Pintu Agarwal
0 siblings, 0 replies; only message in thread
From: Pintu Agarwal @ 2019-11-15 13:21 UTC (permalink / raw)
To: IPUFORUM, Pintu Kumar,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
NXP Technical Support
Dear NXP,
I have a customized imx6q-dl board with the custom Linux 4.8 running on it.
It also have LCD and HDMI connected to it.
Both the display working fine during normal boot using Weston/Wayland interface.
But I am trying to support hibernate (suspend to disk) kind of feature
on this by converting IMX_DRM, ipuv3, etc. drivers as modules.
Currently, I am able to bring up LVDS display, after system resume from image.
But HDMI display is not working.
For HDMI crtc I am getting "vbank timeout issue".
{{{
[ 197.735034]: drm_atomic_helper_wait_for_vblanks: waiting for vblank....
[ 207.734306]: drm_atomic_helper_wait_for_vblanks: [crtc:24]: vblank
timedout, waited (3000 ms)
[ 207.743538] ------------[ cut here ]------------
[ 207.748276] WARNING: at drivers/gpu/drm/drm_atomic_helper.c:1133
drm_atomic_helper_wait_for_vblanks+0x26c/0x274 [drm_kms_helper]()
[ 207.760060] [CRTC:24] vblank wait timed out
}}}
When I compare and debug more, I found that "ipu_irq_handler" is not
getting called after resume.
* I tried to do disable/enable_irq using suspend/resume calls in
ipuv3-crtc driver, but it did not help.
* I also tried updating several patches from latest mainline kernel,
but this also did not help.
* Read this guide about IMX-IPU:
http://cache.freescale.com/files/training/doc/ftf/2014/FTF-CON-F0119.pdf
But, this also does not provide any clue.
But, I feel that IOMUX setting for IPU/HDMI needs to be reconfigured
after resume.
So, I am looking for help from NXP about how to do this ?
If you have any other points or suggestion to solve this vblank
timeout issue, please support us.
Regards,
Pintu
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-15 13:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15 13:21 [IMX6] - IPUv3 iomux setting after linux resume Pintu Agarwal
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).