[PATCH i-g-t 7/9] tests/kms_tv_load_detect: Test cleanup

Bhanuprakash Modem bhanuprakash.modem at intel.com
Mon Jun 10 16:34:55 UTC 2024


Make sure the below points in IGT cleanup:

 - Sanitize the state before starting the subtest.
 - Clear the states before exiting the subtest.
 - Update existing libdrm APIs with IGT kms APIs.
 - Other misc (Ex: update deprecated APIs/macros/enums, FB leaks etc..)

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
---
 tests/kms_tv_load_detect.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_tv_load_detect.c b/tests/kms_tv_load_detect.c
index 8feed385f..9f6f4071e 100644
--- a/tests/kms_tv_load_detect.c
+++ b/tests/kms_tv_load_detect.c
@@ -99,6 +99,7 @@ igt_main
 
 	igt_fixture {
 		drmModeFreeConnector(tv_connector);
+		drmModeFreeResources(res);
 		drm_close_driver(drm_fd);
 	}
 }
-- 
2.43.2



More information about the igt-dev mailing list