Re: [IMX] [DRM]: suspend/resume support

2019-07-01 Thread Pintu Agarwal
On Sat, Jun 22, 2019 at 1:43 PM Pintu Agarwal wrote: > > On Fri, Jun 21, 2019 at 9:09 PM Fabio Estevam wrote: > > > > On Fri, Jun 21, 2019 at 12:13 PM Pintu Agarwal wrote: > > > > > Okay there is some update on the 2nd part. > > > Now I am able to successfully install all imx modules after the

Re: [IMX] [DRM]: suspend/resume support

2019-06-22 Thread Pintu Agarwal
On Fri, Jun 21, 2019 at 9:09 PM Fabio Estevam wrote: > > On Fri, Jun 21, 2019 at 12:13 PM Pintu Agarwal wrote: > > > Okay there is some update on the 2nd part. > > Now I am able to successfully install all imx modules after the resume > > (no hang). > > But, I got some errors after install

Re: [IMX] [DRM]: suspend/resume support

2019-06-21 Thread Fabio Estevam
On Fri, Jun 21, 2019 at 12:13 PM Pintu Agarwal wrote: > Okay there is some update on the 2nd part. > Now I am able to successfully install all imx modules after the resume > (no hang). > But, I got some errors after install finish: > [drm] disabling vblank on crtc 1 > [IMX]:

Re: [IMX] [DRM]: suspend/resume support

2019-06-21 Thread Pintu Agarwal
On Wed, Jun 19, 2019 at 8:59 PM Pintu Agarwal wrote: > > > This scenario is not with suspend/resume. > > > This hang is, when we make hdmi as a loadable module (.ko) and trying > > > to install it after resume. > > > In this case, suspend/resume will not come into picture. Not sure why > > > it

Re: [IMX] [DRM]: suspend/resume support

2019-06-21 Thread Pintu Agarwal
On Wed, Jun 19, 2019 at 9:56 PM Valdis Klētnieks wrote: > > On Wed, 19 Jun 2019 20:47:34 +0530, Pintu Agarwal said: > > > No I mean to say, there are lots of features and customization already > > done on this version and stabilized. > > Upgrading again may require months of effort. > > This is

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Valdis Klētnieks
On Wed, 19 Jun 2019 20:47:34 +0530, Pintu Agarwal said: > No I mean to say, there are lots of features and customization already > done on this version and stabilized. > Upgrading again may require months of effort. This is what happens when you don't upstream your local changes. And no, saying

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Pintu Agarwal
On Wed, Jun 19, 2019 at 8:41 PM Fabio Estevam wrote: > > > > Then you can test suspend/resume and see if HDMI hangs or not. > > > > > By this suspend/resume, you mean "suspend-to-ram" or "suspend-to-disk" ? > > I tested with "echo mem > /sys/power/state" > hmm. That's what I said. This is runtime

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Pintu Agarwal
On Wed, Jun 19, 2019 at 8:34 PM Greg KH wrote: > > On Wed, Jun 19, 2019 at 07:03:39PM +0530, Pintu Agarwal wrote: > > You can think that the version I am using right now is almost 4.9 itself. > > Upgrading again to higher kernel version is again difficult, also > > customer does not want it. > >

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Fabio Estevam
On Wed, Jun 19, 2019 at 12:05 PM Pintu Agarwal wrote: > Okay. I will surely try it on another IMX6 fresh board. > With 5.1.11 you mean the kernel from mainline kernel.org > Or, is there a separate kernel repo for imx6. If yes, please let me know. 5.1.11 from kernel.org > > Then you can test

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Pintu Agarwal
On Wed, Jun 19, 2019 at 7:14 PM Fabio Estevam wrote: > > On Wed, Jun 19, 2019 at 10:33 AM Pintu Agarwal wrote: > > > You can think that the version I am using right now is almost 4.9 itself. > > "almost 4.9" does not help, sorry. > > > Upgrading again to higher kernel version is again difficult,

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Greg KH
On Wed, Jun 19, 2019 at 07:03:39PM +0530, Pintu Agarwal wrote: > You can think that the version I am using right now is almost 4.9 itself. > Upgrading again to higher kernel version is again difficult, also > customer does not want it. They don't want a secure and supported kernel over the

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Fabio Estevam
On Wed, Jun 19, 2019 at 10:33 AM Pintu Agarwal wrote: > You can think that the version I am using right now is almost 4.9 itself. "almost 4.9" does not help, sorry. > Upgrading again to higher kernel version is again difficult, also > customer does not want it. dw-hdmi is well supported on

Re: [IMX] [DRM]: suspend/resume support

2019-06-19 Thread Pintu Agarwal
On Tue, Jun 18, 2019 at 8:39 PM Fabio Estevam wrote: > > On Tue, Jun 18, 2019 at 11:46 AM Pintu Agarwal wrote: > > > Thank you so much for your reply. > > Yes, I already checked the latest mainline kernel changes until 5.2-**. > > I see that there are many cleanup related changes, but still I

Re: [IMX] [DRM]: suspend/resume support

2019-06-18 Thread Oliver Neukum
Am Montag, den 17.06.2019, 19:19 +0530 schrieb Pintu Agarwal: > Currently, I am trying to understand what needs to be taken care > during suspend/resume. You need to take care of * wakeup sources * not requiring services of devices higher up in the tree. > With some reference, I figured out

Re: [IMX] [DRM]: suspend/resume support

2019-06-18 Thread Fabio Estevam
On Tue, Jun 18, 2019 at 11:46 AM Pintu Agarwal wrote: > Thank you so much for your reply. > Yes, I already checked the latest mainline kernel changes until 5.2-**. > I see that there are many cleanup related changes, but still I see > that suspend/resume functions are missing in dw_hdmi-imx

Re: [IMX] [DRM]: suspend/resume support

2019-06-18 Thread Pintu Agarwal
On Tue, Jun 18, 2019 at 7:32 PM Fabio Estevam wrote: > > Hi Pintu, > > On Mon, Jun 17, 2019 at 10:50 AM Pintu Agarwal wrote: > > > > Hi All, > > > > I am trying to implement suspend/resume functionality to to imx-hdmi driver: > >

Re: [IMX] [DRM]: suspend/resume support

2019-06-18 Thread Fabio Estevam
Hi Pintu, On Mon, Jun 17, 2019 at 10:50 AM Pintu Agarwal wrote: > > Hi All, > > I am trying to implement suspend/resume functionality to to imx-hdmi driver: > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/gpu/drm/imx/dw_hdmi-imx.c?h=v4.9.181 Please test a recent

[IMX] [DRM]: suspend/resume support

2019-06-17 Thread Pintu Agarwal
Hi All, I am trying to implement suspend/resume functionality to to imx-hdmi driver: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/gpu/drm/imx/dw_hdmi-imx.c?h=v4.9.181 So, I need some help about this. I logged the request in imx community, but it seems they are