[Intel-gfx] [PATCH] drm/i915: Use atomic for dev_priv->mm.bsd_engine_dispatch_index
Chris Wilson
chris at chris-wilson.co.uk
Thu Sep 1 12:08:52 UTC 2016
On Thu, Sep 01, 2016 at 02:58:21PM +0300, Joonas Lahtinen wrote:
> Use atomic type and operands for dev_priv->mm.bsd_engine_dispatch_index
> to avoid one struct_mutex locking scenario.
>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Imre Deak <imre.deak at intel.com>
> Cc: Zhao Yakui <yakui.zhao at intel.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Signed-off-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Looks fine, it's one that I've simply been too lazy to worry about.
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