mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-20 22:36:24 +00:00
gem_concurrent_all: Add a "quick" tiny pass
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
1c61c0f750
commit
571b876544
@ -58,6 +58,8 @@ struct intel_batchbuffer *batch;
|
||||
int all;
|
||||
int pass;
|
||||
|
||||
#define MIN_BUFFERS 3
|
||||
|
||||
static void
|
||||
nop_release_bo(drm_intel_bo *bo)
|
||||
{
|
||||
@ -1059,7 +1061,7 @@ static void __run_forked(struct buffers *buffers,
|
||||
const int old_num_buffers = num_buffers;
|
||||
|
||||
num_buffers /= num_children;
|
||||
num_buffers += 2;
|
||||
num_buffers += MIN_BUFFERS;
|
||||
|
||||
igt_fork(child, num_children) {
|
||||
/* recreate process local variables */
|
||||
@ -1405,6 +1407,13 @@ igt_main
|
||||
|
||||
create_func = c->create;
|
||||
|
||||
num_buffers = MIN_BUFFERS;
|
||||
if (c->require()) {
|
||||
snprintf(name, sizeof(name), "%s%s", c->name, "tiny");
|
||||
for (i = 0; i < ARRAY_SIZE(access_modes); i++)
|
||||
run_modes(name, &access_modes[i], CHECK_RAM);
|
||||
}
|
||||
|
||||
igt_fixture {
|
||||
num_buffers = gem_mappable_aperture_size() / (1024 * 1024) / 4;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user