tests/chamelium: Close DRM file descriptor after tests
v2 cover tests/chamelium: Close DRM file descriptor after tests
Changes since v1:
* Fixed typo due to slow adaptation to qwerty layout
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 1/1 tests/chamelium: Close DRM file descriptor after tests
From: Paul Kocialkowski <[email protected]>
This adds a call to close the DRM file descriptor. It is required as IGT will attempt to become DRM master after running the test, resulting in a failure.
--- tests/chamelium.c | 4 ++++ 1 file changed, 4 insertions(+)
tests/chamelium.c +4 -0
@@ -749,4 +749,8 @@ igt_main connector_subtest("vga-hpd-without-ddc", VGA)test_hpd_without_ddc (&data, port); } + + igt_fixture { +close (data.drm_fd); + } }
Signature · 6 lines
2.13.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Paul Kocialkowski
From: Paul Kocialkowski <[email protected]>
This adds a call to close the DRM file descriptor. It is required as IGT will attempt to become DRM master after running the test, resulting in a failure.
+Lyude for Chamelium patches
Quoted 18 lines
Signed-off-by Paul Kocialkowski <[email protected]>--- tests/chamelium.c | 4 ++++ 1 file changed, 4 insertions(+)tests/chamelium.c +4
-0@@ -749,4 +749,8 @@ igt_main connector_subtest("vga-hpd-without-ddc", VGA)test_hpd_without_ddc (&data, port); } + + igt_fixture { +close (data.drm_fd); + } }
Signature · 6 lines
Paul Kocialkowski <[email protected]> Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx