diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-11 18:52:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-16 18:03:31 +0000 |
commit | 1aec09098d3c3729ed152aee9ee4e6e656fa7a3f (patch) | |
tree | 0d9869a5bc921ed3930b71ef7f2a11e5d8245ee4 /tests/kms_frontbuffer_tracking.c | |
parent | 8de9f5f973fe7e8e96e4327ecd2c02d3dce24a1f (diff) |
igt/kms_frontbuffer_tracking: Disable FBC testing for -ENODEV
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tests/kms_frontbuffer_tracking.c')
-rw-r--r-- | tests/kms_frontbuffer_tracking.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index 2622952c..6c4071de 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"); } |