Re: [PATCH 1/3] drm/i915: Check for error before calling cmpxchg()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 6 Dec 2019 at 16:04, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>

For the series:
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux