[igt-dev] [PATCH i-g-t] tests/kms_frontbuffer_tracking: Respect mode when collecting CRCs.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Mar 13 10:45:12 UTC 2018


Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Reported-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/kms_frontbuffer_tracking.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index a2aab5c762ac..2b28707313e0 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -1371,6 +1371,7 @@ static void init_crcs(enum pixel_format format,
 	}
 
 	igt_output_set_pipe(prim_mode_params.output, prim_mode_params.pipe);
+	igt_output_override_mode(prim_mode_params.output, prim_mode_params.mode);
 	for (r = 0; r < pattern->n_rects; r++) {
 		igt_plane_set_fb(prim_mode_params.primary.plane, &tmp_fbs[r]);
 		igt_display_commit(&drm.display);
-- 
2.16.2



More information about the igt-dev mailing list