[PATCH v2] imx-drm: imx-drm-core: add suspend/resume support
shawn.guo at freescale.com
Tue Aug 19 00:21:24 PDT 2014
On Mon, Aug 18, 2014 at 03:11:54PM +0200, Andrzej Hajda wrote:
> On 08/18/2014 02:58 PM, Andrzej Hajda wrote:
> > .load hook is called after all components are attached to the master.
> > So if suspend happen after probe of the master and before attaching the last
> > component you will have NULL here, I guess.
> Probably you can test it by disabling driver for one of drm components
> and putting board in sleep mode.
> Moreover I guess drvdata should be cleaned in .unload callback,
> otherwise if for some reason one of components will be detached and suspend
> happens drvdata will contain invalid pointer.
You're right, Andrzej. I will fix it in v3. Thanks for the comment.
More information about the dri-devel