search for: igt_subtest_f

Displaying 13 results from an estimated 13 matches for "igt_subtest_f".

2020 Mar 18
0
[PATCH i-g-t] tests/kms_plane: Generate reference CRCs for partial coverage too
...&red_crc); + test_grab_crc(data, output, pipe, &blue, flags, &blue_crc); for (int plane = 1; plane < n_planes; plane++) test_plane_panning_with_output(data, pipe, plane, output, @@ -956,15 +971,18 @@ run_tests_for_pipe_plane(data_t *data, enum pipe pipe) data->crop = 0; igt_subtest_f("plane-position-covered-pipe-%s-planes", kmstest_pipe_name(pipe)) - test_plane_position(data, pipe, TEST_POSITION_FULLY_COVERED); + test_plane_position(data, pipe, 0); igt_subtest_f("plane-position-hole-pipe-%s-planes", kmstest_pipe_name(pipe)) - test_pl...
2020 Mar 18
0
[PATCH i-g-t 2/2] tests/kms_pipe_crc_basic: Add disable-crc-after-crtc-pipe-* tests
...gt_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_hang_t hang = igt_allow_hang(data.drm_fd, 0, 0); -- 2.24.1
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
..., n_colors, pipe_crc); + + /* Changing the color should not change 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.disp...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
..., n_colors, pipe_crc); + + /* Changing the color should not change 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.disp...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
..., n_colors, pipe_crc); + + /* Changing the color should not change 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.disp...
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
...n_colors, pipe_crc); + + /* Changing the color should not change what'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.disp...
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
...; > 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_s...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...lor should not change 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_...
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