search for: crc_str

Displaying 11 results from an estimated 11 matches for "crc_str".

2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...ifier flip threshold to %d\n", threshold); + igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold", "%d", threshold)); +} + +static void create_colors(data_t *data, + struct color_fb *colors, + size_t len, + igt_pipe_crc_t *pipe_crc) +{ + char *crc_str; + + igt_pipe_crc_start(pipe_crc); + + for (int i = 0; i < len; i++) { + igt_create_color_fb(data->drm_fd, + data->mode->hdisplay, + data->mode->vdisplay, + DRM_FORMAT_XRGB8888, + LOCAL_DRM_FORMAT_MOD_NONE, + colors[i].r, colors[i].g, colors[i]....
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...ifier flip threshold to %d\n", threshold); + igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold", "%d", threshold)); +} + +static void create_colors(data_t *data, + struct color_fb *colors, + size_t len, + igt_pipe_crc_t *pipe_crc) +{ + char *crc_str; + + igt_pipe_crc_start(pipe_crc); + + for (int i = 0; i < len; i++) { + igt_create_color_fb(data->drm_fd, + data->mode->hdisplay, + data->mode->vdisplay, + DRM_FORMAT_XRGB8888, + LOCAL_DRM_FORMAT_MOD_NONE, + colors[i].r, colors[i].g, colors[i]....
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...ifier flip threshold to %d\n", threshold); + igt_assert_lt(0, igt_sysfs_printf(data->nv_crc_dir, "flip_threshold", "%d", threshold)); +} + +static void create_colors(data_t *data, + struct color_fb *colors, + size_t len, + igt_pipe_crc_t *pipe_crc) +{ + char *crc_str; + + igt_pipe_crc_start(pipe_crc); + + for (int i = 0; i < len; i++) { + igt_create_color_fb(data->drm_fd, + data->mode->hdisplay, + data->mode->vdisplay, + DRM_FORMAT_XRGB8888, + LOCAL_DRM_FORMAT_MOD_NONE, + colors[i].r, colors[i].g, colors[i]....
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
...rintf(data->nv_crc_dir, "flip_threshold", "%d", threshold)); +} + +/* Initialize each color_fb along with its respective CRC */ +static void create_crc_colors(data_t *data, + struct color_fb *colors, + size_t len, + igt_pipe_crc_t *pipe_crc) +{ + char *crc_str; + + igt_pipe_crc_start(pipe_crc); + + for (int i = 0; i < len; i++) { + igt_create_color_fb(data->drm_fd, + data->mode->hdisplay, + data->mode->vdisplay, + DRM_FORMAT_XRGB8888, + LOCAL_DRM_FORMAT_MOD_NONE, + colors[i].r, colors[i].g, colors[i]....
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
...generating CRCs given some pre-existing colors. Maybe > create_color_crcs() would be better? And it wouldn't hurt to throw a > little docblock on it, even something as short as: > > /* > * Calculate and set the CRC for each color_fb > */ > > > +{ > > + char *crc_str; > > + > > + igt_pipe_crc_start(pipe_crc); > > + > > + for (int i = 0; i < len; i++) { > > + igt_create_color_fb(data->drm_fd, > > + data->mode->hdisplay, > > + data->mode->vdisplay, > > + DRM_FORMAT_XRGB8888, &...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...ch, but this function seems to be more about generating CRCs given some pre-existing colors. Maybe create_color_crcs() would be better? And it wouldn't hurt to throw a little docblock on it, even something as short as: /* * Calculate and set the CRC for each color_fb */ > +{ > + char *crc_str; > + > + igt_pipe_crc_start(pipe_crc); > + > + for (int i = 0; i < len; i++) { > + igt_create_color_fb(data->drm_fd, > + data->mode->hdisplay, > + data->mode->vdisplay, > + DRM_FORMAT_XRGB8888, > + LOCAL_DRM_FORMAT_MOD_NONE,...
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 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
2020 Mar 18
0
[PATCH i-g-t] tests/kms_plane: Generate reference CRCs for partial coverage too
...or, NULL, 0, &fb); + } + igt_plane_set_fb(primary, &fb); ret = igt_display_try_commit2(&data->display, COMMIT_LEGACY); igt_skip_on(ret != 0); @@ -104,19 +158,24 @@ test_grab_crc(data_t *data, igt_output_t *output, enum pipe pipe, igt_remove_fb(data->drm_fd, &fb); crc_str = igt_crc_to_string(crc); - igt_debug("CRC for a (%.02f,%.02f,%.02f) fb: %s\n", fb_color->red, - fb_color->green, fb_color->blue, crc_str); + igt_debug("CRC for a %s covered (%.02f,%.02f,%.02f) fb: %s\n", + flags & TEST_POSITION_PARTIALLY_COVERED ? "parti...
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