summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Torrente <igormtorrente@gmail.com>2021-10-11 20:43:20 -0300
committerPetri Latvala <petri.latvala@intel.com>2021-10-13 12:02:38 +0300
commit438788b5dbd23085745fdd3da5a237f3577945df (patch)
tree34af184b30d5f4b884ea7d9e388705fb0ba9b490
parent721fd85ee95225ed5df322f7182bdfa9b86a3e68 (diff)
tests/kms_writeback.c: Prevents test failure by the XR48/AR48 format
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@gmail.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
-rw-r--r--tests/kms_writeback.c2
1 files changed, 1 insertions, 1 deletions
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;