mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 16:26:13 +00:00
kms_frontbuffer_tracking: add missing igt_remove_fb calls
Let's be good citizens and properly handle our garbage. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
d8bf28f0cb
commit
5267f24471
@ -3134,6 +3134,8 @@ static void tilingchange_subtest(const struct test_mode *t)
|
||||
page_flip_for_params(params, flip_type);
|
||||
do_assertions(0);
|
||||
}
|
||||
|
||||
igt_remove_fb(drm.fd, &new_fb);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -3192,6 +3194,8 @@ static void basic_subtest(const struct test_mode *t)
|
||||
update_wanted_crc(t, &pattern->crcs[t->format][r]);
|
||||
do_assertions(assertions);
|
||||
}
|
||||
|
||||
igt_remove_fb(drm.fd, &fb2);
|
||||
}
|
||||
|
||||
static int opt_handler(int option, int option_index, void *data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user