[Intel-gfx] [PATCH igt 5/6] kms_frontbuffer_tracking: don't mode unset when checking sink CRC support

Paulo Zanoni paulo.r.zanoni at intel.com
Mon Oct 5 14:21:10 PDT 2015


There's no reason to do a mode unset since we don't care about whether
FBC or PSR are enabled or disabled. This should save about a second
for each time you invoke the program.

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

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 47fc0c8..94b9e01 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -1333,7 +1333,6 @@ static void setup_sink_crc(void)
 	prim_mode_params.fb.fb = &fbs[FORMAT_DEFAULT].prim_pri;
 	prim_mode_params.fb.x = prim_mode_params.fb.y = 0;
 	fill_fb_region(&prim_mode_params.fb, COLOR_PRIM_BG);
-	unset_all_crtcs();
 	set_mode_for_params(&prim_mode_params);
 
 	sink_crc.fd = igt_debugfs_open("i915_sink_crc_eDP1", O_RDONLY);
-- 
2.5.3



More information about the Intel-gfx mailing list