drm/i915: Compact gen8_ring_sync
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Jun 2016 15:09:30 +0000 (16:09 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 30 Jun 2016 16:20:45 +0000 (17:20 +0100)
commitc38c651b39a642d5900e9c8122cfc9bff4343538
treef7145ef6c459c732b80e9984b91e27d13e4605ba
parent1b9e665064c6fad91f4265743555406f5804dbcb
drm/i915: Compact gen8_ring_sync

Store the semaphore offset in a temporary variable to avoid
having to get the VMA offset twice.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_ringbuffer.c