[igt-dev] [PATCH igt 1/2] igt/kms_frontbuffer_tracking: Disable FBC testing for -ENODEV
Lofstedt, Marta
marta.lofstedt at intel.com
Wed Feb 21 13:59:34 UTC 2018
While you are at it could you fix the kms_fbcon_fbt test in the same manner?
And you'll have my R-b
> -----Original Message-----
> From: igt-dev [mailto:igt-dev-bounces at lists.freedesktop.org] On Behalf Of
> Chris Wilson
> Sent: Friday, February 16, 2018 11:00 AM
> To: intel-gfx at lists.freedesktop.org
> Cc: igt-dev at lists.freedesktop.org
> Subject: [igt-dev] [PATCH igt 1/2] igt/kms_frontbuffer_tracking: Disable FBC
> testing for -ENODEV
>
> Signed-off-by: Chris Wilson <chris at 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 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"); }
>
> --
> 2.16.1
>
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
More information about the igt-dev
mailing list