Re: [PATCH] drm/i915/selftests: Synchronize checking active status with retirement

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

 



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@xxxxxxxxxxxxxxxxxx>
> ---
> Maybe? It really shouldn't make a difference, the case where it would
> should not apply, surely...

Acked-by: Andi Shyti <andi.shyti@xxxxxxxxx>

Andi
_______________________________________________
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