Displaying 12 results from an estimated 12 matches for "igt_display_require_output_on_pip".
Did you mean:
igt_display_require_output_on_pipe
2020 Mar 18
1
[PATCH i-g-t 1/2] tests/kms_pipe_crc_basic: Use igt_display_require_output_on_pipe()
...ut_for_pipe(display, pipe);
+ igt_output_t *output;
igt_plane_t *primary;
drmModeModeInfo *mode;
igt_crc_t *crcs = NULL;
int c, j;
- igt_skip_on(pipe >= data->display.n_pipes);
- igt_require_f(output, "No connector found for pipe %s\n",
- kmstest_pipe_name(pipe));
+ igt_display_require_output_on_pipe(display, pipe);
+ output = igt_get_single_output_for_pipe(display, pipe);
igt_display_reset(display);
igt_output_set_pipe(output, pipe);
--
2.24.1
2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
..._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);
+ }
+
+ for_each_pipe_static(pipe) {
+ igt_fixture {
+ int dir;
+
+ data.pipe = pipe;
+ igt_display_require_output_on_pipe(&data.display, pipe);
+ data.output = igt_get_single_output_for_pipe(&data.display, pipe);
+ data.mode = igt_output_get_mode(data.output);
+
+ /* None of these tests need to perform modesets,
+ * just page flips. So running display setup
+ * here is fine
+ */
+ igt_output_...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
..._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);
+ }
+
+ for_each_pipe_static(pipe) {
+ igt_fixture {
+ int dir;
+
+ data.pipe = pipe;
+ igt_display_require_output_on_pipe(&data.display, pipe);
+ data.output = igt_get_single_output_for_pipe(&data.display, pipe);
+ data.mode = igt_output_get_mode(data.output);
+
+ /* None of these tests need to perform modesets,
+ * just page flips. So running display setup
+ * here is fine
+ */
+ igt_output_...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
..._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);
+ }
+
+ for_each_pipe_static(pipe) {
+ igt_fixture {
+ int dir;
+
+ data.pipe = pipe;
+ igt_display_require_output_on_pipe(&data.display, pipe);
+ data.output = igt_get_single_output_for_pipe(&data.display, pipe);
+ data.mode = igt_output_get_mode(data.output);
+
+ /* None of these tests need to perform modesets,
+ * just page flips. So running display setup
+ * here is fine
+ */
+ igt_output_...
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
..._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);
+ }
+
+ for_each_pipe_static(pipe) {
+ igt_fixture {
+ int dir;
+
+ data.pipe = pipe;
+ igt_display_require_output_on_pipe(&data.display, pipe);
+
+ /* Disable the output from the previous iteration of pipe tests, if there is
+ * one
+ */
+ if (data.output) {
+ igt_output_set_pipe(data.output, PIPE_NONE);
+ igt_display_commit(&data.display);
+ }
+
+ data.output = igt_get_single_output_for_p...
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
...rm_fd);
> > + igt_display_require(&data.display, data.drm_fd);
> > + igt_display_reset(&data.display);
> > + }
> > +
> > + for_each_pipe_static(pipe) {
> > + igt_fixture {
> > + int dir;
> > +
> > + data.pipe = pipe;
> > + igt_display_require_output_on_pipe(&data.display,
> > pipe);
> > + data.output =
> > igt_get_single_output_for_pipe(&data.display, pipe);
> > + data.mode = igt_output_get_mode(data.output);
> > +
> > + /* None of these tests need to perform modesets,
> > + * just page flips...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...mode();
> +
> + igt_require_pipe_crc(data.drm_fd);
> + igt_display_require(&data.display, data.drm_fd);
> + igt_display_reset(&data.display);
> + }
> +
> + for_each_pipe_static(pipe) {
> + igt_fixture {
> + int dir;
> +
> + data.pipe = pipe;
> + igt_display_require_output_on_pipe(&data.display, pipe);
> + data.output = igt_get_single_output_for_pipe(&data.display, pipe);
> + data.mode = igt_output_get_mode(data.output);
> +
> + /* None of these tests need to perform modesets,
> + * just page flips. So running display setup
> + * here i...
2018 Aug 08
0
[ANNOUNCE] igt-gpu-tools 1.23
...ng: Reduce fbc status spam, v2.
lib/igt_kms: Add functions to get only a single output for a pipe, v2.
tests/kms_rmfb: Use for_each_pipe_with_single_output.
tests/kms_busy: Convert to using igt_get_single_output_for_pipe, v2.
tests/kms_chv_cursor_fail: Reorder tests, and use igt_display_require_output_on_pipe.
tests/kms_chv_cursor_fail: Handle cleanup better.
tests/kms_frontbuffer_tracking: Fix Y alignment in the scaledprimary subtest, v3.
lib/igt_kms: Improve connector probing in igt_display_init(), v2.
kms_frontbuffer_tracking: Remove unnecessary modeset from get_sink_crc....
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