[Intel-gfx] [PATCH igt 1/4] kms_frontbuffer_tracking: unset crtcs after getting the base blue CRC

Paulo Zanoni paulo.r.zanoni at intel.com
Tue Oct 20 14:22:16 PDT 2015


This fixes the failures for cases where you use --run-subtest to run
single subtests that don't use any drawing patterns.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
---
 tests/kms_frontbuffer_tracking.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index d97e148..421f949 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -1179,6 +1179,8 @@ static void init_blue_crc(enum pixel_format format)
 
 	print_crc("Blue CRC:  ", &blue_crcs[format].crc);
 
+	unset_all_crtcs();
+
 	igt_remove_fb(drm.fd, &blue);
 
 	blue_crcs[format].initialized = true;
-- 
2.6.1



More information about the Intel-gfx mailing list