[Intel-gfx] [PATCH v2] drm/i915/selftests: wait for active idle event in i915_active_unlock_wait
Andi Shyti
andi.shyti at linux.intel.com
Wed Dec 6 15:56:38 UTC 2023
Hi Andrzej,
On Tue, Dec 05, 2023 at 02:09:37PM +0100, Andrzej Hajda wrote:
> After i915_active_unlock_wait i915_active can be still non-idle due
> to barrier async handling in signal_irq_work. As a result one can observe
> following errors:
> bcs0: heartbeat pulse did not flush idle tasks
> *ERROR* pulse active pulse_active [i915]:pulse_retire [i915]
> *ERROR* pulse count: 0
> *ERROR* pulse preallocated barriers? no
>
> To prevent it let's wait explicitly for idleness.
>
> v2: wait only in live_idle tests
>
> Signed-off-by: Andrzej Hajda <andrzej.hajda at intel.com>
Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
Andi
More information about the Intel-gfx
mailing list