[PATCH 1/5] drm/tilcdc: Restore old dmps state in pm_resume()

Daniel Vetter daniel at ffwll.ch
Tue Jun 14 16:22:43 UTC 2016


On Tue, Jun 14, 2016 at 02:48:44PM +0300, Tomi Valkeinen wrote:
> On 14/06/16 14:45, Jyri Sarha wrote:
> > Restore old dpms state in pm_resume(). The dpms is turned off in
> > pm_suspend() and it should be restored to its original state in
> > pm_resume().
> > 
> > Fixes commit 614b3cfeb8d2 ("drm/tilcdc: disable the lcd controller/dma
> > engine when suspend invoked")
> 
> "dmps" in the subject.
> 
> It would be good to mention what the problem seen is, what does this fix.

With atomic you get this all for free, using
drm_atomic_helper_suspend/resume ...
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list