[igt-dev] [PATCH i-g-t, v2, 2/2] tests/kms_cursor_crc.c: Remove framebuffer at the end of the test
Mamta Shukla
mamtashukla555 at gmail.com
Tue Jan 29 22:16:19 UTC 2019
Use igt_remove_fb(data->drm_fd, &data->fb) to remove locally created
framebuffer at the end of the hardware test.
Signed-off-by: Mamta Shukla <mamtashukla555 at gmail.com>
---
No changes in v2.
tests/kms_cursor_crc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 144b44b0..fd74fda5 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -583,6 +583,7 @@ static void test_cursor_size(data_t *data)
igt_pipe_crc_collect_crc(pipe_crc, &crc[i]);
}
cursor_disable(data);
+ igt_remove_fb(data->drm_fd, &data->fb);
/* Software test loop */
for (i = 0, size = cursor_max_size; size >= 64; size /= 2, i++) {
/* Now render the same in software and collect crc */
--
2.17.1
More information about the igt-dev
mailing list