drm/tilcdc: Restore old dpms state in pm_resume()
authorJyri Sarha <jsarha@ti.com>
Tue, 14 Jun 2016 08:43:30 +0000 (11:43 +0300)
committerJyri Sarha <jsarha@ti.com>
Mon, 8 Aug 2016 20:04:48 +0000 (23:04 +0300)
commit8fe5616b20e5742bb5fee0e77dffe2fc76ac92a0
tree2d844f549f05617227929e765d590625787637cf
parent5c6c201ccbaf9d3901f829441d457293f7ca8ef4
drm/tilcdc: Restore old dpms state in pm_resume()

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(). Without this patch the display is left blanked after a
suspend/resume cycle.

Fixes commit 614b3cfeb8d2 ("drm/tilcdc: disable the lcd controller/dma
engine when suspend invoked")

Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c
drivers/gpu/drm/tilcdc/tilcdc_drv.h