public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/7] i915 atomic plane helper conversion
@ 2014-11-13 18:43 Matt Roper
  2014-11-13 18:43 ` [PATCH 1/7] drm/i915: Make intel_plane_state subclass drm_plane_state Matt Roper
                   ` (7 more replies)
  0 siblings, 8 replies; 29+ messages in thread
From: Matt Roper @ 2014-11-13 18:43 UTC (permalink / raw)
  To: intel-gfx; +Cc: dri-devel

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 29+ messages in thread
* [PATCH 0/7] i915 atomic plane helper conversion (v3)
@ 2014-12-09 19:53 Matt Roper
  2014-12-09 19:53 ` [PATCH 7/7] drm/i915: Drop unused position fields Matt Roper
  0 siblings, 1 reply; 29+ messages in thread
From: Matt Roper @ 2014-12-09 19:53 UTC (permalink / raw)
  To: intel-gfx

This series transitions the i915 driver over to using that atomic plane helpers
to handle plane updates and disables.  The previous display plane refactoring
series brought us in line with the plane helper design, so the main work here
is separating work that can sleep out of the main commit entrypoints, moving
the commit under vblank evasion (i.e., interrupts disabled), and then adding
the plane helper entrypoints, which are now just thin wrappers around the
internal functions we already have.

Previous version of this patchset:
        http://lists.freedesktop.org/archives/intel-gfx/2014-November/056272.html

Matt Roper (7):
  drm/plane-helper: Test for plane disable earlier
  drm/i915: Refactor work that can sleep out of commit (v3)
  drm/i915: Move vblank evasion to commit (v3)
  drm/i915: Clarify sprite plane function names (v2)
  drm/i915: Prepare for atomic plane helpers (v6)
  drm/i915: Switch plane handling to atomic helpers (v5)
  drm/i915: Drop unused position fields

 Documentation/DocBook/drm.tmpl            |   5 +
 drivers/gpu/drm/drm_plane_helper.c        |  16 +-
 drivers/gpu/drm/i915/Makefile             |   1 +
 drivers/gpu/drm/i915/intel_atomic_plane.c | 145 ++++++++++++
 drivers/gpu/drm/i915/intel_display.c      | 352 +++++++++++++++---------------
 drivers/gpu/drm/i915/intel_drv.h          |  49 ++++-
 drivers/gpu/drm/i915/intel_sprite.c       | 165 +++++---------
 7 files changed, 428 insertions(+), 305 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_atomic_plane.c

-- 
1.8.5.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2014-12-10  7:12 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13 18:43 [PATCH 0/7] i915 atomic plane helper conversion Matt Roper
2014-11-13 18:43 ` [PATCH 1/7] drm/i915: Make intel_plane_state subclass drm_plane_state Matt Roper
2014-11-13 21:25   ` Bob Paauwe
2014-11-13 18:43 ` [PATCH 2/7] drm/i915: Allow intel_plane_disable() to operate on all plane types Matt Roper
2014-11-13 19:11   ` Bob Paauwe
2014-11-13 19:12     ` Matt Roper
2014-11-13 19:44       ` Bob Paauwe
2014-11-13 19:23     ` Ville Syrjälä
2014-11-13 22:15       ` Matt Roper
2014-11-13 18:43 ` [PATCH 3/7] drm/i915: Clarify sprite plane function names Matt Roper
2014-11-13 21:26   ` [Intel-gfx] " Bob Paauwe
2014-11-13 18:43 ` [PATCH 4/7] drm/i915: Make intel_crtc_has_pending_flip() non-static Matt Roper
2014-11-13 21:27   ` Bob Paauwe
2014-11-13 18:43 ` [PATCH 5/7] drm/i915: Prepare for atomic plane helpers Matt Roper
2014-11-13 19:46   ` Bob Paauwe
2014-11-13 21:31     ` Matt Roper
2014-11-13 22:51   ` [PATCH 5/8] drm/i915: Prepare for atomic plane helpers (v2) Matt Roper
2014-11-14  1:23     ` Matt Roper
2014-11-14  7:48       ` Daniel Vetter
2014-11-13 18:43 ` [PATCH 6/7] drm/i915: Switch plane handling to atomic helpers Matt Roper
2014-11-13 21:28   ` Bob Paauwe
2014-11-13 22:52   ` [PATCH 6/8] drm/i915: Switch plane handling to atomic helpers (v2) Matt Roper
2014-11-14  9:39   ` [Intel-gfx] [PATCH 6/7] drm/i915: Switch plane handling to atomic helpers Ville Syrjälä
2014-11-13 18:43 ` [PATCH 7/7] drm/i915: Drop unused position fields Matt Roper
2014-11-13 21:28   ` Bob Paauwe
2014-11-14  7:28   ` shuang.he
2014-11-13 22:53 ` [PATCH 8/8] drm/i915: Integrate kerneldoc for atomic plane helpers Matt Roper
  -- strict thread matches above, loose matches on Subject: below --
2014-12-09 19:53 [PATCH 0/7] i915 atomic plane helper conversion (v3) Matt Roper
2014-12-09 19:53 ` [PATCH 7/7] drm/i915: Drop unused position fields Matt Roper
2014-12-10  7:12   ` shuang.he

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox