drm/i915: Do not inline forcewake taking in mmio accessors
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@intel.com>
Reviewed-by:
Chris Wilson <chris@chris-wilson.co.uk>
Loading
Please sign in to comment