[Intel-gfx] [PATCH 2/7] drm/i915: Consolidate get_fence with pin_fence

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Oct 9 10:38:34 UTC 2017


On Mon, 2017-10-09 at 09:43 +0100, Chris Wilson wrote:
> Following the pattern now used for obj->mm.pages, use just pin_fence and
> unpin_fence to control access to the fence registers. I.e. instead of
> calling get_fence(); pin_fence(), we now just need to call pin_fence().
> This will make it easier to reduce the locking requirements around
> fence registers.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list