Universal plane preparation patches
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest14 patches 0 repliesNew
- v413 patches 21 repliesSuperseded
- v2 RFC10 patches 5 repliesSuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | drm: Add support for multiple plane types (v2)drivers/ drivers/ include/ | +41 | 0 replies | |
| 2/14 | drm/exynos: Restrict plane loops to only operate on overlay planes (v2)drivers/ drivers/ | +2 | 0 replies | |
| 3/14 | drm/i915: Restrict plane loops to only operate on overlay planes (v2)drivers/ drivers/ | +9 | 0 replies | |
| 4/14 | drm/shmobile: Restrict plane loops to only operate on legacy planesdrivers/ | +1 | 0 replies | |
| 5/14 | drm: Make drm_crtc_check_viewport non-staticdrivers/ include/ | +17 | 0 replies | |
| 6/14 | drm: Add primary plane helpers (v3)drivers/ drivers/ include/ | +363 | 0 replies | |
| 7/14 | drm: Add drm_universal_plane_init()drivers/ include/ | +63 | 0 replies | |
| 8/14 | drm: Add plane type property (v2)drivers/ include/ | +24 | 0 replies | |
| 9/14 | drm: Add drm_crtc_init_with_planes() (v2)drivers/ drivers/ include/ | +47 | 0 replies | |
| 10/14 | drm/msm: Switch to universal plane API'sdrivers/ drivers/ drivers/ +1 more | +18 | 0 replies | |
| 11/14 | drm: Replace crtc fb with primary plane fb (v3)drivers/ drivers/ drivers/ +48 more | +329 | 0 replies | |
| 12/14 | drm: Remove unused drm_crtc->fbinclude/ | +0 | 0 replies | |
| 13/14 | drm: Allow userspace to ask for universal plane list (v2)drivers/ drivers/ drivers/ +2 more | +41 | 0 replies | |
| 14/14 | drm/doc: Update plane documentation and add plane helper libraryDocumentation/ | +43 | 0 replies |
Reviews trailers per patch
1 of 14 patches has a Reviewed-by or Acked-by.
| Patch | Laurent Pinchart |
|---|---|
| 1/14 | |
| 2/14 | |
| 3/14 | |
| 4/14 | A-b |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv5 00/14] Universal plane preparation patches
Previous series revisions & explanation at [1], [2], [3], and [4]
Just a few minor changes in this revision based on Daniel's feedback; I think this should be pretty close to being ready for merging:
* Docbook integration for primary plane helpers and new functions (and a few minor updates to existing plane documentation).
* Dropped the max width/height property patch for now; actual hardware limitations can be more complex than a constant min/max and how to address this is still being discussed on the mailing list.
* drm_crtc_init() moves to the helper library to ensure nothing in the core depends on helpers.
* The cursor parameter to drm_crtc_init_with_planes() has been made a void* for now until we actually start adding cursor support.
* The client capability bit to enable userspace visibility of universal planes is back, but hidden behind a drm.universal_planes module parameter.
[1] http://lists.freedesktop.org/archives/dri-devel/2014-March/056424.html
[2] http://lists.freedesktop.org/archives/dri-devel/2014-March/055855.html
[3] http://lists.freedesktop.org/archives/dri-devel/2014-March/055222.html
[4] http://lists.freedesktop.org/archives/dri-devel/2014-February/054719.html
Matt Roper (14):
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 plane type property (v2)
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
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 | 148 ++++++------ drivers/gpu/drm/i915/intel_dp.c | 4 +- drivers/gpu/drm/i915/intel_fbdev.c | 6 +- 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 | 10 +- 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 + 63 files changed, 985 insertions(+), 392 deletions(-) create mode 100644 drivers/gpu/drm/drm_plane_helper.c create mode 100644 include/drm/drm_plane_helper.h
Signature · 1 line
1.8.5.1