public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Interruptible pinning for atomic commit.
@ 2015-09-14 11:18 Maarten Lankhorst
  2015-09-14 11:18 ` [RFC PATCH 1/3] drm/i915: Make wait_for_flips interruptible Maarten Lankhorst
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Maarten Lankhorst @ 2015-09-14 11:18 UTC (permalink / raw)
  To: intel-gfx

This patch series depends on
  "[PATCH 2/2] drm/i915: Make plane fb tracking work correctly."
and also on the series
  "[PATCH 0/2] Preserve framebuffer during rmfb / drm fd close.".

With the changes to DPMS to allow -EAGAIN semantics and to drm/core to
preserve framebuffers on fd close there are no more places where
uninterruptible waits are required. Copying the wait request to the
plane state also allows us to acquire struct_mutex only once in the
success case, and do the waiting unlocked.

Waiting for object idle for modeset disable is still done with lock
held, but that's not a performance sensitive path.

Maarten Lankhorst (3):
  drm/i915: Make wait_for_flips interruptible.
  drm/i915: Change locking for struct_mutex.
  drm/i915: Wait for object idle without locks in atomic_commit.

 drivers/gpu/drm/i915/i915_drv.h           |   2 -
 drivers/gpu/drm/i915/i915_gem.c           |   6 -
 drivers/gpu/drm/i915/intel_atomic.c       |   2 -
 drivers/gpu/drm/i915/intel_atomic_plane.c |   2 +
 drivers/gpu/drm/i915/intel_display.c      | 204 ++++++++++++++++++++----------
 drivers/gpu/drm/i915/intel_drv.h          |   9 +-
 drivers/gpu/drm/i915/intel_fbdev.c        |   2 +-
 drivers/gpu/drm/i915/intel_overlay.c      |   6 +-
 8 files changed, 151 insertions(+), 82 deletions(-)

-- 
2.1.0

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

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

end of thread, other threads:[~2015-09-14 11:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14 11:18 [RFC PATCH 0/3] Interruptible pinning for atomic commit Maarten Lankhorst
2015-09-14 11:18 ` [RFC PATCH 1/3] drm/i915: Make wait_for_flips interruptible Maarten Lankhorst
2015-09-14 11:18 ` [RFC PATCH 2/3] drm/i915: Change locking for struct_mutex Maarten Lankhorst
2015-09-14 11:18 ` [RFC PATCH 3/3] drm/i915: Wait for object idle without locks in atomic_commit Maarten Lankhorst
2015-09-14 11:20 ` [PATCH 0.5/2] drm/i915: Make prepare_plane_fb fully interruptible Maarten Lankhorst

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