search for: pipe_crc

Displaying 16 results from an estimated 16 matches for "pipe_crc".

2020 Mar 18
0
[PATCH i-g-t 4/4] tests: Add nouveau-crc tests
...+ igt_debug("Setting CRC notifier 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, + colo...
2020 Apr 17
0
[PATCH i-g-t v3 5/5] tests: Add nouveau-crc tests
...+ igt_debug("Setting CRC notifier 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, + colo...
2020 Aug 18
2
[PATCH i-g-t v4] tests: Add nouveau-crc tests
...+ igt_debug("Setting CRC notifier 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, + colo...
2020 Sep 30
0
[PATCH i-g-t v5 5/5] tests: Add nouveau-crc tests
...); + igt_assert_lt(0, igt_sysfs_printf(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, + colo...
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
...> > + 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) > > Not to bikeshed too much, 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: > > /* &...
2020 Sep 28
0
[igt-dev] [PATCH i-g-t v4] tests: Add nouveau-crc tests
...ier 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) Not to bikeshed too much, 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 eac...
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
2020 Mar 18
0
[PATCH i-g-t 2/2] tests/kms_pipe_crc_basic: Add disable-crc-after-crtc-pipe-* tests
...n where we disable CRCs on a pipe that already been disabled, which ended up causing some other vague igt issues when running certain tests in multi-mode. So, let's add a trivial test for this scenario while we're at it. Signed-off-by: Lyude Paul <lyude at redhat.com> --- tests/kms_pipe_crc_basic.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index f121e27e..4a58332a 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -152,6 +152,41 @@ static void test_read_cr...
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 test_bad_source(data_t *data)...
2020 Mar 18
0
[PATCH i-g-t] tests/kms_plane: Generate reference CRCs for partial coverage too
...0644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -44,6 +44,11 @@ typedef struct { float blue; } color_t; +typedef struct { + int x, y; + color_t color; +} rectangle_t; + typedef struct { int drm_fd; igt_display_t display; @@ -71,9 +76,52 @@ static void test_fini(data_t *data) igt_pipe_crc_free(data->pipe_crc); } +enum { + TEST_POSITION_PARTIALLY_COVERED = 1 << 0, + TEST_DPMS = 1 << 1, + TEST_PANNING_TOP_LEFT = 1 << 2, + TEST_PANNING_BOTTOM_RIGHT = 1 << 3, + TEST_SUSPEND_RESUME = 1 << 4, +}; + +/* +...
2017 Jun 09
1
[ANNOUNCE] intel-gpu-tools 1.19
...lib/igt_debugfs: Remove igt_debugfs_t lib/igt_debugfs: Only use valid values in igt_crc_to_str() Chris Wilson (132): Revert "Always expose IGT subtests for known kernel selftests" Revert "lib: Add i915 and drm-mm selftest headers from the kernel" igt/kms_pipe_crc_basic: Skip test before hang injection igt/kms_pipe_crc_basic: Tighten timings for CRC readback lib: Update i915_pciids.h lib: Squelch a pair of ignore result warnings lib: Remove requirements spam from gem_set_tiling() igt/gem_userptr_blits: Move assert to caller...
2017 Mar 13
1
[ANNOUNCE] intel-gpu-tools 1.18
...iids.h: Update to latest version wich includes GLK ids lib/intel_chipset: Add geminilake platform definition lib/igt_kmod: Compare module names with strcmp kms_frontbuffer_tracking: Fix badstride test skipping with atomic Brian Starkey (6): kms_atomic_transition: Initialize pipe_crcs to avoid segfault lib/igt_kms: Fix drm_plane leak lib/igt_kms: Neaten up pipe->planes[] assignment lib/igt_kms: Fix possible out-of-bounds access lib/igt_kms: Fix memory corruption when there's no cursor plane lib/igt_kms: Remove redundant cursor code Chris Wi...
2016 May 31
0
[ANNOUNCE] intel-gpu-tools 1.15
...: Avoid assertion if sig_ioctl is unsed from a child accidentally benchmarks/gem_latency: Add a -C switch to measure impact of cmdparser benchmarks: Include my ezbench test runners igt/gem_shrink: Fix leak in userptr, add another igt/gem_shrink: Reduce oom spam igt/kms_pipe_crc_basic: Replace stop_rings with igt_hang_ring igt/kms_flip: Convert over to real hang injection lib: Remove defunct stop_rings igt/gem_shrink: Fix execution object offset igt/gem_concurrent_blit: Purge the libdrm caches before cloning lib: Tidy presentations of pread/pw...