drm/i915: consolidate ring->sync-to functions
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Apr 2012 20:12:52 +0000 (22:12 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Apr 2012 10:50:41 +0000 (12:50 +0200)
commit686cb5f9f5dc7db150c9f4e49cc0d45ef952450b
treee2c3c67d0d038dafeeb22a946201b05e98a88022
parentb4178f8aaf84ae59d9b2a17a4a21aa19499f577a
drm/i915: consolidate ring->sync-to functions

The waiter is always the ring itself (otherwise we'd have a decent
snafu in a callsite), so we can unify this easily.

Also give it the usual gen6_ prefix, in case anyone is foolish enough to
implement hw semaphores for gen5.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c