[PULL] Universal plane support
Matt Roper
matthew.d.roper at intel.com
Tue Apr 1 17:49:34 PDT 2014
Hi,
Here's the latest iteration of the universal planes work, which I believe is
finally ready for merging. Aside from the minor driver patches to use the
new drm_for_each_legacy_plane() macro for plane loops, these should all have
an r-b from Rob Clark now.
Actual userspace-visibility is currently hidden behind a
drm.universal_planes module parameter so that we can do some experimental
testing of this before flipping it on universally.
Thanks,
Matt
The following changes since commit c32fc9c803f8ed90a7548810de48ca33a3020168:
Merge tag 'vmwgfx-next-2014-03-28' of git://people.freedesktop.org/~thomash/linux into drm-next (2014-03-31 11:29:38 +1000)
are available in the git repository at:
git://people.freedesktop.org/~robclark/linux primary-plane
for you to fetch changes up to 6efa1f2f5417e628572a75e667a9d8c63d21bd17:
drm/doc: Update plane documentation and add plane helper library (2014-04-01 20:18:29 -0400)
----------------------------------------------------------------
Matt Roper (13):
drm: Add support for multiple plane types (v2)
drm/exynos: Restrict plane loops to only operate on overlay planes (v2)
drm/i915: Restrict plane loops to only operate on overlay planes (v2)
drm/shmobile: Restrict plane loops to only operate on legacy planes
drm: Make drm_crtc_check_viewport non-static
drm: Add primary plane helpers (v3)
drm: Add drm_universal_plane_init()
drm: Add drm_crtc_init_with_planes() (v2)
drm/msm: Switch to universal plane API's
drm: Replace crtc fb with primary plane fb (v3)
drm: Remove unused drm_crtc->fb
drm: Allow userspace to ask for universal plane list (v2)
drm/doc: Update plane documentation and add plane helper library
Rob Clark (1):
drm: Add plane type property (v2)
Documentation/DocBook/drm.tmpl | 50 +++-
drivers/gpu/drm/Makefile | 3 +-
drivers/gpu/drm/armada/armada_crtc.c | 23 +-
drivers/gpu/drm/ast/ast_mode.c | 12 +-
drivers/gpu/drm/bochs/bochs_kms.c | 4 +-
drivers/gpu/drm/cirrus/cirrus_mode.c | 10 +-
drivers/gpu/drm/drm_crtc.c | 189 +++++++++++----
drivers/gpu/drm/drm_crtc_helper.c | 20 +-
drivers/gpu/drm/drm_fb_helper.c | 9 +-
drivers/gpu/drm/drm_ioctl.c | 7 +
drivers/gpu/drm/drm_plane_helper.c | 333 +++++++++++++++++++++++++++
drivers/gpu/drm/drm_stub.c | 5 +
drivers/gpu/drm/exynos/exynos_drm_crtc.c | 22 +-
drivers/gpu/drm/exynos/exynos_drm_encoder.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_display.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_hdmi.c | 2 +-
drivers/gpu/drm/gma500/cdv_intel_lvds.c | 2 +-
drivers/gpu/drm/gma500/gma_display.c | 16 +-
drivers/gpu/drm/gma500/mdfld_dsi_output.c | 2 +-
drivers/gpu/drm/gma500/mdfld_intel_display.c | 16 +-
drivers/gpu/drm/gma500/oaktrail_crtc.c | 12 +-
drivers/gpu/drm/gma500/psb_intel_display.c | 2 +-
drivers/gpu/drm/gma500/psb_intel_lvds.c | 2 +-
drivers/gpu/drm/gma500/psb_intel_sdvo.c | 2 +-
drivers/gpu/drm/i915/i915_debugfs.c | 4 +-
drivers/gpu/drm/i915/i915_irq.c | 4 +-
drivers/gpu/drm/i915/intel_display.c | 62 ++---
drivers/gpu/drm/i915/intel_dp.c | 4 +-
drivers/gpu/drm/i915/intel_overlay.c | 4 +-
drivers/gpu/drm/i915/intel_pm.c | 38 +--
drivers/gpu/drm/mgag200/mgag200_mode.c | 26 +--
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c | 33 +--
drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c | 8 +-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c | 27 ++-
drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c | 8 +-
drivers/gpu/drm/nouveau/dispnv04/crtc.c | 20 +-
drivers/gpu/drm/nouveau/dispnv04/dfp.c | 2 +-
drivers/gpu/drm/nouveau/nouveau_display.c | 8 +-
drivers/gpu/drm/nouveau/nv50_display.c | 17 +-
drivers/gpu/drm/omapdrm/omap_crtc.c | 13 +-
drivers/gpu/drm/omapdrm/omap_fb.c | 2 +-
drivers/gpu/drm/qxl/qxl_display.c | 10 +-
drivers/gpu/drm/radeon/atombios_crtc.c | 20 +-
drivers/gpu/drm/radeon/r100.c | 4 +-
drivers/gpu/drm/radeon/radeon_connectors.c | 2 +-
drivers/gpu/drm/radeon/radeon_device.c | 2 +-
drivers/gpu/drm/radeon/radeon_display.c | 4 +-
drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 16 +-
drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 10 +-
drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 16 +-
drivers/gpu/drm/tegra/dc.c | 16 +-
drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 8 +-
drivers/gpu/drm/udl/udl_modeset.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 14 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 8 +-
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 8 +-
drivers/staging/imx-drm/ipuv3-crtc.c | 6 +-
include/drm/drmP.h | 6 +
include/drm/drm_crtc.h | 50 +++-
include/drm/drm_plane_helper.h | 49 ++++
include/uapi/drm/drm.h | 8 +
62 files changed, 941 insertions(+), 347 deletions(-)
create mode 100644 drivers/gpu/drm/drm_plane_helper.c
create mode 100644 include/drm/drm_plane_helper.h
--
Matt Roper
Graphics Software Engineer
ISG Platform Enabling & Development
Intel Corporation
(916) 356-2795
More information about the dri-devel
mailing list