* [PATCH IGT v2 0/1] tests/chamelium: Close DRM file descriptor after tests
@ 2017-06-13 7:32 Paul Kocialkowski
2017-06-13 7:32 ` [PATCH IGT v2] " Paul Kocialkowski
0 siblings, 1 reply; 3+ messages in thread
From: Paul Kocialkowski @ 2017-06-13 7:32 UTC (permalink / raw)
To: intel-gfx
Changes since v1:
* Fixed typo due to slow adaptation to qwerty layout
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH IGT v2] tests/chamelium: Close DRM file descriptor after tests
2017-06-13 7:32 [PATCH IGT v2 0/1] tests/chamelium: Close DRM file descriptor after tests Paul Kocialkowski
@ 2017-06-13 7:32 ` Paul Kocialkowski
2017-06-13 7:37 ` Paul Kocialkowski
0 siblings, 1 reply; 3+ messages in thread
From: Paul Kocialkowski @ 2017-06-13 7:32 UTC (permalink / raw)
To: intel-gfx
From: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
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.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
---
tests/chamelium.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/chamelium.c b/tests/chamelium.c
index acd17886..bd7772f8 100644
--- a/tests/chamelium.c
+++ b/tests/chamelium.c
@@ -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);
+ }
}
--
2.13.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH IGT v2] tests/chamelium: Close DRM file descriptor after tests
2017-06-13 7:32 ` [PATCH IGT v2] " Paul Kocialkowski
@ 2017-06-13 7:37 ` Paul Kocialkowski
0 siblings, 0 replies; 3+ messages in thread
From: Paul Kocialkowski @ 2017-06-13 7:37 UTC (permalink / raw)
To: intel-gfx; +Cc: Lyude
On Tue, 2017-06-13 at 10:32 +0300, Paul Kocialkowski wrote:
> From: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
>
> 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
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
> ---
> tests/chamelium.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/chamelium.c b/tests/chamelium.c
> index acd17886..bd7772f8 100644
> --- a/tests/chamelium.c
> +++ b/tests/chamelium.c
> @@ -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);
> + }
> }
--
Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-13 7:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-13 7:32 [PATCH IGT v2 0/1] tests/chamelium: Close DRM file descriptor after tests Paul Kocialkowski
2017-06-13 7:32 ` [PATCH IGT v2] " Paul Kocialkowski
2017-06-13 7:37 ` Paul Kocialkowski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.