[Intel-gfx] [PATCH igt] igt/kms_frontbuffer_tracking: Show FBC status at the start of the wait

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 5 12:52:40 UTC 2018


Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/kms_frontbuffer_tracking.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 1601cab45..8b440dadc 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -927,6 +927,10 @@ static bool fbc_stride_not_supported(void)
 
 static bool fbc_wait_until_enabled(void)
 {
+	if (fbc_is_enabled())
+		return true;
+
+	fbc_print_status();
 	return igt_wait(fbc_is_enabled(), 2000, 1);
 }
 
-- 
2.15.1



More information about the Intel-gfx mailing list