igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] kms_plane: Do not leave CRC generation running while creating a format.
@ 2018-09-24  6:44 Maarten Lankhorst
  2018-09-24  7:10 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maarten Lankhorst @ 2018-09-24  6:44 UTC (permalink / raw)
  To: igt-dev

Creating a YUV FB in a high resolution takes too long, and we end up with:
[drm:drm_crtc_add_crc_entry] *ERROR* Overflow of CRC buffer, userspace reads too slow.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106885
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 tests/kms_plane.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index aa36ddeba31a..d00baeaff72d 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -419,7 +419,7 @@ static void test_format_plane_color(data_t *data, enum pipe pipe,
 	igt_plane_set_fb(plane, fb);
 
 	igt_display_commit2(&data->display, data->display.is_atomic ? COMMIT_ATOMIC : COMMIT_UNIVERSAL);
-	igt_pipe_crc_get_current(data->display.drm_fd, data->pipe_crc, crc);
+	igt_pipe_crc_collect_crc(data->pipe_crc, crc);
 
 	igt_remove_fb(data->drm_fd, &old_fb);
 }
@@ -466,7 +466,6 @@ static void test_format_plane(data_t *data, enum pipe pipe,
 	set_legacy_lut(data, pipe, 0xfc00);
 
 	test_init(data, pipe);
-	igt_pipe_crc_start(data->pipe_crc);
 
 	igt_info("Testing format " IGT_FORMAT_FMT " on %s.%u\n",
 		 IGT_FORMAT_ARGS(format),
-- 
2.19.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-24 12:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24  6:44 [igt-dev] [PATCH i-g-t] kms_plane: Do not leave CRC generation running while creating a format Maarten Lankhorst
2018-09-24  7:10 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-09-24  7:57 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-09-24 12:41 ` [igt-dev] [PATCH i-g-t] " Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).