drm: omapdrm: Simplify DSS power management
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 27 May 2015 23:09:56 +0000 (02:09 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:50 +0000 (22:52 +0300)
commit69fb7c855c7bd4b4bc3fd6bec0885236365d5261
tree244b02e1f55a50e255f086ff82ca4ff381026870
parentfd93a252da41e40e2b6383122eb6009714faa51c
drm: omapdrm: Simplify DSS power management

Instead of sprinkling dispc_runtime_get() and dispc_runtime_put() calls
in various CRTC operations, move all power management code to the atomic
commit function.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_crtc.c
drivers/gpu/drm/omapdrm/omap_drv.c