[Intel-gfx] [PATCH] drm/i915: Do not rely on for loop caching the mask
Chris Wilson
chris at chris-wilson.co.uk
Thu Jul 25 13:15:30 UTC 2019
Quoting Tvrtko Ursulin (2019-07-25 13:50:56)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> for_each_engine_masked caches the engine mask but what does the caller
> know.
>
> Cache it explicitly for clarity and while at it correct the type to match.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Stealing all the small pleasures in life!
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list