]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18a54b72cdedd7af83f7bd47594416f8cc456c43
tree7e86e737ecdbd6da59a6db94cf2492ad0959cbbc
parentf758a46bd16bbc6ca3c2ecad2fa6de1c87b0119c
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