]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commite27dde3e1c5117149c50b89d688528e279756113
treef8af6af4b70125256c657317b6192a7183ec8157
parentc32fc9c803f8ed90a7548810de48ca33a3020168
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