[Intel-gfx] [PATCH i-g-t v2 2/2] tests/gem_exec_schedule: Add test for resetting preemptive batch

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


On Mon, Dec 04, 2017 at 03:45:41PM -0800, Antonio Argenziano wrote:
> This patch adds a test that will trigger a preemption of a low priority
> batch by a 'bad' batch buffer which will hang. The test aims at making
> sure that a hanging high priority batch will not disrupt the submission
> flow of low priority contexts.
> 
> -v2:
> 	- Rename subtest (Chris)
> 	- Use igt_hang_ctx to hang ring (Chris)
> 	- Add comment on execution order checks (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>

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


More information about the Intel-gfx mailing list