[Intel-gfx] [PATCH 11/13] drm/i915: Compact gen8_ring_sync

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 29 15:33:07 UTC 2016


On Wed, Jun 29, 2016 at 04:09:30PM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Store the semaphore offset in a temporary variable to avoid
> having to get the VMA offset twice.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

The lookup will be gone very soon, and interesting, the offset can only
be 32bits (since we know this code will not run on any future gen that
may have more than 4GiB GGTT).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list