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)
commitdc415ff97d6b8f21cc6d264962f3a857a8d44650
tree411cf00bd18ea38d52f58a1db867cef8b89e8424
parentc103d1cfb3543f61ec44d4d15a84c888db84794d
drm: Add drm_universal_plane_init()

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