drm/i915: Wait for object idle without locks in atomic_commit, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 18 Aug 2015 11:40:06 +0000 (13:40 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 2 Nov 2015 14:50:31 +0000 (15:50 +0100)
commit7580d774b0466fff28aab19db4f36dac37a3d1a9
tree9b5024b8be800450c9bd1f26d9691b165faba675
parentf935675f0c07f87da2facc4c144d511e6da48240
drm/i915: Wait for object idle without locks in atomic_commit, v2.

Make pinning and waiting a separate step, and wait for object idle
without struct_mutex held.

Changes since v1:
- Do not wait when a reset is in progress.
- Remove call to i915_gem_object_wait_rendering for
  intel_overlay_do_put_image (Chris Wilson)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_atomic_plane.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbdev.c
drivers/gpu/drm/i915/intel_overlay.c