search for: color_idx

Displaying 10 results from an estimated 10 matches for "color_idx".

2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...-1, i; + bool found_skip = false; + + pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, "auto"); + + create_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); +...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...-1, i; + bool found_skip = false; + + pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, "auto"); + + create_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); +...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...-1, i; + bool found_skip = false; + + pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, "auto"); + + create_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); +...
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
...i; + bool found_skip = false; + + pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, "auto"); + + create_crc_colors(data, colors, n_colors, pipe_crc); + + set_crc_flip_threshold(data, n_crcs / 2); + igt_pipe_crc_start(pipe_crc); + + for (i = 0; i < n_crcs; i++) { + const int color_idx = i % n_colors; + + igt_plane_set_fb(primary, &colors[color_idx].fb); + do_or_die(drmModePageFlip(data->drm_fd, + output->config.crtc->crtc_id, + colors[color_idx].fb.fb_id, + DRM_MODE_PAGE_FLIP_EVENT, + NULL)); + kmstest_wait_for_pageflip(data->drm_fd); +...
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
...fd, data->pipe, "auto"); > > + > > + create_colors(data, colors, n_colors, pipe_crc); > > + > > + set_crc_flip_threshold(data, n_crcs / 2); > > + igt_pipe_crc_start(pipe_crc); > > + > > + for (i = 0; i < n_crcs; i++) { > > + const int color_idx = i % n_colors; > > + > > + igt_plane_set_fb(primary, &colors[color_idx].fb); > > + do_or_die(drmModePageFlip(data->drm_fd, > > + output->config.crtc->crtc_id, > > + colors[color_idx].fb.fb_id, > > + DRM_MODE_PAGE_FLIP_EVENT, >...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...ipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe, "auto"); > + > + create_colors(data, colors, n_colors, pipe_crc); > + > + set_crc_flip_threshold(data, n_crcs / 2); > + igt_pipe_crc_start(pipe_crc); > + > + for (i = 0; i < n_crcs; i++) { > + const int color_idx = i % n_colors; > + > + igt_plane_set_fb(primary, &colors[color_idx].fb); > + do_or_die(drmModePageFlip(data->drm_fd, > + output->config.crtc->crtc_id, > + colors[color_idx].fb.fb_id, > + DRM_MODE_PAGE_FLIP_EVENT, > + NULL)); > + kmste...
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