[igt-dev] [i-g-t 08/20] tests/xe/xe_gpgpu_fill: Close the fd before exit
Bhanuprakash Modem
bhanuprakash.modem at intel.com
Tue May 16 16:50:46 UTC 2023
Close the file descriptor before exiting the test.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
tests/xe/xe_gpgpu_fill.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/xe/xe_gpgpu_fill.c b/tests/xe/xe_gpgpu_fill.c
index 5bca19c87..28ad2382b 100644
--- a/tests/xe/xe_gpgpu_fill.c
+++ b/tests/xe/xe_gpgpu_fill.c
@@ -131,5 +131,6 @@ igt_main
igt_fixture {
xe_device_put(data.drm_fd);
buf_ops_destroy(data.bops);
+ drm_close_driver(data.drm_fd);
}
}
--
2.40.0
More information about the igt-dev
mailing list