]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b601986a520082d9ecd6e823bf4486c32d8634e
treeb4856435551a0fe76a5814e9a138d29fec0e96cc
parent370e1468ef6fa33973951c257527d0ca8396f037
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