Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH] tests/i915_pm_sseu: remove broken test
@ 2020-04-07 22:04 Andi Shyti
  2020-04-07 22:22 ` Chris Wilson
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andi Shyti @ 2020-04-07 22:04 UTC (permalink / raw)
  To: Intel IGT; +Cc: Andi Shyti, Chris Wilson

From: Andi Shyti <andi.shyti@intel.com>

the i915_pm_sseu test is disabled by default and anyway basked on
a broken debugfs interface on its way to be removed.

Remove it.

Signed-off-by: Andi Shyti <andi.shyti@intel.com>
---
 tests/Makefile.sources    |   3 -
 tests/i915/i915_pm_sseu.c | 397 --------------------------------------
 tests/meson.build         |   1 -
 3 files changed, 401 deletions(-)
 delete mode 100644 tests/i915/i915_pm_sseu.c

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 4e44c98c..6d312b85 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -491,9 +491,6 @@ i915_pm_dc_SOURCES = i915/i915_pm_dc.c
 TESTS_progs += i915_pm_rps
 i915_pm_rps_SOURCES = i915/i915_pm_rps.c
 
-TESTS_progs += i915_pm_sseu
-i915_pm_sseu_SOURCES = i915/i915_pm_sseu.c
-
 TESTS_progs += i915_query
 i915_query_SOURCES = i915/i915_query.c
 
diff --git a/tests/i915/i915_pm_sseu.c b/tests/i915/i915_pm_sseu.c
deleted file mode 100644
index c2dee118..00000000
--- a/tests/i915/i915_pm_sseu.c
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
- * Copyright © 2015 Intel Corporation
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * Authors:
- *    Jeff McGee <jeff.mcgee@intel.com>
- */
-
-#include "igt.h"
-#include <fcntl.h>
-#include <unistd.h>
-#include <string.h>
-#include <errno.h>
-#include <time.h>
-#include "i915_drm.h"
-#include "intel_bufmgr.h"
-
-IGT_TEST_DESCRIPTION("Tests slice/subslice/EU power gating functionality.\n");
-
-static struct {
-	int init;
-	int drm_fd;
-	int devid;
-	int gen;
-	drm_intel_bufmgr *bufmgr;
-	struct intel_batchbuffer *batch;
-	igt_media_spinfunc_t spinfunc;
-	struct igt_buf buf;
-	uint32_t spins_per_msec;
-} gem;
-
-static double
-to_dt(const struct timespec *start, const struct timespec *end)
-{
-	double dt;
-
-	dt = (end->tv_sec - start->tv_sec) * 1e3;
-	dt += (end->tv_nsec - start->tv_nsec) * 1e-6;
-
-	return dt;
-}
-
-struct status {
-	struct {
-		int slice_total;
-		int subslice_total;
-		int subslice_per;
-		int eu_total;
-		int eu_per;
-		bool has_slice_pg;
-		bool has_subslice_pg;
-		bool has_eu_pg;
-	} info;
-	struct {
-		int slice_total;
-		int subslice_total;
-		int subslice_per;
-		int eu_total;
-		int eu_per;
-	} hw;
-};
-
-#define DBG_STATUS_BUF_SIZE 4096
-
-struct {
-	int init;
-	int status_fd;
-	char status_buf[DBG_STATUS_BUF_SIZE];
-} dbg;
-
-static void
-dbg_get_status_section(const char *title, char **first, char **last)
-{
-	char *pos;
-
-	*first = strstr(dbg.status_buf, title);
-	igt_assert(*first != NULL);
-
-	pos = *first;
-	do {
-		pos = strchr(pos, '\n');
-		igt_assert(pos != NULL);
-		pos++;
-	} while (*pos == ' '); /* lines in the section begin with a space */
-	*last = pos - 1;
-}
-
-static bool
-dbg_has_line(const char *first, const char *last, const char *name)
-{
-	char *pos = strstr(first, name);
-
-	return pos != NULL && pos < last;
-}
-
-static int
-dbg_get_int(const char *first, const char *last, const char *name)
-{
-	char *pos;
-
-	pos = strstr(first, name);
-	igt_assert(pos != NULL);
-	pos = strstr(pos, ":");
-	igt_assert(pos != NULL);
-	pos += 2;
-	igt_assert(pos != last);
-
-	return strtol(pos, &pos, 10);
-}
-
-static bool
-dbg_get_bool(const char *first, const char *last, const char *name)
-{
-	char *pos;
-
-	pos = strstr(first, name);
-	igt_assert(pos != NULL);
-	pos = strstr(pos, ":");
-	igt_assert(pos != NULL);
-	pos += 2;
-	igt_assert(pos < last);
-
-	if (*pos == 'y')
-		return true;
-	if (*pos == 'n')
-		return false;
-
-	igt_assert_f(false, "Could not read boolean value for %s.\n", name);
-	return false;
-}
-
-static void
-dbg_get_status(struct status *stat)
-{
-	char *first, *last;
-	int nread;
-
-	lseek(dbg.status_fd, 0, SEEK_SET);
-	nread = read(dbg.status_fd, dbg.status_buf, DBG_STATUS_BUF_SIZE);
-	igt_assert_lt(nread, DBG_STATUS_BUF_SIZE);
-	dbg.status_buf[nread] = '\0';
-
-	memset(stat, 0, sizeof(*stat));
-
-	dbg_get_status_section("SSEU Device Info", &first, &last);
-	for (char *tmp = first; tmp < last; tmp++)
-		igt_debug("%c", *tmp);
-	igt_debug("\n");
-	stat->info.slice_total =
-		dbg_get_int(first, last, "Available Slice Total:");
-	stat->info.subslice_total =
-		dbg_get_int(first, last, "Available Subslice Total:");
-	/* Dealing with a change in 4.17. */
-	if (dbg_has_line(first, last, "Available Subslice Per Slice:")) {
-		stat->info.subslice_per =
-			dbg_get_int(first, last, "Available Subslice Per Slice:");
-	} else {
-		stat->info.subslice_per =
-			dbg_get_int(first, last, "Available Slice0 subslices:");
-	}
-	stat->info.eu_total =
-		dbg_get_int(first, last, "Available EU Total:");
-	stat->info.eu_per =
-		dbg_get_int(first, last, "Available EU Per Subslice:");
-	stat->info.has_slice_pg =
-		dbg_get_bool(first, last, "Has Slice Power Gating:");
-	stat->info.has_subslice_pg =
-		dbg_get_bool(first, last, "Has Subslice Power Gating:");
-	stat->info.has_eu_pg =
-		dbg_get_bool(first, last, "Has EU Power Gating:");
-
-	dbg_get_status_section("SSEU Device Status", &first, &last);
-	for (char *tmp = first; tmp < last; tmp++)
-		igt_debug("%c", *tmp);
-	igt_debug("\n");
-	stat->hw.slice_total =
-		dbg_get_int(first, last, "Enabled Slice Total:");
-	stat->hw.subslice_total =
-		dbg_get_int(first, last, "Enabled Subslice Total:");
-	/* Dealing with a change in 4.17. */
-	if (dbg_has_line(first, last, "Enabled Subslice Per Slice:")) {
-		stat->hw.subslice_per =
-			dbg_get_int(first, last, "Enabled Subslice Per Slice:");
-	} else if (dbg_has_line(first, last, "Enabled Slice0 subslices:")) {
-		stat->hw.subslice_per =
-			dbg_get_int(first, last, "Enabled Slice0 subslices:");
-	}
-	stat->hw.eu_total =
-		dbg_get_int(first, last, "Enabled EU Total:");
-	stat->hw.eu_per =
-		dbg_get_int(first, last, "Enabled EU Per Subslice:");
-}
-
-static void
-dbg_init(void)
-{
-	igt_assert(gem.init);
-	dbg.status_fd = igt_debugfs_open(gem.drm_fd, "i915_sseu_status", O_RDONLY);
-	igt_skip_on_f(dbg.status_fd == -1,
-		      "debugfs entry 'i915_sseu_status' not found\n");
-	dbg.init = 1;
-}
-
-static void
-dbg_deinit(void)
-{
-	switch (dbg.init)
-	{
-	case 1:
-		close(dbg.status_fd);
-	}
-}
-
-static void
-gem_check_spin(uint32_t spins)
-{
-	uint32_t *data;
-
-	data = (uint32_t*)gem.buf.bo->virtual;
-	igt_assert_eq_u32(*data, spins);
-}
-
-static uint32_t
-gem_get_target_spins(double dt)
-{
-	struct timespec tstart, tdone;
-	double prev_dt, cur_dt;
-	uint32_t spins;
-	int i, ret;
-
-	/* Double increments until we bound the target time */
-	prev_dt = 0.0;
-	for (i = 0; i < 32; i++) {
-		spins = 1 << i;
-		clock_gettime(CLOCK_MONOTONIC, &tstart);
-
-		gem.spinfunc(gem.batch, &gem.buf, spins);
-		ret = drm_intel_bo_map(gem.buf.bo, 0);
-		igt_assert_eq(ret, 0);
-		clock_gettime(CLOCK_MONOTONIC, &tdone);
-
-		gem_check_spin(spins);
-		drm_intel_bo_unmap(gem.buf.bo);
-
-		cur_dt = to_dt(&tstart, &tdone);
-		if (cur_dt > dt)
-			break;
-		prev_dt = cur_dt;
-	}
-	igt_assert_neq(i, 32);
-
-	/* Linearly interpolate between i and i-1 to get target increments */
-	spins = 1 << (i-1); /* lower bound spins */
-	spins += spins * (dt - prev_dt)/(cur_dt - prev_dt); /* target spins */
-
-	return spins;
-}
-
-static void
-gem_init(void)
-{
-	gem.drm_fd = drm_open_driver(DRIVER_INTEL);
-	igt_require_gem(gem.drm_fd);
-	gem.init = 1;
-
-	gem.devid = intel_get_drm_devid(gem.drm_fd);
-	gem.gen = intel_gen(gem.devid);
-	igt_require_f(gem.gen >= 8,
-		      "SSEU power gating only relevant for Gen8+");
-
-	gem.spinfunc = igt_get_media_spinfunc(gem.devid);
-	igt_require(gem.spinfunc);
-
-	gem.bufmgr = drm_intel_bufmgr_gem_init(gem.drm_fd, 4096);
-	igt_assert(gem.bufmgr);
-	gem.init = 2;
-
-	drm_intel_bufmgr_gem_enable_reuse(gem.bufmgr);
-
-	gem.batch = intel_batchbuffer_alloc(gem.bufmgr, gem.devid);
-	igt_assert(gem.batch);
-	gem.init = 3;
-
-	gem.buf.surface[0].stride = sizeof(uint32_t);
-	gem.buf.tiling = I915_TILING_NONE;
-	gem.buf.surface[0].size = gem.buf.surface[0].stride;
-	gem.buf.bo = drm_intel_bo_alloc(gem.bufmgr, "",
-					gem.buf.surface[0].size, 4096);
-	gem.buf.bpp = 32;
-	igt_assert(gem.buf.bo);
-	gem.init = 4;
-
-	gem.spins_per_msec = gem_get_target_spins(100) / 100;
-}
-
-static void
-gem_deinit(void)
-{
-	switch (gem.init)
-	{
-	case 4:
-		drm_intel_bo_unmap(gem.buf.bo);
-		drm_intel_bo_unreference(gem.buf.bo);
-	case 3:
-		intel_batchbuffer_free(gem.batch);
-	case 2:
-		drm_intel_bufmgr_destroy(gem.bufmgr);
-	case 1:
-		close(gem.drm_fd);
-	}
-}
-
-static void
-check_full_enable(struct status *stat)
-{
-	igt_assert_eq(stat->hw.slice_total, stat->info.slice_total);
-	igt_assert_eq(stat->hw.subslice_total, stat->info.subslice_total);
-	igt_assert_eq(stat->hw.subslice_per, stat->info.subslice_per);
-
-	/*
-	 * EU are powered in pairs, but it is possible for one EU in the pair
-	 * to be non-functional due to fusing. The determination of enabled
-	 * EU does not account for this and can therefore actually exceed the
-	 * available count. Allow for this small discrepancy in our
-	 * comparison.
-	*/
-	igt_assert_lte(stat->info.eu_total, stat->hw.eu_total);
-	igt_assert_lte(stat->info.eu_per, stat->hw.eu_per);
-}
-
-static void
-full_enable(void)
-{
-	struct status stat;
-	const int spin_msec = 10;
-	int ret, spins;
-
-	/*
-	 * Gen9 SKL is the first case in which render power gating can leave
-	 * slice/subslice/EU in a partially enabled state upon resumption of
-	 * render work. So start checking that this is prevented as of Gen9.
-	*/
-	igt_require(gem.gen >= 9);
-
-	spins = spin_msec * gem.spins_per_msec;
-
-	gem.spinfunc(gem.batch, &gem.buf, spins);
-
-	usleep(2000); /* 2ms wait to make sure batch is running */
-	dbg_get_status(&stat);
-
-	ret = drm_intel_bo_map(gem.buf.bo, 0);
-	igt_assert_eq(ret, 0);
-
-	gem_check_spin(spins);
-	drm_intel_bo_unmap(gem.buf.bo);
-
-	check_full_enable(&stat);
-}
-
-static void
-exit_handler(int sig)
-{
-	dbg_deinit();
-	gem_deinit();
-}
-
-igt_main
-{
-	igt_fixture {
-		igt_install_exit_handler(exit_handler);
-
-		gem_init();
-		dbg_init();
-	}
-
-	igt_subtest("full-enable")
-		full_enable();
-}
diff --git a/tests/meson.build b/tests/meson.build
index e882f4dc..a890e779 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -221,7 +221,6 @@ i915_progs = [
 	'i915_pm_rpm',
 	'i915_pm_dc',
 	'i915_pm_rps',
-	'i915_pm_sseu',
 	'i915_query',
 	'i915_selftest',
 	'i915_suspend',
-- 
2.25.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [igt-dev] [PATCH] tests/i915_pm_sseu: remove broken test
  2020-04-07 22:04 [igt-dev] [PATCH] tests/i915_pm_sseu: remove broken test Andi Shyti
@ 2020-04-07 22:22 ` Chris Wilson
  2020-04-07 23:55 ` [igt-dev] [PATCH v2] " Andi Shyti
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2020-04-07 22:22 UTC (permalink / raw)
  To: Andi Shyti, Intel IGT; +Cc: Andi Shyti

Quoting Andi Shyti (2020-04-07 23:04:35)
> From: Andi Shyti <andi.shyti@intel.com>
> 
> the i915_pm_sseu test is disabled by default and anyway basked on
> a broken debugfs interface on its way to be removed.
> 
> Remove it.

The plan was to replace it with a selftest, but that never materialised
and can be offloaded to anyone looking to do dynamic sseu.
 
> Signed-off-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>

Throw in a Closes: so that gitlab can automatically close the associated
bugs.
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [igt-dev] [PATCH v2] tests/i915_pm_sseu: remove broken test
  2020-04-07 22:04 [igt-dev] [PATCH] tests/i915_pm_sseu: remove broken test Andi Shyti
  2020-04-07 22:22 ` Chris Wilson
@ 2020-04-07 23:55 ` Andi Shyti
  2020-04-08  1:34 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2020-04-08 10:12 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  3 siblings, 0 replies; 5+ messages in thread
From: Andi Shyti @ 2020-04-07 23:55 UTC (permalink / raw)
  To: Intel IGT; +Cc: Lucas De Marchi, Chris Wilson, Andi Shyti

From: Andi Shyti <andi.shyti@intel.com>

the i915_pm_sseu test is disabled by default and anyway basked on
a broken debugfs interface on its way to be removed.

Remove it.

Closes: https://gitlab.freedesktop.org/drm/intel/issues/286
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/863
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1388
Signed-off-by: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
---
Thanks Chris!

v2:
 - just added some Closes for gitlab

 tests/Makefile.sources    |   3 -
 tests/i915/i915_pm_sseu.c | 397 --------------------------------------
 tests/meson.build         |   1 -
 3 files changed, 401 deletions(-)
 delete mode 100644 tests/i915/i915_pm_sseu.c

diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index 4e44c98c..6d312b85 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -491,9 +491,6 @@ i915_pm_dc_SOURCES = i915/i915_pm_dc.c
 TESTS_progs += i915_pm_rps
 i915_pm_rps_SOURCES = i915/i915_pm_rps.c
 
-TESTS_progs += i915_pm_sseu
-i915_pm_sseu_SOURCES = i915/i915_pm_sseu.c
-
 TESTS_progs += i915_query
 i915_query_SOURCES = i915/i915_query.c
 
diff --git a/tests/i915/i915_pm_sseu.c b/tests/i915/i915_pm_sseu.c
deleted file mode 100644
index c2dee118..00000000
--- a/tests/i915/i915_pm_sseu.c
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
- * Copyright © 2015 Intel Corporation
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- *
- * Authors:
- *    Jeff McGee <jeff.mcgee@intel.com>
- */
-
-#include "igt.h"
-#include <fcntl.h>
-#include <unistd.h>
-#include <string.h>
-#include <errno.h>
-#include <time.h>
-#include "i915_drm.h"
-#include "intel_bufmgr.h"
-
-IGT_TEST_DESCRIPTION("Tests slice/subslice/EU power gating functionality.\n");
-
-static struct {
-	int init;
-	int drm_fd;
-	int devid;
-	int gen;
-	drm_intel_bufmgr *bufmgr;
-	struct intel_batchbuffer *batch;
-	igt_media_spinfunc_t spinfunc;
-	struct igt_buf buf;
-	uint32_t spins_per_msec;
-} gem;
-
-static double
-to_dt(const struct timespec *start, const struct timespec *end)
-{
-	double dt;
-
-	dt = (end->tv_sec - start->tv_sec) * 1e3;
-	dt += (end->tv_nsec - start->tv_nsec) * 1e-6;
-
-	return dt;
-}
-
-struct status {
-	struct {
-		int slice_total;
-		int subslice_total;
-		int subslice_per;
-		int eu_total;
-		int eu_per;
-		bool has_slice_pg;
-		bool has_subslice_pg;
-		bool has_eu_pg;
-	} info;
-	struct {
-		int slice_total;
-		int subslice_total;
-		int subslice_per;
-		int eu_total;
-		int eu_per;
-	} hw;
-};
-
-#define DBG_STATUS_BUF_SIZE 4096
-
-struct {
-	int init;
-	int status_fd;
-	char status_buf[DBG_STATUS_BUF_SIZE];
-} dbg;
-
-static void
-dbg_get_status_section(const char *title, char **first, char **last)
-{
-	char *pos;
-
-	*first = strstr(dbg.status_buf, title);
-	igt_assert(*first != NULL);
-
-	pos = *first;
-	do {
-		pos = strchr(pos, '\n');
-		igt_assert(pos != NULL);
-		pos++;
-	} while (*pos == ' '); /* lines in the section begin with a space */
-	*last = pos - 1;
-}
-
-static bool
-dbg_has_line(const char *first, const char *last, const char *name)
-{
-	char *pos = strstr(first, name);
-
-	return pos != NULL && pos < last;
-}
-
-static int
-dbg_get_int(const char *first, const char *last, const char *name)
-{
-	char *pos;
-
-	pos = strstr(first, name);
-	igt_assert(pos != NULL);
-	pos = strstr(pos, ":");
-	igt_assert(pos != NULL);
-	pos += 2;
-	igt_assert(pos != last);
-
-	return strtol(pos, &pos, 10);
-}
-
-static bool
-dbg_get_bool(const char *first, const char *last, const char *name)
-{
-	char *pos;
-
-	pos = strstr(first, name);
-	igt_assert(pos != NULL);
-	pos = strstr(pos, ":");
-	igt_assert(pos != NULL);
-	pos += 2;
-	igt_assert(pos < last);
-
-	if (*pos == 'y')
-		return true;
-	if (*pos == 'n')
-		return false;
-
-	igt_assert_f(false, "Could not read boolean value for %s.\n", name);
-	return false;
-}
-
-static void
-dbg_get_status(struct status *stat)
-{
-	char *first, *last;
-	int nread;
-
-	lseek(dbg.status_fd, 0, SEEK_SET);
-	nread = read(dbg.status_fd, dbg.status_buf, DBG_STATUS_BUF_SIZE);
-	igt_assert_lt(nread, DBG_STATUS_BUF_SIZE);
-	dbg.status_buf[nread] = '\0';
-
-	memset(stat, 0, sizeof(*stat));
-
-	dbg_get_status_section("SSEU Device Info", &first, &last);
-	for (char *tmp = first; tmp < last; tmp++)
-		igt_debug("%c", *tmp);
-	igt_debug("\n");
-	stat->info.slice_total =
-		dbg_get_int(first, last, "Available Slice Total:");
-	stat->info.subslice_total =
-		dbg_get_int(first, last, "Available Subslice Total:");
-	/* Dealing with a change in 4.17. */
-	if (dbg_has_line(first, last, "Available Subslice Per Slice:")) {
-		stat->info.subslice_per =
-			dbg_get_int(first, last, "Available Subslice Per Slice:");
-	} else {
-		stat->info.subslice_per =
-			dbg_get_int(first, last, "Available Slice0 subslices:");
-	}
-	stat->info.eu_total =
-		dbg_get_int(first, last, "Available EU Total:");
-	stat->info.eu_per =
-		dbg_get_int(first, last, "Available EU Per Subslice:");
-	stat->info.has_slice_pg =
-		dbg_get_bool(first, last, "Has Slice Power Gating:");
-	stat->info.has_subslice_pg =
-		dbg_get_bool(first, last, "Has Subslice Power Gating:");
-	stat->info.has_eu_pg =
-		dbg_get_bool(first, last, "Has EU Power Gating:");
-
-	dbg_get_status_section("SSEU Device Status", &first, &last);
-	for (char *tmp = first; tmp < last; tmp++)
-		igt_debug("%c", *tmp);
-	igt_debug("\n");
-	stat->hw.slice_total =
-		dbg_get_int(first, last, "Enabled Slice Total:");
-	stat->hw.subslice_total =
-		dbg_get_int(first, last, "Enabled Subslice Total:");
-	/* Dealing with a change in 4.17. */
-	if (dbg_has_line(first, last, "Enabled Subslice Per Slice:")) {
-		stat->hw.subslice_per =
-			dbg_get_int(first, last, "Enabled Subslice Per Slice:");
-	} else if (dbg_has_line(first, last, "Enabled Slice0 subslices:")) {
-		stat->hw.subslice_per =
-			dbg_get_int(first, last, "Enabled Slice0 subslices:");
-	}
-	stat->hw.eu_total =
-		dbg_get_int(first, last, "Enabled EU Total:");
-	stat->hw.eu_per =
-		dbg_get_int(first, last, "Enabled EU Per Subslice:");
-}
-
-static void
-dbg_init(void)
-{
-	igt_assert(gem.init);
-	dbg.status_fd = igt_debugfs_open(gem.drm_fd, "i915_sseu_status", O_RDONLY);
-	igt_skip_on_f(dbg.status_fd == -1,
-		      "debugfs entry 'i915_sseu_status' not found\n");
-	dbg.init = 1;
-}
-
-static void
-dbg_deinit(void)
-{
-	switch (dbg.init)
-	{
-	case 1:
-		close(dbg.status_fd);
-	}
-}
-
-static void
-gem_check_spin(uint32_t spins)
-{
-	uint32_t *data;
-
-	data = (uint32_t*)gem.buf.bo->virtual;
-	igt_assert_eq_u32(*data, spins);
-}
-
-static uint32_t
-gem_get_target_spins(double dt)
-{
-	struct timespec tstart, tdone;
-	double prev_dt, cur_dt;
-	uint32_t spins;
-	int i, ret;
-
-	/* Double increments until we bound the target time */
-	prev_dt = 0.0;
-	for (i = 0; i < 32; i++) {
-		spins = 1 << i;
-		clock_gettime(CLOCK_MONOTONIC, &tstart);
-
-		gem.spinfunc(gem.batch, &gem.buf, spins);
-		ret = drm_intel_bo_map(gem.buf.bo, 0);
-		igt_assert_eq(ret, 0);
-		clock_gettime(CLOCK_MONOTONIC, &tdone);
-
-		gem_check_spin(spins);
-		drm_intel_bo_unmap(gem.buf.bo);
-
-		cur_dt = to_dt(&tstart, &tdone);
-		if (cur_dt > dt)
-			break;
-		prev_dt = cur_dt;
-	}
-	igt_assert_neq(i, 32);
-
-	/* Linearly interpolate between i and i-1 to get target increments */
-	spins = 1 << (i-1); /* lower bound spins */
-	spins += spins * (dt - prev_dt)/(cur_dt - prev_dt); /* target spins */
-
-	return spins;
-}
-
-static void
-gem_init(void)
-{
-	gem.drm_fd = drm_open_driver(DRIVER_INTEL);
-	igt_require_gem(gem.drm_fd);
-	gem.init = 1;
-
-	gem.devid = intel_get_drm_devid(gem.drm_fd);
-	gem.gen = intel_gen(gem.devid);
-	igt_require_f(gem.gen >= 8,
-		      "SSEU power gating only relevant for Gen8+");
-
-	gem.spinfunc = igt_get_media_spinfunc(gem.devid);
-	igt_require(gem.spinfunc);
-
-	gem.bufmgr = drm_intel_bufmgr_gem_init(gem.drm_fd, 4096);
-	igt_assert(gem.bufmgr);
-	gem.init = 2;
-
-	drm_intel_bufmgr_gem_enable_reuse(gem.bufmgr);
-
-	gem.batch = intel_batchbuffer_alloc(gem.bufmgr, gem.devid);
-	igt_assert(gem.batch);
-	gem.init = 3;
-
-	gem.buf.surface[0].stride = sizeof(uint32_t);
-	gem.buf.tiling = I915_TILING_NONE;
-	gem.buf.surface[0].size = gem.buf.surface[0].stride;
-	gem.buf.bo = drm_intel_bo_alloc(gem.bufmgr, "",
-					gem.buf.surface[0].size, 4096);
-	gem.buf.bpp = 32;
-	igt_assert(gem.buf.bo);
-	gem.init = 4;
-
-	gem.spins_per_msec = gem_get_target_spins(100) / 100;
-}
-
-static void
-gem_deinit(void)
-{
-	switch (gem.init)
-	{
-	case 4:
-		drm_intel_bo_unmap(gem.buf.bo);
-		drm_intel_bo_unreference(gem.buf.bo);
-	case 3:
-		intel_batchbuffer_free(gem.batch);
-	case 2:
-		drm_intel_bufmgr_destroy(gem.bufmgr);
-	case 1:
-		close(gem.drm_fd);
-	}
-}
-
-static void
-check_full_enable(struct status *stat)
-{
-	igt_assert_eq(stat->hw.slice_total, stat->info.slice_total);
-	igt_assert_eq(stat->hw.subslice_total, stat->info.subslice_total);
-	igt_assert_eq(stat->hw.subslice_per, stat->info.subslice_per);
-
-	/*
-	 * EU are powered in pairs, but it is possible for one EU in the pair
-	 * to be non-functional due to fusing. The determination of enabled
-	 * EU does not account for this and can therefore actually exceed the
-	 * available count. Allow for this small discrepancy in our
-	 * comparison.
-	*/
-	igt_assert_lte(stat->info.eu_total, stat->hw.eu_total);
-	igt_assert_lte(stat->info.eu_per, stat->hw.eu_per);
-}
-
-static void
-full_enable(void)
-{
-	struct status stat;
-	const int spin_msec = 10;
-	int ret, spins;
-
-	/*
-	 * Gen9 SKL is the first case in which render power gating can leave
-	 * slice/subslice/EU in a partially enabled state upon resumption of
-	 * render work. So start checking that this is prevented as of Gen9.
-	*/
-	igt_require(gem.gen >= 9);
-
-	spins = spin_msec * gem.spins_per_msec;
-
-	gem.spinfunc(gem.batch, &gem.buf, spins);
-
-	usleep(2000); /* 2ms wait to make sure batch is running */
-	dbg_get_status(&stat);
-
-	ret = drm_intel_bo_map(gem.buf.bo, 0);
-	igt_assert_eq(ret, 0);
-
-	gem_check_spin(spins);
-	drm_intel_bo_unmap(gem.buf.bo);
-
-	check_full_enable(&stat);
-}
-
-static void
-exit_handler(int sig)
-{
-	dbg_deinit();
-	gem_deinit();
-}
-
-igt_main
-{
-	igt_fixture {
-		igt_install_exit_handler(exit_handler);
-
-		gem_init();
-		dbg_init();
-	}
-
-	igt_subtest("full-enable")
-		full_enable();
-}
diff --git a/tests/meson.build b/tests/meson.build
index e882f4dc..a890e779 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -221,7 +221,6 @@ i915_progs = [
 	'i915_pm_rpm',
 	'i915_pm_dc',
 	'i915_pm_rps',
-	'i915_pm_sseu',
 	'i915_query',
 	'i915_selftest',
 	'i915_suspend',
-- 
2.25.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for tests/i915_pm_sseu: remove broken test
  2020-04-07 22:04 [igt-dev] [PATCH] tests/i915_pm_sseu: remove broken test Andi Shyti
  2020-04-07 22:22 ` Chris Wilson
  2020-04-07 23:55 ` [igt-dev] [PATCH v2] " Andi Shyti
@ 2020-04-08  1:34 ` Patchwork
  2020-04-08 10:12 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  3 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2020-04-08  1:34 UTC (permalink / raw)
  To: Andi Shyti; +Cc: igt-dev

== Series Details ==

Series: tests/i915_pm_sseu: remove broken test
URL   : https://patchwork.freedesktop.org/series/75645/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_8270 -> IGTPW_4429
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/index.html

Known issues
------------

  Here are the changes found in IGTPW_4429 that come from known issues:

### IGT changes ###

#### Possible fixes ####

  * igt@i915_selftest@live@execlists:
    - fi-tgl-y:           [INCOMPLETE][1] ([i915#656]) -> [PASS][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/fi-tgl-y/igt@i915_selftest@live@execlists.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/fi-tgl-y/igt@i915_selftest@live@execlists.html

  
#### Warnings ####

  * igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
    - fi-kbl-x1275:       [DMESG-WARN][3] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][4] ([i915#62] / [i915#92]) +1 similar issue
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html

  * igt@kms_force_connector_basic@force-edid:
    - fi-kbl-x1275:       [DMESG-WARN][5] ([i915#62] / [i915#92]) -> [DMESG-WARN][6] ([i915#62] / [i915#92] / [i915#95]) +3 similar issues
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/fi-kbl-x1275/igt@kms_force_connector_basic@force-edid.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/fi-kbl-x1275/igt@kms_force_connector_basic@force-edid.html

  
  [i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
  [i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656
  [i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
  [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95


Participating hosts (54 -> 47)
------------------------------

  Missing    (7): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_5577 -> IGTPW_4429

  CI-20190529: 20190529
  CI_DRM_8270: 3375eae2472503b49dcac86a09ab0018243f9f01 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_4429: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/index.html
  IGT_5577: 7ee7e86fd79e4dbb6300ef4c23e50cb699216ae2 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools



== Testlist changes ==

-igt@i915_pm_sseu@full-enable

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [igt-dev] ✓ Fi.CI.IGT: success for tests/i915_pm_sseu: remove broken test
  2020-04-07 22:04 [igt-dev] [PATCH] tests/i915_pm_sseu: remove broken test Andi Shyti
                   ` (2 preceding siblings ...)
  2020-04-08  1:34 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2020-04-08 10:12 ` Patchwork
  3 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2020-04-08 10:12 UTC (permalink / raw)
  To: Andi Shyti; +Cc: igt-dev

== Series Details ==

Series: tests/i915_pm_sseu: remove broken test
URL   : https://patchwork.freedesktop.org/series/75645/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_8270_full -> IGTPW_4429_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/index.html

Known issues
------------

  Here are the changes found in IGTPW_4429_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_big_fb@linear-32bpp-rotate-180:
    - shard-apl:          [PASS][1] -> [FAIL][2] ([i915#1119] / [i915#95])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl2/igt@kms_big_fb@linear-32bpp-rotate-180.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl8/igt@kms_big_fb@linear-32bpp-rotate-180.html
    - shard-kbl:          [PASS][3] -> [FAIL][4] ([i915#1119] / [i915#93] / [i915#95])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl3/igt@kms_big_fb@linear-32bpp-rotate-180.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl7/igt@kms_big_fb@linear-32bpp-rotate-180.html

  * igt@kms_cursor_crc@pipe-a-cursor-128x128-offscreen:
    - shard-kbl:          [PASS][5] -> [FAIL][6] ([i915#54] / [i915#93] / [i915#95]) +3 similar issues
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl2/igt@kms_cursor_crc@pipe-a-cursor-128x128-offscreen.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-128x128-offscreen.html

  * igt@kms_cursor_crc@pipe-a-cursor-128x42-sliding:
    - shard-apl:          [PASS][7] -> [FAIL][8] ([i915#54] / [i915#95]) +2 similar issues
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl7/igt@kms_cursor_crc@pipe-a-cursor-128x42-sliding.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl7/igt@kms_cursor_crc@pipe-a-cursor-128x42-sliding.html

  * igt@kms_cursor_crc@pipe-c-cursor-suspend:
    - shard-kbl:          [PASS][9] -> [DMESG-WARN][10] ([i915#180]) +5 similar issues
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl1/igt@kms_cursor_crc@pipe-c-cursor-suspend.html

  * igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
    - shard-hsw:          [PASS][11] -> [SKIP][12] ([fdo#109271])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-hsw8/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-hsw5/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html

  * igt@kms_draw_crc@draw-method-rgb565-render-untiled:
    - shard-glk:          [PASS][13] -> [FAIL][14] ([i915#52] / [i915#54]) +2 similar issues
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk6/igt@kms_draw_crc@draw-method-rgb565-render-untiled.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk2/igt@kms_draw_crc@draw-method-rgb565-render-untiled.html

  * igt@kms_fbcon_fbt@fbc-suspend:
    - shard-apl:          [PASS][15] -> [FAIL][16] ([i915#1525] / [i915#95])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl4/igt@kms_fbcon_fbt@fbc-suspend.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl6/igt@kms_fbcon_fbt@fbc-suspend.html
    - shard-kbl:          [PASS][17] -> [FAIL][18] ([i915#64] / [i915#93] / [i915#95])
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl2/igt@kms_fbcon_fbt@fbc-suspend.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl6/igt@kms_fbcon_fbt@fbc-suspend.html

  * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
    - shard-apl:          [PASS][19] -> [DMESG-WARN][20] ([i915#180]) +2 similar issues
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl1/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html

  * igt@kms_plane_cursor@pipe-a-viewport-size-128:
    - shard-kbl:          [PASS][21] -> [FAIL][22] ([i915#1559] / [i915#93] / [i915#95])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl4/igt@kms_plane_cursor@pipe-a-viewport-size-128.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl7/igt@kms_plane_cursor@pipe-a-viewport-size-128.html

  * igt@kms_plane_lowres@pipe-a-tiling-x:
    - shard-glk:          [PASS][23] -> [FAIL][24] ([i915#899]) +1 similar issue
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk5/igt@kms_plane_lowres@pipe-a-tiling-x.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk9/igt@kms_plane_lowres@pipe-a-tiling-x.html

  * igt@kms_psr@psr2_no_drrs:
    - shard-iclb:         [PASS][25] -> [SKIP][26] ([fdo#109441]) +2 similar issues
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-iclb8/igt@kms_psr@psr2_no_drrs.html

  * igt@perf@gen12-mi-rpc:
    - shard-tglb:         [PASS][27] -> [FAIL][28] ([i915#1085])
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-tglb7/igt@perf@gen12-mi-rpc.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-tglb6/igt@perf@gen12-mi-rpc.html

  
#### Possible fixes ####

  * {igt@gem_wait@write-busy@all}:
    - shard-glk:          [FAIL][29] ([i915#1604]) -> [PASS][30]
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk2/igt@gem_wait@write-busy@all.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk1/igt@gem_wait@write-busy@all.html

  * igt@i915_pm_rc6_residency@rc6-idle:
    - shard-snb:          [FAIL][31] ([i915#1066]) -> [PASS][32]
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-snb5/igt@i915_pm_rc6_residency@rc6-idle.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-snb6/igt@i915_pm_rc6_residency@rc6-idle.html

  * igt@i915_pm_rpm@fences:
    - shard-tglb:         [SKIP][33] ([i915#1316] / [i915#579]) -> [PASS][34]
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-tglb6/igt@i915_pm_rpm@fences.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-tglb1/igt@i915_pm_rpm@fences.html
    - shard-iclb:         [SKIP][35] ([i915#1316] / [i915#579]) -> [PASS][36]
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-iclb7/igt@i915_pm_rpm@fences.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-iclb1/igt@i915_pm_rpm@fences.html
    - shard-hsw:          [SKIP][37] ([fdo#109271]) -> [PASS][38]
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-hsw4/igt@i915_pm_rpm@fences.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-hsw4/igt@i915_pm_rpm@fences.html
    - shard-glk:          [SKIP][39] ([fdo#109271]) -> [PASS][40]
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk7/igt@i915_pm_rpm@fences.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk6/igt@i915_pm_rpm@fences.html

  * igt@kms_cursor_legacy@cursor-vs-flip-toggle:
    - shard-hsw:          [FAIL][41] ([i915#57]) -> [PASS][42]
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-hsw6/igt@kms_cursor_legacy@cursor-vs-flip-toggle.html
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-hsw7/igt@kms_cursor_legacy@cursor-vs-flip-toggle.html

  * igt@kms_cursor_legacy@long-nonblocking-modeset-vs-cursor-atomic:
    - shard-glk:          [FAIL][43] ([i915#67]) -> [PASS][44]
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk2/igt@kms_cursor_legacy@long-nonblocking-modeset-vs-cursor-atomic.html
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk3/igt@kms_cursor_legacy@long-nonblocking-modeset-vs-cursor-atomic.html

  * igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-ytiled:
    - shard-glk:          [FAIL][45] ([i915#52] / [i915#54]) -> [PASS][46] +3 similar issues
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk8/igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-ytiled.html
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk1/igt@kms_draw_crc@draw-method-rgb565-mmap-gtt-ytiled.html

  * igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled:
    - shard-glk:          [FAIL][47] ([i915#177] / [i915#52] / [i915#54]) -> [PASS][48]
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk5/igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled.html
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk9/igt@kms_draw_crc@draw-method-rgb565-pwrite-untiled.html

  * igt@kms_draw_crc@fill-fb:
    - shard-apl:          [FAIL][49] ([i915#95]) -> [PASS][50]
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl3/igt@kms_draw_crc@fill-fb.html
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl3/igt@kms_draw_crc@fill-fb.html

  * igt@kms_flip@2x-flip-vs-expired-vblank:
    - shard-glk:          [FAIL][51] ([i915#79]) -> [PASS][52]
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-glk2/igt@kms_flip@2x-flip-vs-expired-vblank.html
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-glk7/igt@kms_flip@2x-flip-vs-expired-vblank.html

  * igt@kms_flip@flip-vs-suspend:
    - shard-hsw:          [INCOMPLETE][53] ([i915#61]) -> [PASS][54]
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-hsw4/igt@kms_flip@flip-vs-suspend.html
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-hsw7/igt@kms_flip@flip-vs-suspend.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc:
    - shard-snb:          [SKIP][55] ([fdo#109271]) -> [PASS][56] +3 similar issues
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-snb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc.html
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-snb7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-wc.html

  * igt@kms_plane_cursor@pipe-a-viewport-size-256:
    - shard-apl:          [FAIL][57] ([i915#1559] / [i915#95]) -> [PASS][58]
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl7/igt@kms_plane_cursor@pipe-a-viewport-size-256.html
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl3/igt@kms_plane_cursor@pipe-a-viewport-size-256.html
    - shard-kbl:          [FAIL][59] ([i915#1559] / [i915#93] / [i915#95]) -> [PASS][60]
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl6/igt@kms_plane_cursor@pipe-a-viewport-size-256.html
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl4/igt@kms_plane_cursor@pipe-a-viewport-size-256.html

  * igt@kms_psr@psr2_primary_render:
    - shard-iclb:         [SKIP][61] ([fdo#109441]) -> [PASS][62]
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-iclb8/igt@kms_psr@psr2_primary_render.html
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-iclb2/igt@kms_psr@psr2_primary_render.html

  * igt@kms_vblank@pipe-b-ts-continuation-suspend:
    - shard-kbl:          [DMESG-WARN][63] ([i915#180]) -> [PASS][64] +1 similar issue
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl3/igt@kms_vblank@pipe-b-ts-continuation-suspend.html
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl2/igt@kms_vblank@pipe-b-ts-continuation-suspend.html

  * {igt@perf@blocking-parameterized}:
    - shard-kbl:          [FAIL][65] ([i915#1542]) -> [PASS][66]
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl3/igt@perf@blocking-parameterized.html
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl2/igt@perf@blocking-parameterized.html
    - shard-iclb:         [FAIL][67] ([i915#1542]) -> [PASS][68]
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-iclb5/igt@perf@blocking-parameterized.html
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-iclb8/igt@perf@blocking-parameterized.html

  * {igt@perf@polling-parameterized}:
    - shard-hsw:          [FAIL][69] ([i915#1542]) -> [PASS][70]
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-hsw8/igt@perf@polling-parameterized.html
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-hsw4/igt@perf@polling-parameterized.html

  
#### Warnings ####

  * igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
    - shard-snb:          [SKIP][71] ([fdo#109271]) -> [INCOMPLETE][72] ([i915#82])
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-snb6/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-snb6/igt@i915_pm_rpm@modeset-lpsp-stress-no-wait.html

  * igt@kms_content_protection@uevent:
    - shard-kbl:          [FAIL][73] ([i915#357]) -> [FAIL][74] ([i915#357] / [i915#93] / [i915#95])
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl1/igt@kms_content_protection@uevent.html
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl6/igt@kms_content_protection@uevent.html
    - shard-apl:          [FAIL][75] ([i915#357]) -> [FAIL][76] ([i915#357] / [i915#95])
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl8/igt@kms_content_protection@uevent.html
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl8/igt@kms_content_protection@uevent.html

  * igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
    - shard-apl:          [FAIL][77] ([fdo#108145] / [i915#265]) -> [FAIL][78] ([fdo#108145] / [i915#265] / [i915#95])
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-apl4/igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max.html
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-apl1/igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max.html
    - shard-kbl:          [FAIL][79] ([fdo#108145] / [i915#265]) -> [FAIL][80] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95])
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8270/shard-kbl4/igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max.html
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/shard-kbl3/igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [i915#1066]: https://gitlab.freedesktop.org/drm/intel/issues/1066
  [i915#1085]: https://gitlab.freedesktop.org/drm/intel/issues/1085
  [i915#1119]: https://gitlab.freedesktop.org/drm/intel/issues/1119
  [i915#1316]: https://gitlab.freedesktop.org/drm/intel/issues/1316
  [i915#1525]: https://gitlab.freedesktop.org/drm/intel/issues/1525
  [i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
  [i915#1559]: https://gitlab.freedesktop.org/drm/intel/issues/1559
  [i915#1604]: https://gitlab.freedesktop.org/drm/intel/issues/1604
  [i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177
  [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
  [i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
  [i915#357]: https://gitlab.freedesktop.org/drm/intel/issues/357
  [i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52
  [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
  [i915#57]: https://gitlab.freedesktop.org/drm/intel/issues/57
  [i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
  [i915#61]: https://gitlab.freedesktop.org/drm/intel/issues/61
  [i915#64]: https://gitlab.freedesktop.org/drm/intel/issues/64
  [i915#67]: https://gitlab.freedesktop.org/drm/intel/issues/67
  [i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
  [i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82
  [i915#899]: https://gitlab.freedesktop.org/drm/intel/issues/899
  [i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93
  [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95


Participating hosts (10 -> 8)
------------------------------

  Missing    (2): pig-skl-6260u pig-glk-j5005 


Build changes
-------------

  * CI: CI-20190529 -> None
  * IGT: IGT_5577 -> IGTPW_4429
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_8270: 3375eae2472503b49dcac86a09ab0018243f9f01 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_4429: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/index.html
  IGT_5577: 7ee7e86fd79e4dbb6300ef4c23e50cb699216ae2 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4429/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-08 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-07 22:04 [igt-dev] [PATCH] tests/i915_pm_sseu: remove broken test Andi Shyti
2020-04-07 22:22 ` Chris Wilson
2020-04-07 23:55 ` [igt-dev] [PATCH v2] " Andi Shyti
2020-04-08  1:34 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-04-08 10:12 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox