[igt-dev] [v5 01/10] tests/i915/kms_dsc: add new test flag
Swati Sharma
swati2.sharma at intel.com
Fri Jul 28 09:34:40 UTC 2023
Add new test flag TEST_DSC_FORMAT. This flag is added to
differentiate the basic dsc test and the tests where we want to
change different plane pixel formats.
v2: -update commit message (Ankit)
Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>
---
tests/i915/kms_dsc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/i915/kms_dsc.c b/tests/i915/kms_dsc.c
index 0a3e29924..23ccbca00 100644
--- a/tests/i915/kms_dsc.c
+++ b/tests/i915/kms_dsc.c
@@ -37,6 +37,7 @@ IGT_TEST_DESCRIPTION("Test to validate display stream compression");
enum dsc_test_type {
TEST_DSC_BASIC,
TEST_DSC_BPC,
+ TEST_DSC_FORMAT,
TEST_DSC_OUTPUT_FORMAT,
};
@@ -302,7 +303,7 @@ igt_main_args("l", NULL, help_str, opt_handler, &data)
"with default parameters and creating fb with diff formats");
igt_subtest_with_dynamic("dsc-with-formats") {
for (int k = 0; k < ARRAY_SIZE(format_list); k++)
- test_dsc(&data, TEST_DSC_BASIC, 0,
+ test_dsc(&data, TEST_DSC_FORMAT, 0,
format_list[k], DSC_FORMAT_RGB);
}
--
2.25.1
More information about the igt-dev
mailing list