[Intel-gfx] [PATCH 1/3] drm/i915: Check for error before calling cmpxchg()
Matthew Auld
matthew.william.auld at gmail.com
Fri Dec 6 18:54:49 UTC 2019
On Fri, 6 Dec 2019 at 16:04, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Only do the locked compare of the existing fence->error if we actually
> need to set an error. As we tend to call i915_sw_fence_set_error_once()
> unconditionally, it saves on typing to put the common has-error check
> into the inline.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
For the series:
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-gfx
mailing list