mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/gem_ringfill: add interruptible mode
Should be useful to test intel_ring_begin restart behaviour a bit. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
660a7ffdba
commit
21e9422b01
@ -226,6 +226,23 @@ igt_main
|
||||
check_ring(bufmgr, batch, "render", copy);
|
||||
}
|
||||
|
||||
igt_fork_signal_helper();
|
||||
igt_subtest("blitter-interruptible")
|
||||
check_ring(bufmgr, batch, "blt", blt_copy);
|
||||
|
||||
/* Strictly only required on architectures with a separate BLT ring,
|
||||
* but lets stress everybody.
|
||||
*/
|
||||
igt_subtest("render-interruptible") {
|
||||
igt_render_copyfunc_t copy;
|
||||
|
||||
copy = igt_get_render_copyfunc(batch->devid);
|
||||
igt_require(copy);
|
||||
|
||||
check_ring(bufmgr, batch, "render", copy);
|
||||
}
|
||||
igt_stop_signal_helper();
|
||||
|
||||
igt_fixture {
|
||||
intel_batchbuffer_free(batch);
|
||||
drm_intel_bufmgr_destroy(bufmgr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user