]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add support for multiple plane types (v2)
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 1 Apr 2014 22:22:30 +0000 (15:22 -0700)
committerRob Clark <robdclark@gmail.com>
Tue, 1 Apr 2014 23:13:07 +0000 (19:13 -0400)
commit8a07b48fa957e778451e3e6d9731b7e523b47476
treef8af6af4b70125256c657317b6192a7183ec8157
parentfb0662e0bb88a6e0dc53cf50d8ae49502c7d856a
drm: Add support for multiple plane types (v2)

The DRM core currently only tracks "overlay"-style planes.  Start
refactoring the plane handling to allow other plane types (primary and
cursor) to also be placed on the DRM plane list.

v2: Add drm_for_each_legacy_plane() iterator to smooth transition
    of drivers with plane loops.

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