diff mbox series

[i-g-t] i915/query: Update topology info to match reality

Message ID 20190201130751.21587-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series [i-g-t] i915/query: Update topology info to match reality | expand

Commit Message

Chris Wilson Feb. 1, 2019, 1:07 p.m. UTC
CI has a HSW GT1 with a single subslice. Accept this 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>
---
 tests/i915/query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lionel Landwerlin Feb. 2, 2019, 12:05 p.m. UTC | #1
On 01/02/2019 13:07, Chris Wilson wrote:
> CI has a HSW GT1 with a single subslice. Accept this 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>


Thanks Chris, I see it in the documented configurations :

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>


> ---
>   tests/i915/query.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/i915/query.c b/tests/i915/query.c
> index 764adc8fc..9ddd81f10 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);
diff mbox series

Patch

diff --git a/tests/i915/query.c b/tests/i915/query.c
index 764adc8fc..9ddd81f10 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);