drm: Add drm_universal_plane_init()
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 1 Apr 2014 22:22:36 +0000 (15:22 -0700)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Apr 2014 00:18:08 +0000 (20:18 -0400)
Add a new plane initialization interface for universal plane support
that allows a specific plane type (primary, cursor, or overlay) to
be specified.

drm_plane_init() remains as a compatibility API to reduce churn in
existing drivers.  The 'bool priv' parameter has been changed to
'bool is_primary' under the assumption that all existing uses of
private planes were representing primary planes.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h

Simple merge
Simple merge