[Intel-gfx] [PATCH 0/5] drm/i915: Interruptible framebuffer pinning.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Wed Sep 23 04:27:07 PDT 2015


With the changes to drm/core to preserve framebuffers there is no more barrier for allowing
pin to fail with -ERESTARTSYS. Modesetting while the gpu died should still be allowed,
so any -EIO during pin stage will be eaten.

Some display related waits that were previously uninterruptible can now be interrupted,
and will be done before committing the new state. This will allow abort to work correctly.

This patch series requires topic/drm-misc to be applied, but can also be applied to that branch directly.

Maarten Lankhorst (5):
  drm/i915: Make plane fb tracking work correctly, v2.
  drm/i915: Make prepare_plane_fb fully interruptible.
  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      | 252 +++++++++++++++++++-----------
 drivers/gpu/drm/i915/intel_drv.h          |  10 +-
 drivers/gpu/drm/i915/intel_fbdev.c        |   2 +-
 drivers/gpu/drm/i915/intel_overlay.c      |   6 +-
 8 files changed, 169 insertions(+), 113 deletions(-)

-- 
2.1.0



More information about the Intel-gfx mailing list