Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH igt] igt/kms_frontbuffer_tracking: Disable FBC testing for -ENODEV
@ 2018-02-11 18:54 Chris Wilson
  2018-02-15  9:21 ` Chris Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2018-02-11 18:54 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

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

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 602707f98..6d3fe8d02 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -1588,6 +1588,9 @@ static bool fbc_supported_on_chipset(void)
 	char buf[128];
 
 	debugfs_read("i915_fbc_status", buf);
+	if (*buf == '\0')
+		return false;
+
 	return !strstr(buf, "FBC unsupported on this chipset\n");
 }
 
-- 
2.16.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-03-06 14:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-11 18:54 [PATCH igt] igt/kms_frontbuffer_tracking: Disable FBC testing for -ENODEV Chris Wilson
2018-02-15  9:21 ` Chris Wilson
2018-02-20 12:17   ` [igt-dev] " Daniel Vetter
2018-02-20 12:22     ` Chris Wilson
2018-03-06 14:42       ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox