summaryrefslogtreecommitdiff
path: root/tests/i915
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-02-01 12:47:01 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-02-02 12:09:12 +0000
commit0b9ac934a6aad9ed5c1fdfd48d2b0faa10bfbbc4 (patch)
tree190208d5749db4281d01aa0089ac6de58eeab538 /tests/i915
parent973367176b61e81b5ca811620adb0467f6570aec (diff)
i915/query: Update topology info to match reality
CI has a HSW GT1 with a single subslice. Accept this as a possible truth value. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106600 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'tests/i915')
-rw-r--r--tests/i915/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/query.c b/tests/i915/query.c
index 3e7fd140..7d0c0e3a 100644
--- a/tests/i915/query.c
+++ b/tests/i915/query.c
@@ -456,7 +456,7 @@ test_query_topology_known_pci_ids(int fd, int devid)
switch (dev_info->gt) {
case 1:
igt_assert_eq(n_slices, 1);
- igt_assert(n_subslices == 2 || n_subslices == 3);
+ igt_assert(n_subslices == 1 || n_subslices == 2 || n_subslices == 3);
break;
case 2:
igt_assert_eq(n_slices, 1);