[Intel-gfx] [PATCH i-g-t v2 1/2] tests/gem_exec_schedule: Add reset on failed preemption test.

Michał Winiarski michal.winiarski at intel.com
Fri Dec 8 21:57:52 UTC 2017


On Mon, Dec 04, 2017 at 03:45:40PM -0800, Antonio Argenziano wrote:
> This patch adds a test where a low priority batch is going to be
> declared hung while a preemption is pending. The test wants to verify
> that a 'hanging' low priority batch will not disrupt the execution of a high
> priority context and that the driver does due diligence in managing a
> reset while a preemption is pending.
> 
> -v2:
> 	- Use igt_hang_ctx to hang the engine (Chris)
> 	- Enable/Process engine reset using IGT libs (Chris)
> 	- Create new subtest_group for the test (Chris)
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Michal Winiarski <michal.winiarski at intel.com>
> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

-Michał

> ---
>  tests/gem_exec_schedule.c | 28 +++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)


More information about the Intel-gfx mailing list