drm: omapdrm: inline omap_plane_setup into update/disable
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 29 May 2015 08:05:37 +0000 (11:05 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 12 Jun 2015 19:52:51 +0000 (22:52 +0300)
commit11ffd031e3e5b9cc0232aad549bb08eb14612f43
treeb4856435551a0fe76a5814e9a138d29fec0e96cc
parentd9157dfd045f27f376edeab164203f1a68ba3ba4
drm: omapdrm: inline omap_plane_setup into update/disable

At the moment we have omap_plane_setup() function which handles both
enabling (and configuring) and disabling the plane. With atomic
modesetting we have separate hooks for plane enable/config and disable.

This patch moves the code from omap_plane_setup() to
omap_plane_atomic_update() and omap_plane_atomic_disable().

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