[Intel-gfx] [PATCH 10/13] drm/i915: Compact Gen8 semaphore initialization

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


On Wed, Jun 29, 2016 at 04:09:29PM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Replace the macro initializer with a programatic loop which
> results in smaller code and hopefully just as clear.
> 
> v2: Rebase.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

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

We could just trivially compute these in the semaphore vfuncs!
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list