[Intel-gfx] [PATCH v2] drm/i915: Do not inline forcewake taking in mmio accessors
Chris Wilson
chris at chris-wilson.co.uk
Wed Sep 28 19:10:03 UTC 2016
On Wed, Sep 28, 2016 at 04:23:50PM +0100, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> Once we know we need to take new forcewakes, that being
> a slow operation, it does not make sense to inline that
> code into every mmio accessor.
>
> Move it to a separate function and save some code.
>
> v2: Be explicit with noinline and remove stale comment.
> (Chris Wilson)
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list