summaryrefslogtreecommitdiff
path: root/tests/kms_3d.c
diff options
context:
space:
mode:
authorPatnana Venkata Sai <venkata.sai.patnana@intel.com>2021-03-03 14:09:06 +0530
committerJeevan B <jeevan.b@intel.com>2021-03-08 17:12:01 +0530
commit8b8bbecf2f32298544c2f193753a0153f39e7326 (patch)
tree7d1b070f1185911e3d7997e8c9d8daea5f91e6c8 /tests/kms_3d.c
parentb14d150b05c021e5613caf9f0119d3c5ce4305b8 (diff)
tests/kms_3d: update stereo mode count static value
Some modes from the supplied EDID pruned due to platform limitations (e.g., restricted link rates , CLOCK_RANGE and such) which is why we wouldn't necessarily end up with the full 13 on all platforms. To set 3D mode, we need atleast one supported 3d mode is sufficient. Cc: Matt Roper <matthew.d.roper@intel.com> Cc: Sharma Swati2 <swati2.sharma@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Patnana Venkata Sai <venkata.sai.patnana@intel.com>
Diffstat (limited to 'tests/kms_3d.c')
-rw-r--r--tests/kms_3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_3d.c b/tests/kms_3d.c
index 2622b2d0..a88a86ee 100644
--- a/tests/kms_3d.c
+++ b/tests/kms_3d.c
@@ -69,7 +69,7 @@ igt_simple_main
mode_count++;
}
- igt_assert_eq(mode_count, 13);
+ igt_assert(mode_count);
/* set 3D modes */
igt_info("Testing:\n");