All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFCv3 00/14] Unified plane support
@ 2014-03-19  0:22 Matt Roper
  2014-03-19  0:22 ` [RFCv3 01/14] SQUASH! drm/i915: Do not dereference pointers from ring buffer in evict event Matt Roper
                   ` (14 more replies)
  0 siblings, 15 replies; 46+ messages in thread
From: Matt Roper @ 2014-03-19  0:22 UTC (permalink / raw)
  To: dri-devel; +Cc: Intel Graphics Development

Previous revision and explanation of series:
   http://lists.freedesktop.org/archives/dri-devel/2014-March/055222.html

Main changes since last pass:
 * Added cursor plane support on i915.  Unfortunately it isn't possible to
   create nice generic helper functions that make use of the legacy API's for
   cursor planes as was done for primary planes; the legacy cursor ioctl's take
   a driver handle directly (e.g., from GEM) rather than a DRM framebuffer.
   With the unified plane support, we receive a DRM framebuffer via the SetPlane
   API, but have no way of turning that into a driver handle that can be passed
   to the legacy interfaces.
 * Updated msm and omapdrm to use their existing "private" planes as primary
   rather than using the primary helper functions.  (thanks Rob Clark!)
 * Fixed several s/crtc->fb/crtc->primary->fb/ conversions that were missed
   on the first pass (or new instances that popped up due to rebasing to
   the latest code).

I believe some of the next steps are:
 * Create some new read-only plane properties that describe in more detail the
   capabilities & limitations of various planes (max/min size, scaling
   capabilities, tiling restrictions, etc.) so that generic userspace
   compositors can make intelligent decisions about how best to use the various
   planes on the plane list.  If anyone has strong feelings on what these
   properties should look like, this would be a good time to start the
   discussion.
 * Update cursor support for the rest of the non-i915 drivers.  I believe the
   list of drivers that currently support cursors are: armada, ast, gma500,
   mgag200, msm, nouveau, radeon, vmwgfx, and qxl.
 * Update imx-drm's CRTC creation to use its existing private primary plane
   rather than using the primary helper function to create one.  
 * Provide patches for weston & xf86-video-modesetting that make use of the
   unified plane interface to make real-world testing of this patchset a
   bit easier.

Note that the first patch here is simply a build fix for current breakage of
the drm-intel-nightly branch of the drm-intel repo.


Matt Roper (14):
  SQUASH! drm/i915: Do not dereference pointers from ring buffer in
    evict event
  drm: Add support for multiple plane types
  drm: Add primary plane helpers
  drm/exynos: Restrict plane loops to only operate on overlay planes
  drm/i915: Restrict plane loops to only operate on overlay planes
  drm: Add plane type property
  drm: Specify primary plane at CRTC initialization (v2)
  drm: Replace crtc fb with primary plane fb (v2)
  drm: Allow userspace to ask for full plane list (universal planes)
  drm/i915: Rename similar plane functions to avoid confusion
  drm/i915: Intel-specific primary plane handling
  drm: Specify cursor plane at CRTC initialization
  drm/i915: Split cursor update code from cursor ioctl handling
  drm/i915: Add cursor handlers and create cursor at crtc init

 drivers/gpu/drm/armada/armada_crtc.c         |   4 +-
 drivers/gpu/drm/armada/armada_overlay.c      |   3 +-
 drivers/gpu/drm/ast/ast_mode.c               |  16 +-
 drivers/gpu/drm/bochs/bochs_kms.c            |   8 +-
 drivers/gpu/drm/cirrus/cirrus_mode.c         |  15 +-
 drivers/gpu/drm/drm_crtc.c                   | 441 +++++++++++++++----
 drivers/gpu/drm/drm_crtc_helper.c            |  21 +-
 drivers/gpu/drm/drm_fb_helper.c              |   9 +-
 drivers/gpu/drm/drm_ioctl.c                  |   5 +
 drivers/gpu/drm/exynos/exynos_drm_crtc.c     |   4 +-
 drivers/gpu/drm/exynos/exynos_drm_encoder.c  |   6 +
 drivers/gpu/drm/exynos/exynos_drm_plane.c    |   4 +-
 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      |   3 +-
 drivers/gpu/drm/gma500/cdv_intel_lvds.c      |   2 +-
 drivers/gpu/drm/gma500/gma_display.c         |  17 +-
 drivers/gpu/drm/gma500/mdfld_dsi_output.c    |   2 +-
 drivers/gpu/drm/gma500/mdfld_intel_display.c |  17 +-
 drivers/gpu/drm/gma500/oaktrail_crtc.c       |  13 +-
 drivers/gpu/drm/gma500/psb_intel_display.c   |   7 +-
 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_drv.h              |   5 +-
 drivers/gpu/drm/i915/i915_irq.c              |   4 +-
 drivers/gpu/drm/i915/i915_trace.h            |   2 +-
 drivers/gpu/drm/i915/intel_display.c         | 623 ++++++++++++++++++++-------
 drivers/gpu/drm/i915/intel_dp.c              |   5 +-
 drivers/gpu/drm/i915/intel_drv.h             |   3 +-
 drivers/gpu/drm/i915/intel_fbdev.c           |   6 +-
 drivers/gpu/drm/i915/intel_overlay.c         |   4 +-
 drivers/gpu/drm/i915/intel_pm.c              |  39 +-
 drivers/gpu/drm/i915/intel_sprite.c          |   2 +-
 drivers/gpu/drm/mgag200/mgag200_mode.c       |  33 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c     |  33 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c    |   4 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c     |  27 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c    |   4 +-
 drivers/gpu/drm/nouveau/dispnv04/crtc.c      |  24 +-
 drivers/gpu/drm/nouveau/dispnv04/dfp.c       |   2 +-
 drivers/gpu/drm/nouveau/dispnv04/overlay.c   |   4 +-
 drivers/gpu/drm/nouveau/nouveau_display.c    |   8 +-
 drivers/gpu/drm/nouveau/nv50_display.c       |  21 +-
 drivers/gpu/drm/omapdrm/omap_crtc.c          |   2 +-
 drivers/gpu/drm/omapdrm/omap_plane.c         |   4 +-
 drivers/gpu/drm/qxl/qxl_display.c            |  15 +-
 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       |   3 +-
 drivers/gpu/drm/radeon/radeon_display.c      |   9 +-
 drivers/gpu/drm/radeon/radeon_legacy_crtc.c  |  16 +-
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c       |   4 +-
 drivers/gpu/drm/rcar-du/rcar_du_plane.c      |   3 +-
 drivers/gpu/drm/shmobile/shmob_drm_crtc.c    |   3 +-
 drivers/gpu/drm/shmobile/shmob_drm_plane.c   |   2 +-
 drivers/gpu/drm/tegra/dc.c                   |   7 +-
 drivers/gpu/drm/tilcdc/tilcdc_crtc.c         |   4 +-
 drivers/gpu/drm/udl/udl_modeset.c            |   6 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c          |  14 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c          |  12 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c         |  12 +-
 drivers/staging/imx-drm/imx-drm-core.c       |   4 +-
 drivers/staging/imx-drm/ipuv3-plane.c        |   4 +-
 include/drm/drmP.h                           |   5 +
 include/drm/drm_crtc.h                       | 115 ++++-
 include/uapi/drm/drm.h                       |   8 +
 68 files changed, 1252 insertions(+), 488 deletions(-)

Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
-- 
1.8.5.1

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2014-04-07 20:05 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19  0:22 [RFCv3 00/14] Unified plane support Matt Roper
2014-03-19  0:22 ` [RFCv3 01/14] SQUASH! drm/i915: Do not dereference pointers from ring buffer in evict event Matt Roper
2014-03-19  0:22 ` [RFCv3 02/14] drm: Add support for multiple plane types Matt Roper
2014-03-19  0:22 ` [RFCv3 03/14] drm: Add primary plane helpers Matt Roper
2014-03-19 11:28   ` Daniel Vetter
2014-03-19 12:56     ` Rob Clark
2014-03-19 18:15     ` Matt Roper
2014-03-19 19:29       ` Daniel Vetter
2014-03-19 11:50   ` Daniel Vetter
2014-03-19 12:24   ` Daniel Vetter
2014-03-19 23:01     ` Matt Roper
2014-03-20 12:39       ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 04/14] drm/exynos: Restrict plane loops to only operate on overlay planes Matt Roper
2014-03-19 11:51   ` Daniel Vetter
2014-03-19 14:26     ` Daniel Kurtz
2014-03-19 19:31       ` Daniel Vetter
2014-03-20  1:56         ` Daniel Kurtz
2014-03-20 15:35           ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 05/14] drm/i915: " Matt Roper
2014-03-19  0:22 ` [RFCv3 06/14] drm: Add plane type property Matt Roper
2014-03-19 11:31   ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 07/14] drm: Specify primary plane at CRTC initialization (v2) Matt Roper
2014-03-19 11:41   ` Daniel Vetter
2014-03-20  5:43   ` Inki Dae
2014-03-20 15:38     ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 08/14] drm: Replace crtc fb with primary plane fb (v2) Matt Roper
2014-03-19 11:57   ` Daniel Vetter
2014-03-25  1:20     ` Matt Roper
2014-03-25 10:32       ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 09/14] drm: Allow userspace to ask for full plane list (universal planes) Matt Roper
2014-03-19 14:27   ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 10/14] drm/i915: Rename similar plane functions to avoid confusion Matt Roper
2014-03-19 12:05   ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 11/14] drm/i915: Intel-specific primary plane handling Matt Roper
2014-03-19 12:11   ` [Intel-gfx] " Daniel Vetter
2014-03-19 14:37     ` Daniel Vetter
2014-03-19  0:22 ` [RFCv3 12/14] drm: Specify cursor plane at CRTC initialization Matt Roper
2014-03-28 21:04   ` Daniel Vetter
2014-04-07 10:05     ` Thierry Reding
2014-04-07 17:23       ` Rob Clark
2014-04-07 20:03         ` Daniel Vetter
2014-04-07 20:05           ` Rob Clark
2014-03-19  0:22 ` [RFCv3 13/14] drm/i915: Split cursor update code from cursor ioctl handling Matt Roper
2014-03-19  8:03   ` Chris Wilson
2014-03-19  0:22 ` [RFCv3 14/14] drm/i915: Add cursor handlers and create cursor at crtc init Matt Roper
2014-03-19  0:37 ` [RFCv3 00/14] Unified plane support Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.