[igt-dev] [PATCH i-g-t] tests/i915/kms_dsc: loop from min to max bpc

Swati Sharma swati2.sharma at intel.com
Fri Aug 18 09:04:03 UTC 2023


Loop from min bpc to max bpc. If max bpc is not supported, test
will SKIP and even lower bpc won't get validated.

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
 tests/i915/kms_dsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/kms_dsc.c b/tests/i915/kms_dsc.c
index 21f0c5a32..41e1d9519 100644
--- a/tests/i915/kms_dsc.c
+++ b/tests/i915/kms_dsc.c
@@ -101,7 +101,7 @@ typedef struct {
 
 static int output_format_list[] = {DSC_FORMAT_YCBCR420, DSC_FORMAT_YCBCR444};
 static int format_list[] = {DRM_FORMAT_XYUV8888, DRM_FORMAT_XRGB2101010, DRM_FORMAT_XRGB16161616F, DRM_FORMAT_YUYV};
-static uint32_t bpc_list[] = {12, 10, 8};
+static uint32_t bpc_list[] = {8, 10, 12};
 
 static inline void manual(const char *expected)
 {
-- 
2.25.1



More information about the igt-dev mailing list