[PATCH 0/7] i915 atomic plane helper conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series takes another step along the path to atomic modeset / nuclear
pageflip by transitioning the i915 driver to the new atomic plane helpers
provided by Daniel Vetter in:

  http://lists.freedesktop.org/archives/dri-devel/2014-November/071623.html

Previous work by Gustavo Padovan had already split most of the i915 plane
internals into separate prepare/check/commit steps, so a lot of the heavy
lifting was already done.  This patch series sets up the hooks expected by the
atomic plane helpers, replaces the existing .update_plane() and
.disable_plane() entrypoints with the helpers, and does some general cleanup.
Patches #5 and #6 are the meat here; the other five patches are minor
refactoring and cleanup work.

I've tested this series on IVB with the plane-related i-g-t tests and some very
casual X usage.

Matt Roper (7):
  drm/i915: Make intel_plane_state subclass drm_plane_state
  drm/i915: Allow intel_plane_disable() to operate on all plane types
  drm/i915: Clarify sprite plane function names
  drm/i915: Make intel_crtc_has_pending_flip() non-static
  drm/i915: Prepare for atomic plane helpers
  drm/i915: Switch plane handling to atomic helpers
  drm/i915: Drop unused position fields

 drivers/gpu/drm/i915/Makefile        |   1 +
 drivers/gpu/drm/i915/intel_atomic.c  | 217 ++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_display.c | 344 +++++++++--------------------------
 drivers/gpu/drm/i915/intel_drv.h     |  28 ++-
 drivers/gpu/drm/i915/intel_sprite.c  | 170 +++--------------
 5 files changed, 351 insertions(+), 409 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_atomic.c

-- 
1.8.5.1

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux