]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: Inline ringbuffer_emit()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Aug 2010 14:18:14 +0000 (15:18 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 9 Aug 2010 18:24:31 +0000 (11:24 -0700)
commite898cd221db65273bfc102fa20e4e228e0b8c7e1
tree6b52e7221bae61610f3f6d4103e182edc3c6b1a3
parentd97ed3396399126cfca1e12e2b2e2d8bbc4924e5
drm/i915: Inline ringbuffer_emit()

As the function has been reduced to a store plus increment, the body is
now smaller than the call so inline it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h