commit | 3e9605018ab3e333d51cc90fccfde2031886763b | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Nov 27 16:22:54 2012 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Nov 29 11:43:53 2012 +0100 |
tree | 101b6600bbe9977dc0f9d296329d03158eba1075 | |
parent | b662a0663230853fccdfceeda5db031f5d4b657c [diff] |
drm/i915: Rearrange code to only have a single method for waiting upon the ring Replace the wait for the ring to be clear with the more common wait for the ring to be idle. The principle advantage is one less exported intel_ring_wait function, and the removal of a hardcoded value. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>