[PATCH i-g-t 6/8] tests/kms_tv_load_detect: Test cleanup
B, Jeevan
jeevan.b at intel.com
Wed Jun 12 11:34:07 UTC 2024
LGTM.
Reviewed-by: Jeevan B <jeevan.b at intel.com>
> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of
> Bhanuprakash Modem
> Sent: Tuesday, June 11, 2024 10:24 AM
> To: igt-dev at lists.freedesktop.org
> Cc: Modem, Bhanuprakash <bhanuprakash.modem at intel.com>
> Subject: [PATCH i-g-t 6/8] tests/kms_tv_load_detect: Test cleanup
>
> 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