OSDN Git Service

drm/msm: Switch to universal plane API's
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 1 Apr 2014 22:22:39 +0000 (15:22 -0700)
committerRob Clark <robdclark@gmail.com>
Wed, 2 Apr 2014 00:18:27 +0000 (20:18 -0400)
commit2d82d188b2cb11b6b221eb84dda2344ef3cd1bb4
tree7e86e737ecdbd6da59a6db94cf2492ad0959cbbc
parente13161af80c185ecd8dc4641d0f5df58f9e3e0af
drm/msm: Switch to universal plane API's

Use drm_universal_plane_init() and drm_crtc_init_with_planes() rather
than the legacy drm_plane_init() / drm_crtc_init().  This will ensure
that the proper primary plane is registered with the DRM (and eventually
exposed to userspace in future patches).

Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c