[Intel-gfx] [PATCH] drm/i915/selftests: Synchronize checking active status with retirement
Andi Shyti
andi.shyti at intel.com
Tue Oct 22 20:04:42 UTC 2019
Hi Chris,
On Tue, Oct 22, 2019 at 12:21:11PM +0100, Chris Wilson wrote:
> If retirement is running on another thread, we may inspect the status of
> the i915_active before its retirement callback is complete. As we expect
> it to be running synchronously, we can wait for any callback to complete
> by acquiring the i915_active.mutex.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> Maybe? It really shouldn't make a difference, the case where it would
> should not apply, surely...
Acked-by: Andi Shyti <andi.shyti at intel.com>
Andi
More information about the Intel-gfx
mailing list