[PATCH 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-10 Thread Sylvain Rochet
Hello Boris, On Tue, Feb 10, 2015 at 03:05:57PM +0100, Boris Brezillon wrote: > On Tue, 10 Feb 2015 14:40:45 +0100 > Sylvain Rochet wrote: > > + > > +static SIMPLE_DEV_PM_OPS(atmel_hlcdc_dc_drm_pm_ops, > > + atmel_hlcdc_dc_drm_suspend, atmel_hlcdc_dc_drm_resume); > > + > > Do we really

[PATCH 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-10 Thread Boris Brezillon
Hi Sylvain, On Tue, 10 Feb 2015 14:40:45 +0100 Sylvain Rochet wrote: > On suspend: switch off CRTC if not already suspended with runtime PM > > On resume: switch on CRTC if we were not already suspended from runtime > PM while suspending. > > Signed-off-by: Sylvain Rochet > --- > drivers/gpu

[PATCH 1/2] drm: atmel-hlcdc: Add PM suspend/resume support

2015-02-10 Thread Sylvain Rochet
On suspend: switch off CRTC if not already suspended with runtime PM On resume: switch on CRTC if we were not already suspended from runtime PM while suspending. Signed-off-by: Sylvain Rochet --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 60 1 file changed, 60