Displaying 12 results from an estimated 12 matches for "igt_main".
Did you mean:
igb_main
2020 Mar 18
0
[PATCH i-g-t 2/2] tests/kms_pipe_crc_basic: Add disable-crc-after-crtc-pipe-* tests
...ector_dpms(data->drm_fd, output->config.connector,
+ DRM_MODE_DPMS_ON);
+ igt_pipe_crc_collect_crc(pipe_crc, &crc[1]);
+ igt_assert_crc_equal(&crc[0], &crc[1]);
+
+ igt_pipe_crc_free(pipe_crc);
+ igt_remove_fb(data->drm_fd, &data->fb);
+}
+
data_t data = {0, };
igt_main
@@ -196,6 +231,9 @@ igt_main
test_read_crc(&data, pipe, 0);
}
+ igt_subtest_f("disable-crc-after-crtc-pipe-%s", kmstest_pipe_name(pipe))
+ test_disable_crc_after_crtc(&data, pipe);
+
igt_subtest_f("hang-read-crc-pipe-%s", kmstest_pipe_name(pipe)) {
igt...
2020 Mar 18
1
[PATCH i-g-t 1/2] tests/kms_pipe_crc_basic: Use igt_display_require_output_on_pipe()
From: Lyude Paul <lyude at redhat.com>
Signed-off-by: Lyude Paul <lyude at redhat.com>
---
tests/kms_pipe_crc_basic.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index d169b7bd..f121e27e 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -65,15 +65,14 @@ static void
2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...what's outside the active raster */
+ igt_assert_crc_equal(&colors[0].crc, &colors[1].crc);
+
+ igt_pipe_crc_free(pipe_crc);
+ destroy_colors(data, colors, n_colors);
+}
+
+data_t data = {0, };
+
+#define pipe_test(name) igt_subtest_f("pipe-%s-" name, kmstest_pipe_name(pipe))
+igt_main
+{
+ int pipe;
+
+ igt_fixture {
+ data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+ igt_require_nouveau(data.drm_fd);
+
+ kmstest_set_vt_graphics_mode();
+
+ igt_require_pipe_crc(data.drm_fd);
+ igt_display_require(&data.display, data.drm_fd);
+ igt_display_reset(&data.display);
+...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...what's outside the active raster */
+ igt_assert_crc_equal(&colors[0].crc, &colors[1].crc);
+
+ igt_pipe_crc_free(pipe_crc);
+ destroy_colors(data, colors, n_colors);
+}
+
+data_t data = {0, };
+
+#define pipe_test(name) igt_subtest_f("pipe-%s-" name, kmstest_pipe_name(pipe))
+igt_main
+{
+ int pipe;
+
+ igt_fixture {
+ data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+ igt_require_nouveau(data.drm_fd);
+
+ kmstest_set_vt_graphics_mode();
+
+ igt_require_pipe_crc(data.drm_fd);
+ igt_display_require(&data.display, data.drm_fd);
+ igt_display_reset(&data.display);
+...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...what's outside the active raster */
+ igt_assert_crc_equal(&colors[0].crc, &colors[1].crc);
+
+ igt_pipe_crc_free(pipe_crc);
+ destroy_colors(data, colors, n_colors);
+}
+
+data_t data = {0, };
+
+#define pipe_test(name) igt_subtest_f("pipe-%s-" name, kmstest_pipe_name(pipe))
+igt_main
+{
+ int pipe;
+
+ igt_fixture {
+ data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+ igt_require_nouveau(data.drm_fd);
+
+ kmstest_set_vt_graphics_mode();
+
+ igt_require_pipe_crc(data.drm_fd);
+ igt_display_require(&data.display, data.drm_fd);
+ igt_display_reset(&data.display);
+...
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
...at's outside the active raster */
+ igt_assert_crc_equal(&colors[0].crc, &colors[1].crc);
+
+ igt_pipe_crc_free(pipe_crc);
+ destroy_crc_colors(data, colors, n_colors);
+}
+
+data_t data = {0};
+
+#define pipe_test(name) igt_subtest_f("pipe-%s-" name, kmstest_pipe_name(pipe))
+igt_main
+{
+ int pipe;
+
+ igt_fixture {
+ data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+ igt_require_nouveau(data.drm_fd);
+
+ kmstest_set_vt_graphics_mode();
+
+ igt_require_pipe_crc(data.drm_fd);
+ igt_display_require(&data.display, data.drm_fd);
+ igt_display_reset(&data.display);
+...
2020 Apr 17
10
[PATCH i-g-t v3 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com>
Nouveau has finally gotten CRC support, hooray! Well, it's under review
at least:
https://patchwork.freedesktop.org/series/74804/
(it has a cover letter, but nouveau's mailing list configuration has
blocked the email so I'm waiting for a moderator to fix that)
So, this series adds the relevant tests for it since nvidia's CRC
2020 Sep 29
1
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...c);
> > +
> > + igt_pipe_crc_free(pipe_crc);
> > + destroy_colors(data, colors, n_colors);
> > +}
> > +
> > +data_t data = {0, };
> > +
> > +#define pipe_test(name) igt_subtest_f("pipe-%s-" name,
> > kmstest_pipe_name(pipe))
> > +igt_main
> > +{
> > + int pipe;
> > +
> > + igt_fixture {
> > + data.drm_fd = drm_open_driver_master(DRIVER_ANY);
> > + igt_require_nouveau(data.drm_fd);
> > +
> > + kmstest_set_vt_graphics_mode();
> > +
> > + igt_require_pipe_crc(data.drm_fd);...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
..._assert_crc_equal(&colors[0].crc, &colors[1].crc);
> +
> + igt_pipe_crc_free(pipe_crc);
> + destroy_colors(data, colors, n_colors);
> +}
> +
> +data_t data = {0, };
> +
> +#define pipe_test(name) igt_subtest_f("pipe-%s-" name, kmstest_pipe_name(pipe))
> +igt_main
> +{
> + int pipe;
> +
> + igt_fixture {
> + data.drm_fd = drm_open_driver_master(DRIVER_ANY);
> + igt_require_nouveau(data.drm_fd);
> +
> + kmstest_set_vt_graphics_mode();
> +
> + igt_require_pipe_crc(data.drm_fd);
> + igt_display_require(&data.display, da...
2020 Apr 17
5
[PATCH i-g-t v2 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com>
(Just forwarding this to nouveau's ml, since I completely forgot to
before)
Nouveau has finally gotten CRC support, hooray! Well, it's under review
at least:
https://patchwork.freedesktop.org/series/74804/
(it has a cover letter, but nouveau's mailing list configuration has
blocked the email so I'm waiting for a moderator to fix that)
2020 Mar 18
6
[PATCH i-g-t 0/4] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com>
Nouveau has finally gotten CRC support, hooray! Well, it's under review
at least:
https://patchwork.freedesktop.org/series/74804/
(it has a cover letter, but nouveau's mailing list configuration has
blocked the email so I'm waiting for a moderator to fix that)
So, this series adds the relevant tests for it since nvidia's CRC
2020 Sep 30
9
[PATCH i-g-t v5 0/5] Add nouveau-crc tests
From: Lyude Paul <lyude at redhat.com>
Nouveau has finally gotten CRC support, and at this point that support
has made its way upstream. Hooray!
So, let's start adding some relevant tests for it since nvidia's CRC
implementation has some rather interesting design choices that needed to
be worked around.
Lyude Paul (5):
lib/igt_core: Fix igt_assert_fd() documentation