[igt-dev] [PATCH] tests/kms_writeback.c: Prevents test failure by the XR48/AR48 format
Igor Torrente
igormtorrente at gmail.com
Mon Oct 11 23:43:20 UTC 2021
The test fails if the driver exposes the XR48/AR48 (XRGB16161616/ARGB16161616)
formats, altough it doesn't test any format beyond XR24(XRGB88888).
This failure happens because the format validation doesn't contain the
number '8' in the list of valid char.
This patch adds it to the list.
Signed-off-by: Igor Torrente <igormtorrente at gmail.com>
---
tests/kms_writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c
index 03edb7af..21d62faa 100644
--- a/tests/kms_writeback.c
+++ b/tests/kms_writeback.c
@@ -386,7 +386,7 @@ igt_main
igt_describe("Check the writeback format");
igt_subtest("writeback-pixel-formats") {
drmModePropertyBlobRes *formats_blob = get_writeback_formats_blob(output);
- const char *valid_chars = "0123456 ABCGNRUVXY";
+ const char *valid_chars = "01234568 ABCGNRUVXY";
unsigned int i;
char *c;
--
2.30.2
More information about the igt-dev
mailing list