drm/tilcdc: cleanup runtime PM handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 19 Oct 2015 09:30:03 +0000 (12:30 +0300)
committerJyri Sarha <jsarha@ti.com>
Thu, 25 Feb 2016 14:39:36 +0000 (16:39 +0200)
commit65734a262350a746100dcfd85a81f7dc1b69dd10
treeece0c53ee91128a8237653f2a17686ea9ef749f7
parent29ddd6e171abae990a881b9e221359f13c546369
drm/tilcdc: cleanup runtime PM handling

Cleanup runtime PM handling. Before the patch the usage of pm_runtime
calls was inconsistent and hard to follow. After the update the
pm_runtime calls are removed from set_scanout() and called around
major operations that access the HW. After the patch the DPMS code does
not have pm_runtime_forbid/allow calls any more and
pm_runtime_irq_safe() is not set anymore.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
[Added description to the patch]
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c