drm: omapdrm: Switch to the universal plane API
commitef6b0e0275387f79e6ad848d61dfcb1a4f962fc7
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 10 Jan 2015 22:11:18 +0000 (11 00:11 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 20 Mar 2015 12:30:17 +0000 (20 14:30 +0200)
tree5d6b2addfcf1f3c15ca08fd6687e1a1363a578c8
parent9c660b7ceb0f104c72c4857e9c3619819d387f1d
drm: omapdrm: Switch to the universal plane API

Remove the CRTC private planes by switching to the universal plane API.
This results in a merge of the CRTC private plane created by the driver
(omap_crtc->plane) and the CRTC primary plane created by the DRM core
(crtc->primary).

Reference counting of the framebuffers in the update plane operation is
thus simplified as no reference needs to be stored in the private plane
anymore.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_crtc.c
drivers/gpu/drm/omapdrm/omap_drv.c
drivers/gpu/drm/omapdrm/omap_drv.h
drivers/gpu/drm/omapdrm/omap_plane.c