All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Actually delete gpu reloc selftests
@ 2021-08-20 15:49 ` Daniel Vetter
  0 siblings, 0 replies; 12+ messages in thread
From: Daniel Vetter @ 2021-08-20 15:49 UTC (permalink / raw)
  To: Intel Graphics Development
  Cc: DRI Development, Daniel Vetter, Daniel Vetter, Jon Bloomfield,
	Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

In

commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Aug 3 14:48:33 2021 +0200

    drm/i915: delete gpu reloc code

I deleted the gpu relocation code and the selftest include and
enabling, but accidentally forgot about the selftest source code.

Fix this oversight.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
---
 .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
 1 file changed, 190 deletions(-)
 delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c

diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
deleted file mode 100644
index 16162fc2782d..000000000000
--- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
+++ /dev/null
@@ -1,190 +0,0 @@
-// SPDX-License-Identifier: MIT
-/*
- * Copyright © 2020 Intel Corporation
- */
-
-#include "i915_selftest.h"
-
-#include "gt/intel_engine_pm.h"
-#include "selftests/igt_flush_test.h"
-
-static u64 read_reloc(const u32 *map, int x, const u64 mask)
-{
-	u64 reloc;
-
-	memcpy(&reloc, &map[x], sizeof(reloc));
-	return reloc & mask;
-}
-
-static int __igt_gpu_reloc(struct i915_execbuffer *eb,
-			   struct drm_i915_gem_object *obj)
-{
-	const unsigned int offsets[] = { 8, 3, 0 };
-	const u64 mask =
-		GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
-	const u32 *map = page_mask_bits(obj->mm.mapping);
-	struct i915_request *rq;
-	struct i915_vma *vma;
-	int err;
-	int i;
-
-	vma = i915_vma_instance(obj, eb->context->vm, NULL);
-	if (IS_ERR(vma))
-		return PTR_ERR(vma);
-
-	err = i915_gem_object_lock(obj, &eb->ww);
-	if (err)
-		return err;
-
-	err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
-	if (err)
-		return err;
-
-	/* 8-Byte aligned */
-	err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
-	if (err <= 0)
-		goto reloc_err;
-
-	/* !8-Byte aligned */
-	err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
-	if (err <= 0)
-		goto reloc_err;
-
-	/* Skip to the end of the cmd page */
-	i = PAGE_SIZE / sizeof(u32) - 1;
-	i -= eb->reloc_cache.rq_size;
-	memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
-		 MI_NOOP, i);
-	eb->reloc_cache.rq_size += i;
-
-	/* Force next batch */
-	err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
-	if (err <= 0)
-		goto reloc_err;
-
-	GEM_BUG_ON(!eb->reloc_cache.rq);
-	rq = i915_request_get(eb->reloc_cache.rq);
-	reloc_gpu_flush(eb, &eb->reloc_cache);
-	GEM_BUG_ON(eb->reloc_cache.rq);
-
-	err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
-	if (err) {
-		intel_gt_set_wedged(eb->engine->gt);
-		goto put_rq;
-	}
-
-	if (!i915_request_completed(rq)) {
-		pr_err("%s: did not wait for relocations!\n", eb->engine->name);
-		err = -EINVAL;
-		goto put_rq;
-	}
-
-	for (i = 0; i < ARRAY_SIZE(offsets); i++) {
-		u64 reloc = read_reloc(map, offsets[i], mask);
-
-		if (reloc != i) {
-			pr_err("%s[%d]: map[%d] %llx != %x\n",
-			       eb->engine->name, i, offsets[i], reloc, i);
-			err = -EINVAL;
-		}
-	}
-	if (err)
-		igt_hexdump(map, 4096);
-
-put_rq:
-	i915_request_put(rq);
-unpin_vma:
-	i915_vma_unpin(vma);
-	return err;
-
-reloc_err:
-	if (!err)
-		err = -EIO;
-	goto unpin_vma;
-}
-
-static int igt_gpu_reloc(void *arg)
-{
-	struct i915_execbuffer eb;
-	struct drm_i915_gem_object *scratch;
-	int err = 0;
-	u32 *map;
-
-	eb.i915 = arg;
-
-	scratch = i915_gem_object_create_internal(eb.i915, 4096);
-	if (IS_ERR(scratch))
-		return PTR_ERR(scratch);
-
-	map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
-	if (IS_ERR(map)) {
-		err = PTR_ERR(map);
-		goto err_scratch;
-	}
-
-	intel_gt_pm_get(&eb.i915->gt);
-
-	for_each_uabi_engine(eb.engine, eb.i915) {
-		if (intel_engine_requires_cmd_parser(eb.engine) ||
-		    intel_engine_using_cmd_parser(eb.engine))
-			continue;
-
-		reloc_cache_init(&eb.reloc_cache, eb.i915);
-		memset(map, POISON_INUSE, 4096);
-
-		intel_engine_pm_get(eb.engine);
-		eb.context = intel_context_create(eb.engine);
-		if (IS_ERR(eb.context)) {
-			err = PTR_ERR(eb.context);
-			goto err_pm;
-		}
-		eb.reloc_pool = NULL;
-		eb.reloc_context = NULL;
-
-		i915_gem_ww_ctx_init(&eb.ww, false);
-retry:
-		err = intel_context_pin_ww(eb.context, &eb.ww);
-		if (!err) {
-			err = __igt_gpu_reloc(&eb, scratch);
-
-			intel_context_unpin(eb.context);
-		}
-		if (err == -EDEADLK) {
-			err = i915_gem_ww_ctx_backoff(&eb.ww);
-			if (!err)
-				goto retry;
-		}
-		i915_gem_ww_ctx_fini(&eb.ww);
-
-		if (eb.reloc_pool)
-			intel_gt_buffer_pool_put(eb.reloc_pool);
-		if (eb.reloc_context)
-			intel_context_put(eb.reloc_context);
-
-		intel_context_put(eb.context);
-err_pm:
-		intel_engine_pm_put(eb.engine);
-		if (err)
-			break;
-	}
-
-	if (igt_flush_test(eb.i915))
-		err = -EIO;
-
-	intel_gt_pm_put(&eb.i915->gt);
-err_scratch:
-	i915_gem_object_put(scratch);
-	return err;
-}
-
-int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
-{
-	static const struct i915_subtest tests[] = {
-		SUBTEST(igt_gpu_reloc),
-	};
-
-	if (intel_gt_is_wedged(&i915->gt))
-		return 0;
-
-	return i915_live_subtests(tests, i915);
-}
-- 
2.32.0


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

* [Intel-gfx] [PATCH] drm/i915: Actually delete gpu reloc selftests
@ 2021-08-20 15:49 ` Daniel Vetter
  0 siblings, 0 replies; 12+ messages in thread
From: Daniel Vetter @ 2021-08-20 15:49 UTC (permalink / raw)
  To: Intel Graphics Development
  Cc: DRI Development, Daniel Vetter, Daniel Vetter, Jon Bloomfield,
	Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

In

commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Aug 3 14:48:33 2021 +0200

    drm/i915: delete gpu reloc code

I deleted the gpu relocation code and the selftest include and
enabling, but accidentally forgot about the selftest source code.

Fix this oversight.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jon Bloomfield <jon.bloomfield@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
---
 .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
 1 file changed, 190 deletions(-)
 delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c

diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
deleted file mode 100644
index 16162fc2782d..000000000000
--- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
+++ /dev/null
@@ -1,190 +0,0 @@
-// SPDX-License-Identifier: MIT
-/*
- * Copyright © 2020 Intel Corporation
- */
-
-#include "i915_selftest.h"
-
-#include "gt/intel_engine_pm.h"
-#include "selftests/igt_flush_test.h"
-
-static u64 read_reloc(const u32 *map, int x, const u64 mask)
-{
-	u64 reloc;
-
-	memcpy(&reloc, &map[x], sizeof(reloc));
-	return reloc & mask;
-}
-
-static int __igt_gpu_reloc(struct i915_execbuffer *eb,
-			   struct drm_i915_gem_object *obj)
-{
-	const unsigned int offsets[] = { 8, 3, 0 };
-	const u64 mask =
-		GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
-	const u32 *map = page_mask_bits(obj->mm.mapping);
-	struct i915_request *rq;
-	struct i915_vma *vma;
-	int err;
-	int i;
-
-	vma = i915_vma_instance(obj, eb->context->vm, NULL);
-	if (IS_ERR(vma))
-		return PTR_ERR(vma);
-
-	err = i915_gem_object_lock(obj, &eb->ww);
-	if (err)
-		return err;
-
-	err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
-	if (err)
-		return err;
-
-	/* 8-Byte aligned */
-	err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
-	if (err <= 0)
-		goto reloc_err;
-
-	/* !8-Byte aligned */
-	err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
-	if (err <= 0)
-		goto reloc_err;
-
-	/* Skip to the end of the cmd page */
-	i = PAGE_SIZE / sizeof(u32) - 1;
-	i -= eb->reloc_cache.rq_size;
-	memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
-		 MI_NOOP, i);
-	eb->reloc_cache.rq_size += i;
-
-	/* Force next batch */
-	err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
-	if (err <= 0)
-		goto reloc_err;
-
-	GEM_BUG_ON(!eb->reloc_cache.rq);
-	rq = i915_request_get(eb->reloc_cache.rq);
-	reloc_gpu_flush(eb, &eb->reloc_cache);
-	GEM_BUG_ON(eb->reloc_cache.rq);
-
-	err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
-	if (err) {
-		intel_gt_set_wedged(eb->engine->gt);
-		goto put_rq;
-	}
-
-	if (!i915_request_completed(rq)) {
-		pr_err("%s: did not wait for relocations!\n", eb->engine->name);
-		err = -EINVAL;
-		goto put_rq;
-	}
-
-	for (i = 0; i < ARRAY_SIZE(offsets); i++) {
-		u64 reloc = read_reloc(map, offsets[i], mask);
-
-		if (reloc != i) {
-			pr_err("%s[%d]: map[%d] %llx != %x\n",
-			       eb->engine->name, i, offsets[i], reloc, i);
-			err = -EINVAL;
-		}
-	}
-	if (err)
-		igt_hexdump(map, 4096);
-
-put_rq:
-	i915_request_put(rq);
-unpin_vma:
-	i915_vma_unpin(vma);
-	return err;
-
-reloc_err:
-	if (!err)
-		err = -EIO;
-	goto unpin_vma;
-}
-
-static int igt_gpu_reloc(void *arg)
-{
-	struct i915_execbuffer eb;
-	struct drm_i915_gem_object *scratch;
-	int err = 0;
-	u32 *map;
-
-	eb.i915 = arg;
-
-	scratch = i915_gem_object_create_internal(eb.i915, 4096);
-	if (IS_ERR(scratch))
-		return PTR_ERR(scratch);
-
-	map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
-	if (IS_ERR(map)) {
-		err = PTR_ERR(map);
-		goto err_scratch;
-	}
-
-	intel_gt_pm_get(&eb.i915->gt);
-
-	for_each_uabi_engine(eb.engine, eb.i915) {
-		if (intel_engine_requires_cmd_parser(eb.engine) ||
-		    intel_engine_using_cmd_parser(eb.engine))
-			continue;
-
-		reloc_cache_init(&eb.reloc_cache, eb.i915);
-		memset(map, POISON_INUSE, 4096);
-
-		intel_engine_pm_get(eb.engine);
-		eb.context = intel_context_create(eb.engine);
-		if (IS_ERR(eb.context)) {
-			err = PTR_ERR(eb.context);
-			goto err_pm;
-		}
-		eb.reloc_pool = NULL;
-		eb.reloc_context = NULL;
-
-		i915_gem_ww_ctx_init(&eb.ww, false);
-retry:
-		err = intel_context_pin_ww(eb.context, &eb.ww);
-		if (!err) {
-			err = __igt_gpu_reloc(&eb, scratch);
-
-			intel_context_unpin(eb.context);
-		}
-		if (err == -EDEADLK) {
-			err = i915_gem_ww_ctx_backoff(&eb.ww);
-			if (!err)
-				goto retry;
-		}
-		i915_gem_ww_ctx_fini(&eb.ww);
-
-		if (eb.reloc_pool)
-			intel_gt_buffer_pool_put(eb.reloc_pool);
-		if (eb.reloc_context)
-			intel_context_put(eb.reloc_context);
-
-		intel_context_put(eb.context);
-err_pm:
-		intel_engine_pm_put(eb.engine);
-		if (err)
-			break;
-	}
-
-	if (igt_flush_test(eb.i915))
-		err = -EIO;
-
-	intel_gt_pm_put(&eb.i915->gt);
-err_scratch:
-	i915_gem_object_put(scratch);
-	return err;
-}
-
-int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
-{
-	static const struct i915_subtest tests[] = {
-		SUBTEST(igt_gpu_reloc),
-	};
-
-	if (intel_gt_is_wedged(&i915->gt))
-		return 0;
-
-	return i915_live_subtests(tests, i915);
-}
-- 
2.32.0


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

* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Actually delete gpu reloc selftests
  2021-08-20 15:49 ` [Intel-gfx] " Daniel Vetter
  (?)
@ 2021-08-20 16:12 ` Patchwork
  -1 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2021-08-20 16:12 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Actually delete gpu reloc selftests
URL   : https://patchwork.freedesktop.org/series/93872/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
0b7e7b4e909d drm/i915: Actually delete gpu reloc selftests
-:11: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 8e02cceb1f1f ("drm/i915: delete gpu reloc code")'
#11: 
commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7

-:35: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#35: 
deleted file mode 100644

-:229: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: Daniel Vetter <daniel.vetter@ffwll.ch>' != 'Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>'

total: 1 errors, 2 warnings, 0 checks, 0 lines checked



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

* [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Actually delete gpu reloc selftests
  2021-08-20 15:49 ` [Intel-gfx] " Daniel Vetter
  (?)
  (?)
@ 2021-08-20 16:44 ` Patchwork
  -1 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2021-08-20 16:44 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 5621 bytes --]

== Series Details ==

Series: drm/i915: Actually delete gpu reloc selftests
URL   : https://patchwork.freedesktop.org/series/93872/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10502 -> Patchwork_20860
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_20860 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_20860, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

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

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_20860:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_selftest@live@gt_lrc:
    - fi-bsw-n3050:       [PASS][1] -> [DMESG-FAIL][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html

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

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

### IGT changes ###

#### Issues hit ####

  * igt@amdgpu/amd_basic@query-info:
    - fi-bsw-kefka:       NOTRUN -> [SKIP][3] ([fdo#109271]) +17 similar issues
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-bsw-kefka/igt@amdgpu/amd_basic@query-info.html

  * igt@amdgpu/amd_cs_nop@sync-fork-compute0:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][4] ([fdo#109271]) +2 similar issues
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-kbl-soraka/igt@amdgpu/amd_cs_nop@sync-fork-compute0.html

  * igt@core_hotunplug@unbind-rebind:
    - fi-rkl-guc:         [PASS][5] -> [DMESG-WARN][6] ([i915#3925])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-rkl-guc/igt@core_hotunplug@unbind-rebind.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-rkl-guc/igt@core_hotunplug@unbind-rebind.html

  * igt@i915_module_load@reload:
    - fi-tgl-1115g4:      [PASS][7] -> [DMESG-WARN][8] ([i915#4002]) +1 similar issue
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-tgl-1115g4/igt@i915_module_load@reload.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-tgl-1115g4/igt@i915_module_load@reload.html

  
#### Possible fixes ####

  * igt@core_hotunplug@unbind-rebind:
    - fi-tgl-1115g4:      [DMESG-WARN][9] ([i915#4002]) -> [PASS][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-tgl-1115g4/igt@core_hotunplug@unbind-rebind.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-tgl-1115g4/igt@core_hotunplug@unbind-rebind.html

  * igt@i915_selftest@live@execlists:
    - fi-bsw-kefka:       [INCOMPLETE][11] ([i915#2940]) -> [PASS][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-bsw-kefka/igt@i915_selftest@live@execlists.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-bsw-kefka/igt@i915_selftest@live@execlists.html

  
#### Warnings ####

  * igt@kms_psr@primary_page_flip:
    - fi-tgl-1115g4:      [SKIP][13] ([i915#1072] / [i915#1385]) -> [SKIP][14] ([i915#1072])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-tgl-1115g4/igt@kms_psr@primary_page_flip.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-tgl-1115g4/igt@kms_psr@primary_page_flip.html

  * igt@runner@aborted:
    - fi-rkl-guc:         [FAIL][15] ([i915#3928]) -> [FAIL][16] ([i915#1602])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-rkl-guc/igt@runner@aborted.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-rkl-guc/igt@runner@aborted.html

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

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
  [i915#1385]: https://gitlab.freedesktop.org/drm/intel/issues/1385
  [i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
  [i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
  [i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
  [i915#3925]: https://gitlab.freedesktop.org/drm/intel/issues/3925
  [i915#3928]: https://gitlab.freedesktop.org/drm/intel/issues/3928
  [i915#4002]: https://gitlab.freedesktop.org/drm/intel/issues/4002
  [i915#541]: https://gitlab.freedesktop.org/drm/intel/issues/541


Participating hosts (41 -> 36)
------------------------------

  Missing    (5): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan bat-jsl-1 fi-bdw-samus 


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

  * Linux: CI_DRM_10502 -> Patchwork_20860

  CI-20190529: 20190529
  CI_DRM_10502: 56219fa2bbb92c7b43d84507dc650e98d467b7bb @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_6180: f480bf1ebce4b88f8051783e19e62882a19726a1 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_20860: 0b7e7b4e909db6eb0b301061e6fdd12f2c9d7e81 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

0b7e7b4e909d drm/i915: Actually delete gpu reloc selftests

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/index.html

[-- Attachment #2: Type: text/html, Size: 6395 bytes --]

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

* Re: [PATCH] drm/i915: Actually delete gpu reloc selftests
  2021-08-20 15:49 ` [Intel-gfx] " Daniel Vetter
@ 2021-08-20 16:59   ` Rodrigo Vivi
  -1 siblings, 0 replies; 12+ messages in thread
From: Rodrigo Vivi @ 2021-08-20 16:59 UTC (permalink / raw)
  To: Daniel Vetter
  Cc: Intel Graphics Development, DRI Development, Daniel Vetter,
	Jon Bloomfield, Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

On Fri, Aug 20, 2021 at 05:49:32PM +0200, Daniel Vetter wrote:
> In
> 
> commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Tue Aug 3 14:48:33 2021 +0200
> 
>     drm/i915: delete gpu reloc code

it would be better with dim cite format...

do we need the Fixes: tag?

anyway:

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>


> 
> I deleted the gpu relocation code and the selftest include and
> enabling, but accidentally forgot about the selftest source code.
> 
> Fix this oversight.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> Cc: Jon Bloomfield <jon.bloomfield@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Auld <matthew.auld@intel.com>
> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> Cc: Dave Airlie <airlied@redhat.com>
> Cc: Jason Ekstrand <jason@jlekstrand.net>
> ---
>  .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
>  1 file changed, 190 deletions(-)
>  delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> 
> diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> deleted file mode 100644
> index 16162fc2782d..000000000000
> --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> +++ /dev/null
> @@ -1,190 +0,0 @@
> -// SPDX-License-Identifier: MIT
> -/*
> - * Copyright © 2020 Intel Corporation
> - */
> -
> -#include "i915_selftest.h"
> -
> -#include "gt/intel_engine_pm.h"
> -#include "selftests/igt_flush_test.h"
> -
> -static u64 read_reloc(const u32 *map, int x, const u64 mask)
> -{
> -	u64 reloc;
> -
> -	memcpy(&reloc, &map[x], sizeof(reloc));
> -	return reloc & mask;
> -}
> -
> -static int __igt_gpu_reloc(struct i915_execbuffer *eb,
> -			   struct drm_i915_gem_object *obj)
> -{
> -	const unsigned int offsets[] = { 8, 3, 0 };
> -	const u64 mask =
> -		GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
> -	const u32 *map = page_mask_bits(obj->mm.mapping);
> -	struct i915_request *rq;
> -	struct i915_vma *vma;
> -	int err;
> -	int i;
> -
> -	vma = i915_vma_instance(obj, eb->context->vm, NULL);
> -	if (IS_ERR(vma))
> -		return PTR_ERR(vma);
> -
> -	err = i915_gem_object_lock(obj, &eb->ww);
> -	if (err)
> -		return err;
> -
> -	err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
> -	if (err)
> -		return err;
> -
> -	/* 8-Byte aligned */
> -	err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
> -	if (err <= 0)
> -		goto reloc_err;
> -
> -	/* !8-Byte aligned */
> -	err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
> -	if (err <= 0)
> -		goto reloc_err;
> -
> -	/* Skip to the end of the cmd page */
> -	i = PAGE_SIZE / sizeof(u32) - 1;
> -	i -= eb->reloc_cache.rq_size;
> -	memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
> -		 MI_NOOP, i);
> -	eb->reloc_cache.rq_size += i;
> -
> -	/* Force next batch */
> -	err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
> -	if (err <= 0)
> -		goto reloc_err;
> -
> -	GEM_BUG_ON(!eb->reloc_cache.rq);
> -	rq = i915_request_get(eb->reloc_cache.rq);
> -	reloc_gpu_flush(eb, &eb->reloc_cache);
> -	GEM_BUG_ON(eb->reloc_cache.rq);
> -
> -	err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
> -	if (err) {
> -		intel_gt_set_wedged(eb->engine->gt);
> -		goto put_rq;
> -	}
> -
> -	if (!i915_request_completed(rq)) {
> -		pr_err("%s: did not wait for relocations!\n", eb->engine->name);
> -		err = -EINVAL;
> -		goto put_rq;
> -	}
> -
> -	for (i = 0; i < ARRAY_SIZE(offsets); i++) {
> -		u64 reloc = read_reloc(map, offsets[i], mask);
> -
> -		if (reloc != i) {
> -			pr_err("%s[%d]: map[%d] %llx != %x\n",
> -			       eb->engine->name, i, offsets[i], reloc, i);
> -			err = -EINVAL;
> -		}
> -	}
> -	if (err)
> -		igt_hexdump(map, 4096);
> -
> -put_rq:
> -	i915_request_put(rq);
> -unpin_vma:
> -	i915_vma_unpin(vma);
> -	return err;
> -
> -reloc_err:
> -	if (!err)
> -		err = -EIO;
> -	goto unpin_vma;
> -}
> -
> -static int igt_gpu_reloc(void *arg)
> -{
> -	struct i915_execbuffer eb;
> -	struct drm_i915_gem_object *scratch;
> -	int err = 0;
> -	u32 *map;
> -
> -	eb.i915 = arg;
> -
> -	scratch = i915_gem_object_create_internal(eb.i915, 4096);
> -	if (IS_ERR(scratch))
> -		return PTR_ERR(scratch);
> -
> -	map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
> -	if (IS_ERR(map)) {
> -		err = PTR_ERR(map);
> -		goto err_scratch;
> -	}
> -
> -	intel_gt_pm_get(&eb.i915->gt);
> -
> -	for_each_uabi_engine(eb.engine, eb.i915) {
> -		if (intel_engine_requires_cmd_parser(eb.engine) ||
> -		    intel_engine_using_cmd_parser(eb.engine))
> -			continue;
> -
> -		reloc_cache_init(&eb.reloc_cache, eb.i915);
> -		memset(map, POISON_INUSE, 4096);
> -
> -		intel_engine_pm_get(eb.engine);
> -		eb.context = intel_context_create(eb.engine);
> -		if (IS_ERR(eb.context)) {
> -			err = PTR_ERR(eb.context);
> -			goto err_pm;
> -		}
> -		eb.reloc_pool = NULL;
> -		eb.reloc_context = NULL;
> -
> -		i915_gem_ww_ctx_init(&eb.ww, false);
> -retry:
> -		err = intel_context_pin_ww(eb.context, &eb.ww);
> -		if (!err) {
> -			err = __igt_gpu_reloc(&eb, scratch);
> -
> -			intel_context_unpin(eb.context);
> -		}
> -		if (err == -EDEADLK) {
> -			err = i915_gem_ww_ctx_backoff(&eb.ww);
> -			if (!err)
> -				goto retry;
> -		}
> -		i915_gem_ww_ctx_fini(&eb.ww);
> -
> -		if (eb.reloc_pool)
> -			intel_gt_buffer_pool_put(eb.reloc_pool);
> -		if (eb.reloc_context)
> -			intel_context_put(eb.reloc_context);
> -
> -		intel_context_put(eb.context);
> -err_pm:
> -		intel_engine_pm_put(eb.engine);
> -		if (err)
> -			break;
> -	}
> -
> -	if (igt_flush_test(eb.i915))
> -		err = -EIO;
> -
> -	intel_gt_pm_put(&eb.i915->gt);
> -err_scratch:
> -	i915_gem_object_put(scratch);
> -	return err;
> -}
> -
> -int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
> -{
> -	static const struct i915_subtest tests[] = {
> -		SUBTEST(igt_gpu_reloc),
> -	};
> -
> -	if (intel_gt_is_wedged(&i915->gt))
> -		return 0;
> -
> -	return i915_live_subtests(tests, i915);
> -}
> -- 
> 2.32.0
> 

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

* Re: [Intel-gfx] [PATCH] drm/i915: Actually delete gpu reloc selftests
@ 2021-08-20 16:59   ` Rodrigo Vivi
  0 siblings, 0 replies; 12+ messages in thread
From: Rodrigo Vivi @ 2021-08-20 16:59 UTC (permalink / raw)
  To: Daniel Vetter
  Cc: Intel Graphics Development, DRI Development, Daniel Vetter,
	Jon Bloomfield, Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

On Fri, Aug 20, 2021 at 05:49:32PM +0200, Daniel Vetter wrote:
> In
> 
> commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Tue Aug 3 14:48:33 2021 +0200
> 
>     drm/i915: delete gpu reloc code

it would be better with dim cite format...

do we need the Fixes: tag?

anyway:

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>


> 
> I deleted the gpu relocation code and the selftest include and
> enabling, but accidentally forgot about the selftest source code.
> 
> Fix this oversight.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> Cc: Jon Bloomfield <jon.bloomfield@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
> Cc: Matthew Auld <matthew.auld@intel.com>
> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> Cc: Dave Airlie <airlied@redhat.com>
> Cc: Jason Ekstrand <jason@jlekstrand.net>
> ---
>  .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
>  1 file changed, 190 deletions(-)
>  delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> 
> diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> deleted file mode 100644
> index 16162fc2782d..000000000000
> --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> +++ /dev/null
> @@ -1,190 +0,0 @@
> -// SPDX-License-Identifier: MIT
> -/*
> - * Copyright © 2020 Intel Corporation
> - */
> -
> -#include "i915_selftest.h"
> -
> -#include "gt/intel_engine_pm.h"
> -#include "selftests/igt_flush_test.h"
> -
> -static u64 read_reloc(const u32 *map, int x, const u64 mask)
> -{
> -	u64 reloc;
> -
> -	memcpy(&reloc, &map[x], sizeof(reloc));
> -	return reloc & mask;
> -}
> -
> -static int __igt_gpu_reloc(struct i915_execbuffer *eb,
> -			   struct drm_i915_gem_object *obj)
> -{
> -	const unsigned int offsets[] = { 8, 3, 0 };
> -	const u64 mask =
> -		GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
> -	const u32 *map = page_mask_bits(obj->mm.mapping);
> -	struct i915_request *rq;
> -	struct i915_vma *vma;
> -	int err;
> -	int i;
> -
> -	vma = i915_vma_instance(obj, eb->context->vm, NULL);
> -	if (IS_ERR(vma))
> -		return PTR_ERR(vma);
> -
> -	err = i915_gem_object_lock(obj, &eb->ww);
> -	if (err)
> -		return err;
> -
> -	err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
> -	if (err)
> -		return err;
> -
> -	/* 8-Byte aligned */
> -	err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
> -	if (err <= 0)
> -		goto reloc_err;
> -
> -	/* !8-Byte aligned */
> -	err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
> -	if (err <= 0)
> -		goto reloc_err;
> -
> -	/* Skip to the end of the cmd page */
> -	i = PAGE_SIZE / sizeof(u32) - 1;
> -	i -= eb->reloc_cache.rq_size;
> -	memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
> -		 MI_NOOP, i);
> -	eb->reloc_cache.rq_size += i;
> -
> -	/* Force next batch */
> -	err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
> -	if (err <= 0)
> -		goto reloc_err;
> -
> -	GEM_BUG_ON(!eb->reloc_cache.rq);
> -	rq = i915_request_get(eb->reloc_cache.rq);
> -	reloc_gpu_flush(eb, &eb->reloc_cache);
> -	GEM_BUG_ON(eb->reloc_cache.rq);
> -
> -	err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
> -	if (err) {
> -		intel_gt_set_wedged(eb->engine->gt);
> -		goto put_rq;
> -	}
> -
> -	if (!i915_request_completed(rq)) {
> -		pr_err("%s: did not wait for relocations!\n", eb->engine->name);
> -		err = -EINVAL;
> -		goto put_rq;
> -	}
> -
> -	for (i = 0; i < ARRAY_SIZE(offsets); i++) {
> -		u64 reloc = read_reloc(map, offsets[i], mask);
> -
> -		if (reloc != i) {
> -			pr_err("%s[%d]: map[%d] %llx != %x\n",
> -			       eb->engine->name, i, offsets[i], reloc, i);
> -			err = -EINVAL;
> -		}
> -	}
> -	if (err)
> -		igt_hexdump(map, 4096);
> -
> -put_rq:
> -	i915_request_put(rq);
> -unpin_vma:
> -	i915_vma_unpin(vma);
> -	return err;
> -
> -reloc_err:
> -	if (!err)
> -		err = -EIO;
> -	goto unpin_vma;
> -}
> -
> -static int igt_gpu_reloc(void *arg)
> -{
> -	struct i915_execbuffer eb;
> -	struct drm_i915_gem_object *scratch;
> -	int err = 0;
> -	u32 *map;
> -
> -	eb.i915 = arg;
> -
> -	scratch = i915_gem_object_create_internal(eb.i915, 4096);
> -	if (IS_ERR(scratch))
> -		return PTR_ERR(scratch);
> -
> -	map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
> -	if (IS_ERR(map)) {
> -		err = PTR_ERR(map);
> -		goto err_scratch;
> -	}
> -
> -	intel_gt_pm_get(&eb.i915->gt);
> -
> -	for_each_uabi_engine(eb.engine, eb.i915) {
> -		if (intel_engine_requires_cmd_parser(eb.engine) ||
> -		    intel_engine_using_cmd_parser(eb.engine))
> -			continue;
> -
> -		reloc_cache_init(&eb.reloc_cache, eb.i915);
> -		memset(map, POISON_INUSE, 4096);
> -
> -		intel_engine_pm_get(eb.engine);
> -		eb.context = intel_context_create(eb.engine);
> -		if (IS_ERR(eb.context)) {
> -			err = PTR_ERR(eb.context);
> -			goto err_pm;
> -		}
> -		eb.reloc_pool = NULL;
> -		eb.reloc_context = NULL;
> -
> -		i915_gem_ww_ctx_init(&eb.ww, false);
> -retry:
> -		err = intel_context_pin_ww(eb.context, &eb.ww);
> -		if (!err) {
> -			err = __igt_gpu_reloc(&eb, scratch);
> -
> -			intel_context_unpin(eb.context);
> -		}
> -		if (err == -EDEADLK) {
> -			err = i915_gem_ww_ctx_backoff(&eb.ww);
> -			if (!err)
> -				goto retry;
> -		}
> -		i915_gem_ww_ctx_fini(&eb.ww);
> -
> -		if (eb.reloc_pool)
> -			intel_gt_buffer_pool_put(eb.reloc_pool);
> -		if (eb.reloc_context)
> -			intel_context_put(eb.reloc_context);
> -
> -		intel_context_put(eb.context);
> -err_pm:
> -		intel_engine_pm_put(eb.engine);
> -		if (err)
> -			break;
> -	}
> -
> -	if (igt_flush_test(eb.i915))
> -		err = -EIO;
> -
> -	intel_gt_pm_put(&eb.i915->gt);
> -err_scratch:
> -	i915_gem_object_put(scratch);
> -	return err;
> -}
> -
> -int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
> -{
> -	static const struct i915_subtest tests[] = {
> -		SUBTEST(igt_gpu_reloc),
> -	};
> -
> -	if (intel_gt_is_wedged(&i915->gt))
> -		return 0;
> -
> -	return i915_live_subtests(tests, i915);
> -}
> -- 
> 2.32.0
> 

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

* Re: [PATCH] drm/i915: Actually delete gpu reloc selftests
  2021-08-20 16:59   ` [Intel-gfx] " Rodrigo Vivi
@ 2021-08-20 17:59     ` Daniel Vetter
  -1 siblings, 0 replies; 12+ messages in thread
From: Daniel Vetter @ 2021-08-20 17:59 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: Intel Graphics Development, DRI Development, Daniel Vetter,
	Jon Bloomfield, Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

On Fri, Aug 20, 2021 at 7:00 PM Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
>
> On Fri, Aug 20, 2021 at 05:49:32PM +0200, Daniel Vetter wrote:
> > In
> >
> > commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
> > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Date:   Tue Aug 3 14:48:33 2021 +0200
> >
> >     drm/i915: delete gpu reloc code
>
> it would be better with dim cite format...
>
> do we need the Fixes: tag?

I did delete the selftest, I just forgot to delete the code. So no
Fixes: imo. I'll bikeshed the commit citation.

> anyway:
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

Thanks for the review, will merge when CI approves too, one never knows.
-Daniel

>
>
> >
> > I deleted the gpu relocation code and the selftest include and
> > enabling, but accidentally forgot about the selftest source code.
> >
> > Fix this oversight.
> >
> > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> > Cc: Jon Bloomfield <jon.bloomfield@intel.com>
> > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> > Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> > Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
> > Cc: Matthew Auld <matthew.auld@intel.com>
> > Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> > Cc: Dave Airlie <airlied@redhat.com>
> > Cc: Jason Ekstrand <jason@jlekstrand.net>
> > ---
> >  .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
> >  1 file changed, 190 deletions(-)
> >  delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> >
> > diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > deleted file mode 100644
> > index 16162fc2782d..000000000000
> > --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > +++ /dev/null
> > @@ -1,190 +0,0 @@
> > -// SPDX-License-Identifier: MIT
> > -/*
> > - * Copyright © 2020 Intel Corporation
> > - */
> > -
> > -#include "i915_selftest.h"
> > -
> > -#include "gt/intel_engine_pm.h"
> > -#include "selftests/igt_flush_test.h"
> > -
> > -static u64 read_reloc(const u32 *map, int x, const u64 mask)
> > -{
> > -     u64 reloc;
> > -
> > -     memcpy(&reloc, &map[x], sizeof(reloc));
> > -     return reloc & mask;
> > -}
> > -
> > -static int __igt_gpu_reloc(struct i915_execbuffer *eb,
> > -                        struct drm_i915_gem_object *obj)
> > -{
> > -     const unsigned int offsets[] = { 8, 3, 0 };
> > -     const u64 mask =
> > -             GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
> > -     const u32 *map = page_mask_bits(obj->mm.mapping);
> > -     struct i915_request *rq;
> > -     struct i915_vma *vma;
> > -     int err;
> > -     int i;
> > -
> > -     vma = i915_vma_instance(obj, eb->context->vm, NULL);
> > -     if (IS_ERR(vma))
> > -             return PTR_ERR(vma);
> > -
> > -     err = i915_gem_object_lock(obj, &eb->ww);
> > -     if (err)
> > -             return err;
> > -
> > -     err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
> > -     if (err)
> > -             return err;
> > -
> > -     /* 8-Byte aligned */
> > -     err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
> > -     if (err <= 0)
> > -             goto reloc_err;
> > -
> > -     /* !8-Byte aligned */
> > -     err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
> > -     if (err <= 0)
> > -             goto reloc_err;
> > -
> > -     /* Skip to the end of the cmd page */
> > -     i = PAGE_SIZE / sizeof(u32) - 1;
> > -     i -= eb->reloc_cache.rq_size;
> > -     memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
> > -              MI_NOOP, i);
> > -     eb->reloc_cache.rq_size += i;
> > -
> > -     /* Force next batch */
> > -     err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
> > -     if (err <= 0)
> > -             goto reloc_err;
> > -
> > -     GEM_BUG_ON(!eb->reloc_cache.rq);
> > -     rq = i915_request_get(eb->reloc_cache.rq);
> > -     reloc_gpu_flush(eb, &eb->reloc_cache);
> > -     GEM_BUG_ON(eb->reloc_cache.rq);
> > -
> > -     err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
> > -     if (err) {
> > -             intel_gt_set_wedged(eb->engine->gt);
> > -             goto put_rq;
> > -     }
> > -
> > -     if (!i915_request_completed(rq)) {
> > -             pr_err("%s: did not wait for relocations!\n", eb->engine->name);
> > -             err = -EINVAL;
> > -             goto put_rq;
> > -     }
> > -
> > -     for (i = 0; i < ARRAY_SIZE(offsets); i++) {
> > -             u64 reloc = read_reloc(map, offsets[i], mask);
> > -
> > -             if (reloc != i) {
> > -                     pr_err("%s[%d]: map[%d] %llx != %x\n",
> > -                            eb->engine->name, i, offsets[i], reloc, i);
> > -                     err = -EINVAL;
> > -             }
> > -     }
> > -     if (err)
> > -             igt_hexdump(map, 4096);
> > -
> > -put_rq:
> > -     i915_request_put(rq);
> > -unpin_vma:
> > -     i915_vma_unpin(vma);
> > -     return err;
> > -
> > -reloc_err:
> > -     if (!err)
> > -             err = -EIO;
> > -     goto unpin_vma;
> > -}
> > -
> > -static int igt_gpu_reloc(void *arg)
> > -{
> > -     struct i915_execbuffer eb;
> > -     struct drm_i915_gem_object *scratch;
> > -     int err = 0;
> > -     u32 *map;
> > -
> > -     eb.i915 = arg;
> > -
> > -     scratch = i915_gem_object_create_internal(eb.i915, 4096);
> > -     if (IS_ERR(scratch))
> > -             return PTR_ERR(scratch);
> > -
> > -     map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
> > -     if (IS_ERR(map)) {
> > -             err = PTR_ERR(map);
> > -             goto err_scratch;
> > -     }
> > -
> > -     intel_gt_pm_get(&eb.i915->gt);
> > -
> > -     for_each_uabi_engine(eb.engine, eb.i915) {
> > -             if (intel_engine_requires_cmd_parser(eb.engine) ||
> > -                 intel_engine_using_cmd_parser(eb.engine))
> > -                     continue;
> > -
> > -             reloc_cache_init(&eb.reloc_cache, eb.i915);
> > -             memset(map, POISON_INUSE, 4096);
> > -
> > -             intel_engine_pm_get(eb.engine);
> > -             eb.context = intel_context_create(eb.engine);
> > -             if (IS_ERR(eb.context)) {
> > -                     err = PTR_ERR(eb.context);
> > -                     goto err_pm;
> > -             }
> > -             eb.reloc_pool = NULL;
> > -             eb.reloc_context = NULL;
> > -
> > -             i915_gem_ww_ctx_init(&eb.ww, false);
> > -retry:
> > -             err = intel_context_pin_ww(eb.context, &eb.ww);
> > -             if (!err) {
> > -                     err = __igt_gpu_reloc(&eb, scratch);
> > -
> > -                     intel_context_unpin(eb.context);
> > -             }
> > -             if (err == -EDEADLK) {
> > -                     err = i915_gem_ww_ctx_backoff(&eb.ww);
> > -                     if (!err)
> > -                             goto retry;
> > -             }
> > -             i915_gem_ww_ctx_fini(&eb.ww);
> > -
> > -             if (eb.reloc_pool)
> > -                     intel_gt_buffer_pool_put(eb.reloc_pool);
> > -             if (eb.reloc_context)
> > -                     intel_context_put(eb.reloc_context);
> > -
> > -             intel_context_put(eb.context);
> > -err_pm:
> > -             intel_engine_pm_put(eb.engine);
> > -             if (err)
> > -                     break;
> > -     }
> > -
> > -     if (igt_flush_test(eb.i915))
> > -             err = -EIO;
> > -
> > -     intel_gt_pm_put(&eb.i915->gt);
> > -err_scratch:
> > -     i915_gem_object_put(scratch);
> > -     return err;
> > -}
> > -
> > -int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
> > -{
> > -     static const struct i915_subtest tests[] = {
> > -             SUBTEST(igt_gpu_reloc),
> > -     };
> > -
> > -     if (intel_gt_is_wedged(&i915->gt))
> > -             return 0;
> > -
> > -     return i915_live_subtests(tests, i915);
> > -}
> > --
> > 2.32.0
> >



-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* Re: [Intel-gfx] [PATCH] drm/i915: Actually delete gpu reloc selftests
@ 2021-08-20 17:59     ` Daniel Vetter
  0 siblings, 0 replies; 12+ messages in thread
From: Daniel Vetter @ 2021-08-20 17:59 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: Intel Graphics Development, DRI Development, Daniel Vetter,
	Jon Bloomfield, Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

On Fri, Aug 20, 2021 at 7:00 PM Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
>
> On Fri, Aug 20, 2021 at 05:49:32PM +0200, Daniel Vetter wrote:
> > In
> >
> > commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
> > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Date:   Tue Aug 3 14:48:33 2021 +0200
> >
> >     drm/i915: delete gpu reloc code
>
> it would be better with dim cite format...
>
> do we need the Fixes: tag?

I did delete the selftest, I just forgot to delete the code. So no
Fixes: imo. I'll bikeshed the commit citation.

> anyway:
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

Thanks for the review, will merge when CI approves too, one never knows.
-Daniel

>
>
> >
> > I deleted the gpu relocation code and the selftest include and
> > enabling, but accidentally forgot about the selftest source code.
> >
> > Fix this oversight.
> >
> > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> > Cc: Jon Bloomfield <jon.bloomfield@intel.com>
> > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> > Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> > Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
> > Cc: Matthew Auld <matthew.auld@intel.com>
> > Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> > Cc: Dave Airlie <airlied@redhat.com>
> > Cc: Jason Ekstrand <jason@jlekstrand.net>
> > ---
> >  .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
> >  1 file changed, 190 deletions(-)
> >  delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> >
> > diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > deleted file mode 100644
> > index 16162fc2782d..000000000000
> > --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > +++ /dev/null
> > @@ -1,190 +0,0 @@
> > -// SPDX-License-Identifier: MIT
> > -/*
> > - * Copyright © 2020 Intel Corporation
> > - */
> > -
> > -#include "i915_selftest.h"
> > -
> > -#include "gt/intel_engine_pm.h"
> > -#include "selftests/igt_flush_test.h"
> > -
> > -static u64 read_reloc(const u32 *map, int x, const u64 mask)
> > -{
> > -     u64 reloc;
> > -
> > -     memcpy(&reloc, &map[x], sizeof(reloc));
> > -     return reloc & mask;
> > -}
> > -
> > -static int __igt_gpu_reloc(struct i915_execbuffer *eb,
> > -                        struct drm_i915_gem_object *obj)
> > -{
> > -     const unsigned int offsets[] = { 8, 3, 0 };
> > -     const u64 mask =
> > -             GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
> > -     const u32 *map = page_mask_bits(obj->mm.mapping);
> > -     struct i915_request *rq;
> > -     struct i915_vma *vma;
> > -     int err;
> > -     int i;
> > -
> > -     vma = i915_vma_instance(obj, eb->context->vm, NULL);
> > -     if (IS_ERR(vma))
> > -             return PTR_ERR(vma);
> > -
> > -     err = i915_gem_object_lock(obj, &eb->ww);
> > -     if (err)
> > -             return err;
> > -
> > -     err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
> > -     if (err)
> > -             return err;
> > -
> > -     /* 8-Byte aligned */
> > -     err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
> > -     if (err <= 0)
> > -             goto reloc_err;
> > -
> > -     /* !8-Byte aligned */
> > -     err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
> > -     if (err <= 0)
> > -             goto reloc_err;
> > -
> > -     /* Skip to the end of the cmd page */
> > -     i = PAGE_SIZE / sizeof(u32) - 1;
> > -     i -= eb->reloc_cache.rq_size;
> > -     memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
> > -              MI_NOOP, i);
> > -     eb->reloc_cache.rq_size += i;
> > -
> > -     /* Force next batch */
> > -     err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
> > -     if (err <= 0)
> > -             goto reloc_err;
> > -
> > -     GEM_BUG_ON(!eb->reloc_cache.rq);
> > -     rq = i915_request_get(eb->reloc_cache.rq);
> > -     reloc_gpu_flush(eb, &eb->reloc_cache);
> > -     GEM_BUG_ON(eb->reloc_cache.rq);
> > -
> > -     err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
> > -     if (err) {
> > -             intel_gt_set_wedged(eb->engine->gt);
> > -             goto put_rq;
> > -     }
> > -
> > -     if (!i915_request_completed(rq)) {
> > -             pr_err("%s: did not wait for relocations!\n", eb->engine->name);
> > -             err = -EINVAL;
> > -             goto put_rq;
> > -     }
> > -
> > -     for (i = 0; i < ARRAY_SIZE(offsets); i++) {
> > -             u64 reloc = read_reloc(map, offsets[i], mask);
> > -
> > -             if (reloc != i) {
> > -                     pr_err("%s[%d]: map[%d] %llx != %x\n",
> > -                            eb->engine->name, i, offsets[i], reloc, i);
> > -                     err = -EINVAL;
> > -             }
> > -     }
> > -     if (err)
> > -             igt_hexdump(map, 4096);
> > -
> > -put_rq:
> > -     i915_request_put(rq);
> > -unpin_vma:
> > -     i915_vma_unpin(vma);
> > -     return err;
> > -
> > -reloc_err:
> > -     if (!err)
> > -             err = -EIO;
> > -     goto unpin_vma;
> > -}
> > -
> > -static int igt_gpu_reloc(void *arg)
> > -{
> > -     struct i915_execbuffer eb;
> > -     struct drm_i915_gem_object *scratch;
> > -     int err = 0;
> > -     u32 *map;
> > -
> > -     eb.i915 = arg;
> > -
> > -     scratch = i915_gem_object_create_internal(eb.i915, 4096);
> > -     if (IS_ERR(scratch))
> > -             return PTR_ERR(scratch);
> > -
> > -     map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
> > -     if (IS_ERR(map)) {
> > -             err = PTR_ERR(map);
> > -             goto err_scratch;
> > -     }
> > -
> > -     intel_gt_pm_get(&eb.i915->gt);
> > -
> > -     for_each_uabi_engine(eb.engine, eb.i915) {
> > -             if (intel_engine_requires_cmd_parser(eb.engine) ||
> > -                 intel_engine_using_cmd_parser(eb.engine))
> > -                     continue;
> > -
> > -             reloc_cache_init(&eb.reloc_cache, eb.i915);
> > -             memset(map, POISON_INUSE, 4096);
> > -
> > -             intel_engine_pm_get(eb.engine);
> > -             eb.context = intel_context_create(eb.engine);
> > -             if (IS_ERR(eb.context)) {
> > -                     err = PTR_ERR(eb.context);
> > -                     goto err_pm;
> > -             }
> > -             eb.reloc_pool = NULL;
> > -             eb.reloc_context = NULL;
> > -
> > -             i915_gem_ww_ctx_init(&eb.ww, false);
> > -retry:
> > -             err = intel_context_pin_ww(eb.context, &eb.ww);
> > -             if (!err) {
> > -                     err = __igt_gpu_reloc(&eb, scratch);
> > -
> > -                     intel_context_unpin(eb.context);
> > -             }
> > -             if (err == -EDEADLK) {
> > -                     err = i915_gem_ww_ctx_backoff(&eb.ww);
> > -                     if (!err)
> > -                             goto retry;
> > -             }
> > -             i915_gem_ww_ctx_fini(&eb.ww);
> > -
> > -             if (eb.reloc_pool)
> > -                     intel_gt_buffer_pool_put(eb.reloc_pool);
> > -             if (eb.reloc_context)
> > -                     intel_context_put(eb.reloc_context);
> > -
> > -             intel_context_put(eb.context);
> > -err_pm:
> > -             intel_engine_pm_put(eb.engine);
> > -             if (err)
> > -                     break;
> > -     }
> > -
> > -     if (igt_flush_test(eb.i915))
> > -             err = -EIO;
> > -
> > -     intel_gt_pm_put(&eb.i915->gt);
> > -err_scratch:
> > -     i915_gem_object_put(scratch);
> > -     return err;
> > -}
> > -
> > -int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
> > -{
> > -     static const struct i915_subtest tests[] = {
> > -             SUBTEST(igt_gpu_reloc),
> > -     };
> > -
> > -     if (intel_gt_is_wedged(&i915->gt))
> > -             return 0;
> > -
> > -     return i915_live_subtests(tests, i915);
> > -}
> > --
> > 2.32.0
> >



-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* Re: [PATCH] drm/i915: Actually delete gpu reloc selftests
  2021-08-20 17:59     ` [Intel-gfx] " Daniel Vetter
@ 2021-08-27  8:13       ` Daniel Vetter
  -1 siblings, 0 replies; 12+ messages in thread
From: Daniel Vetter @ 2021-08-27  8:13 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: Intel Graphics Development, DRI Development, Daniel Vetter,
	Jon Bloomfield, Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

On Fri, Aug 20, 2021 at 07:59:04PM +0200, Daniel Vetter wrote:
> On Fri, Aug 20, 2021 at 7:00 PM Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> >
> > On Fri, Aug 20, 2021 at 05:49:32PM +0200, Daniel Vetter wrote:
> > > In
> > >
> > > commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
> > > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > > Date:   Tue Aug 3 14:48:33 2021 +0200
> > >
> > >     drm/i915: delete gpu reloc code
> >
> > it would be better with dim cite format...
> >
> > do we need the Fixes: tag?
> 
> I did delete the selftest, I just forgot to delete the code. So no
> Fixes: imo. I'll bikeshed the commit citation.
> 
> > anyway:
> >
> > Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> 
> Thanks for the review, will merge when CI approves too, one never knows.

Well CI fell over in noise, but it builds still, so good enough for this
one :-)
-Daniel

> -Daniel
> 
> >
> >
> > >
> > > I deleted the gpu relocation code and the selftest include and
> > > enabling, but accidentally forgot about the selftest source code.
> > >
> > > Fix this oversight.
> > >
> > > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> > > Cc: Jon Bloomfield <jon.bloomfield@intel.com>
> > > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> > > Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> > > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> > > Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
> > > Cc: Matthew Auld <matthew.auld@intel.com>
> > > Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> > > Cc: Dave Airlie <airlied@redhat.com>
> > > Cc: Jason Ekstrand <jason@jlekstrand.net>
> > > ---
> > >  .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
> > >  1 file changed, 190 deletions(-)
> > >  delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > >
> > > diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > > deleted file mode 100644
> > > index 16162fc2782d..000000000000
> > > --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > > +++ /dev/null
> > > @@ -1,190 +0,0 @@
> > > -// SPDX-License-Identifier: MIT
> > > -/*
> > > - * Copyright © 2020 Intel Corporation
> > > - */
> > > -
> > > -#include "i915_selftest.h"
> > > -
> > > -#include "gt/intel_engine_pm.h"
> > > -#include "selftests/igt_flush_test.h"
> > > -
> > > -static u64 read_reloc(const u32 *map, int x, const u64 mask)
> > > -{
> > > -     u64 reloc;
> > > -
> > > -     memcpy(&reloc, &map[x], sizeof(reloc));
> > > -     return reloc & mask;
> > > -}
> > > -
> > > -static int __igt_gpu_reloc(struct i915_execbuffer *eb,
> > > -                        struct drm_i915_gem_object *obj)
> > > -{
> > > -     const unsigned int offsets[] = { 8, 3, 0 };
> > > -     const u64 mask =
> > > -             GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
> > > -     const u32 *map = page_mask_bits(obj->mm.mapping);
> > > -     struct i915_request *rq;
> > > -     struct i915_vma *vma;
> > > -     int err;
> > > -     int i;
> > > -
> > > -     vma = i915_vma_instance(obj, eb->context->vm, NULL);
> > > -     if (IS_ERR(vma))
> > > -             return PTR_ERR(vma);
> > > -
> > > -     err = i915_gem_object_lock(obj, &eb->ww);
> > > -     if (err)
> > > -             return err;
> > > -
> > > -     err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
> > > -     if (err)
> > > -             return err;
> > > -
> > > -     /* 8-Byte aligned */
> > > -     err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
> > > -     if (err <= 0)
> > > -             goto reloc_err;
> > > -
> > > -     /* !8-Byte aligned */
> > > -     err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
> > > -     if (err <= 0)
> > > -             goto reloc_err;
> > > -
> > > -     /* Skip to the end of the cmd page */
> > > -     i = PAGE_SIZE / sizeof(u32) - 1;
> > > -     i -= eb->reloc_cache.rq_size;
> > > -     memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
> > > -              MI_NOOP, i);
> > > -     eb->reloc_cache.rq_size += i;
> > > -
> > > -     /* Force next batch */
> > > -     err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
> > > -     if (err <= 0)
> > > -             goto reloc_err;
> > > -
> > > -     GEM_BUG_ON(!eb->reloc_cache.rq);
> > > -     rq = i915_request_get(eb->reloc_cache.rq);
> > > -     reloc_gpu_flush(eb, &eb->reloc_cache);
> > > -     GEM_BUG_ON(eb->reloc_cache.rq);
> > > -
> > > -     err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
> > > -     if (err) {
> > > -             intel_gt_set_wedged(eb->engine->gt);
> > > -             goto put_rq;
> > > -     }
> > > -
> > > -     if (!i915_request_completed(rq)) {
> > > -             pr_err("%s: did not wait for relocations!\n", eb->engine->name);
> > > -             err = -EINVAL;
> > > -             goto put_rq;
> > > -     }
> > > -
> > > -     for (i = 0; i < ARRAY_SIZE(offsets); i++) {
> > > -             u64 reloc = read_reloc(map, offsets[i], mask);
> > > -
> > > -             if (reloc != i) {
> > > -                     pr_err("%s[%d]: map[%d] %llx != %x\n",
> > > -                            eb->engine->name, i, offsets[i], reloc, i);
> > > -                     err = -EINVAL;
> > > -             }
> > > -     }
> > > -     if (err)
> > > -             igt_hexdump(map, 4096);
> > > -
> > > -put_rq:
> > > -     i915_request_put(rq);
> > > -unpin_vma:
> > > -     i915_vma_unpin(vma);
> > > -     return err;
> > > -
> > > -reloc_err:
> > > -     if (!err)
> > > -             err = -EIO;
> > > -     goto unpin_vma;
> > > -}
> > > -
> > > -static int igt_gpu_reloc(void *arg)
> > > -{
> > > -     struct i915_execbuffer eb;
> > > -     struct drm_i915_gem_object *scratch;
> > > -     int err = 0;
> > > -     u32 *map;
> > > -
> > > -     eb.i915 = arg;
> > > -
> > > -     scratch = i915_gem_object_create_internal(eb.i915, 4096);
> > > -     if (IS_ERR(scratch))
> > > -             return PTR_ERR(scratch);
> > > -
> > > -     map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
> > > -     if (IS_ERR(map)) {
> > > -             err = PTR_ERR(map);
> > > -             goto err_scratch;
> > > -     }
> > > -
> > > -     intel_gt_pm_get(&eb.i915->gt);
> > > -
> > > -     for_each_uabi_engine(eb.engine, eb.i915) {
> > > -             if (intel_engine_requires_cmd_parser(eb.engine) ||
> > > -                 intel_engine_using_cmd_parser(eb.engine))
> > > -                     continue;
> > > -
> > > -             reloc_cache_init(&eb.reloc_cache, eb.i915);
> > > -             memset(map, POISON_INUSE, 4096);
> > > -
> > > -             intel_engine_pm_get(eb.engine);
> > > -             eb.context = intel_context_create(eb.engine);
> > > -             if (IS_ERR(eb.context)) {
> > > -                     err = PTR_ERR(eb.context);
> > > -                     goto err_pm;
> > > -             }
> > > -             eb.reloc_pool = NULL;
> > > -             eb.reloc_context = NULL;
> > > -
> > > -             i915_gem_ww_ctx_init(&eb.ww, false);
> > > -retry:
> > > -             err = intel_context_pin_ww(eb.context, &eb.ww);
> > > -             if (!err) {
> > > -                     err = __igt_gpu_reloc(&eb, scratch);
> > > -
> > > -                     intel_context_unpin(eb.context);
> > > -             }
> > > -             if (err == -EDEADLK) {
> > > -                     err = i915_gem_ww_ctx_backoff(&eb.ww);
> > > -                     if (!err)
> > > -                             goto retry;
> > > -             }
> > > -             i915_gem_ww_ctx_fini(&eb.ww);
> > > -
> > > -             if (eb.reloc_pool)
> > > -                     intel_gt_buffer_pool_put(eb.reloc_pool);
> > > -             if (eb.reloc_context)
> > > -                     intel_context_put(eb.reloc_context);
> > > -
> > > -             intel_context_put(eb.context);
> > > -err_pm:
> > > -             intel_engine_pm_put(eb.engine);
> > > -             if (err)
> > > -                     break;
> > > -     }
> > > -
> > > -     if (igt_flush_test(eb.i915))
> > > -             err = -EIO;
> > > -
> > > -     intel_gt_pm_put(&eb.i915->gt);
> > > -err_scratch:
> > > -     i915_gem_object_put(scratch);
> > > -     return err;
> > > -}
> > > -
> > > -int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
> > > -{
> > > -     static const struct i915_subtest tests[] = {
> > > -             SUBTEST(igt_gpu_reloc),
> > > -     };
> > > -
> > > -     if (intel_gt_is_wedged(&i915->gt))
> > > -             return 0;
> > > -
> > > -     return i915_live_subtests(tests, i915);
> > > -}
> > > --
> > > 2.32.0
> > >
> 
> 
> 
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* Re: [Intel-gfx] [PATCH] drm/i915: Actually delete gpu reloc selftests
@ 2021-08-27  8:13       ` Daniel Vetter
  0 siblings, 0 replies; 12+ messages in thread
From: Daniel Vetter @ 2021-08-27  8:13 UTC (permalink / raw)
  To: Rodrigo Vivi
  Cc: Intel Graphics Development, DRI Development, Daniel Vetter,
	Jon Bloomfield, Chris Wilson, Maarten Lankhorst, Joonas Lahtinen,
	Thomas Hellström, Matthew Auld, Lionel Landwerlin,
	Dave Airlie, Jason Ekstrand

On Fri, Aug 20, 2021 at 07:59:04PM +0200, Daniel Vetter wrote:
> On Fri, Aug 20, 2021 at 7:00 PM Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> >
> > On Fri, Aug 20, 2021 at 05:49:32PM +0200, Daniel Vetter wrote:
> > > In
> > >
> > > commit 8e02cceb1f1f4f254625e5338dd997ff61ab40d7
> > > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > > Date:   Tue Aug 3 14:48:33 2021 +0200
> > >
> > >     drm/i915: delete gpu reloc code
> >
> > it would be better with dim cite format...
> >
> > do we need the Fixes: tag?
> 
> I did delete the selftest, I just forgot to delete the code. So no
> Fixes: imo. I'll bikeshed the commit citation.
> 
> > anyway:
> >
> > Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> 
> Thanks for the review, will merge when CI approves too, one never knows.

Well CI fell over in noise, but it builds still, so good enough for this
one :-)
-Daniel

> -Daniel
> 
> >
> >
> > >
> > > I deleted the gpu relocation code and the selftest include and
> > > enabling, but accidentally forgot about the selftest source code.
> > >
> > > Fix this oversight.
> > >
> > > Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> > > Cc: Jon Bloomfield <jon.bloomfield@intel.com>
> > > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> > > Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
> > > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> > > Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
> > > Cc: Matthew Auld <matthew.auld@intel.com>
> > > Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
> > > Cc: Dave Airlie <airlied@redhat.com>
> > > Cc: Jason Ekstrand <jason@jlekstrand.net>
> > > ---
> > >  .../i915/gem/selftests/i915_gem_execbuffer.c  | 190 ------------------
> > >  1 file changed, 190 deletions(-)
> > >  delete mode 100644 drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > >
> > > diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > > deleted file mode 100644
> > > index 16162fc2782d..000000000000
> > > --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_execbuffer.c
> > > +++ /dev/null
> > > @@ -1,190 +0,0 @@
> > > -// SPDX-License-Identifier: MIT
> > > -/*
> > > - * Copyright © 2020 Intel Corporation
> > > - */
> > > -
> > > -#include "i915_selftest.h"
> > > -
> > > -#include "gt/intel_engine_pm.h"
> > > -#include "selftests/igt_flush_test.h"
> > > -
> > > -static u64 read_reloc(const u32 *map, int x, const u64 mask)
> > > -{
> > > -     u64 reloc;
> > > -
> > > -     memcpy(&reloc, &map[x], sizeof(reloc));
> > > -     return reloc & mask;
> > > -}
> > > -
> > > -static int __igt_gpu_reloc(struct i915_execbuffer *eb,
> > > -                        struct drm_i915_gem_object *obj)
> > > -{
> > > -     const unsigned int offsets[] = { 8, 3, 0 };
> > > -     const u64 mask =
> > > -             GENMASK_ULL(eb->reloc_cache.use_64bit_reloc ? 63 : 31, 0);
> > > -     const u32 *map = page_mask_bits(obj->mm.mapping);
> > > -     struct i915_request *rq;
> > > -     struct i915_vma *vma;
> > > -     int err;
> > > -     int i;
> > > -
> > > -     vma = i915_vma_instance(obj, eb->context->vm, NULL);
> > > -     if (IS_ERR(vma))
> > > -             return PTR_ERR(vma);
> > > -
> > > -     err = i915_gem_object_lock(obj, &eb->ww);
> > > -     if (err)
> > > -             return err;
> > > -
> > > -     err = i915_vma_pin_ww(vma, &eb->ww, 0, 0, PIN_USER | PIN_HIGH);
> > > -     if (err)
> > > -             return err;
> > > -
> > > -     /* 8-Byte aligned */
> > > -     err = __reloc_entry_gpu(eb, vma, offsets[0] * sizeof(u32), 0);
> > > -     if (err <= 0)
> > > -             goto reloc_err;
> > > -
> > > -     /* !8-Byte aligned */
> > > -     err = __reloc_entry_gpu(eb, vma, offsets[1] * sizeof(u32), 1);
> > > -     if (err <= 0)
> > > -             goto reloc_err;
> > > -
> > > -     /* Skip to the end of the cmd page */
> > > -     i = PAGE_SIZE / sizeof(u32) - 1;
> > > -     i -= eb->reloc_cache.rq_size;
> > > -     memset32(eb->reloc_cache.rq_cmd + eb->reloc_cache.rq_size,
> > > -              MI_NOOP, i);
> > > -     eb->reloc_cache.rq_size += i;
> > > -
> > > -     /* Force next batch */
> > > -     err = __reloc_entry_gpu(eb, vma, offsets[2] * sizeof(u32), 2);
> > > -     if (err <= 0)
> > > -             goto reloc_err;
> > > -
> > > -     GEM_BUG_ON(!eb->reloc_cache.rq);
> > > -     rq = i915_request_get(eb->reloc_cache.rq);
> > > -     reloc_gpu_flush(eb, &eb->reloc_cache);
> > > -     GEM_BUG_ON(eb->reloc_cache.rq);
> > > -
> > > -     err = i915_gem_object_wait(obj, I915_WAIT_INTERRUPTIBLE, HZ / 2);
> > > -     if (err) {
> > > -             intel_gt_set_wedged(eb->engine->gt);
> > > -             goto put_rq;
> > > -     }
> > > -
> > > -     if (!i915_request_completed(rq)) {
> > > -             pr_err("%s: did not wait for relocations!\n", eb->engine->name);
> > > -             err = -EINVAL;
> > > -             goto put_rq;
> > > -     }
> > > -
> > > -     for (i = 0; i < ARRAY_SIZE(offsets); i++) {
> > > -             u64 reloc = read_reloc(map, offsets[i], mask);
> > > -
> > > -             if (reloc != i) {
> > > -                     pr_err("%s[%d]: map[%d] %llx != %x\n",
> > > -                            eb->engine->name, i, offsets[i], reloc, i);
> > > -                     err = -EINVAL;
> > > -             }
> > > -     }
> > > -     if (err)
> > > -             igt_hexdump(map, 4096);
> > > -
> > > -put_rq:
> > > -     i915_request_put(rq);
> > > -unpin_vma:
> > > -     i915_vma_unpin(vma);
> > > -     return err;
> > > -
> > > -reloc_err:
> > > -     if (!err)
> > > -             err = -EIO;
> > > -     goto unpin_vma;
> > > -}
> > > -
> > > -static int igt_gpu_reloc(void *arg)
> > > -{
> > > -     struct i915_execbuffer eb;
> > > -     struct drm_i915_gem_object *scratch;
> > > -     int err = 0;
> > > -     u32 *map;
> > > -
> > > -     eb.i915 = arg;
> > > -
> > > -     scratch = i915_gem_object_create_internal(eb.i915, 4096);
> > > -     if (IS_ERR(scratch))
> > > -             return PTR_ERR(scratch);
> > > -
> > > -     map = i915_gem_object_pin_map_unlocked(scratch, I915_MAP_WC);
> > > -     if (IS_ERR(map)) {
> > > -             err = PTR_ERR(map);
> > > -             goto err_scratch;
> > > -     }
> > > -
> > > -     intel_gt_pm_get(&eb.i915->gt);
> > > -
> > > -     for_each_uabi_engine(eb.engine, eb.i915) {
> > > -             if (intel_engine_requires_cmd_parser(eb.engine) ||
> > > -                 intel_engine_using_cmd_parser(eb.engine))
> > > -                     continue;
> > > -
> > > -             reloc_cache_init(&eb.reloc_cache, eb.i915);
> > > -             memset(map, POISON_INUSE, 4096);
> > > -
> > > -             intel_engine_pm_get(eb.engine);
> > > -             eb.context = intel_context_create(eb.engine);
> > > -             if (IS_ERR(eb.context)) {
> > > -                     err = PTR_ERR(eb.context);
> > > -                     goto err_pm;
> > > -             }
> > > -             eb.reloc_pool = NULL;
> > > -             eb.reloc_context = NULL;
> > > -
> > > -             i915_gem_ww_ctx_init(&eb.ww, false);
> > > -retry:
> > > -             err = intel_context_pin_ww(eb.context, &eb.ww);
> > > -             if (!err) {
> > > -                     err = __igt_gpu_reloc(&eb, scratch);
> > > -
> > > -                     intel_context_unpin(eb.context);
> > > -             }
> > > -             if (err == -EDEADLK) {
> > > -                     err = i915_gem_ww_ctx_backoff(&eb.ww);
> > > -                     if (!err)
> > > -                             goto retry;
> > > -             }
> > > -             i915_gem_ww_ctx_fini(&eb.ww);
> > > -
> > > -             if (eb.reloc_pool)
> > > -                     intel_gt_buffer_pool_put(eb.reloc_pool);
> > > -             if (eb.reloc_context)
> > > -                     intel_context_put(eb.reloc_context);
> > > -
> > > -             intel_context_put(eb.context);
> > > -err_pm:
> > > -             intel_engine_pm_put(eb.engine);
> > > -             if (err)
> > > -                     break;
> > > -     }
> > > -
> > > -     if (igt_flush_test(eb.i915))
> > > -             err = -EIO;
> > > -
> > > -     intel_gt_pm_put(&eb.i915->gt);
> > > -err_scratch:
> > > -     i915_gem_object_put(scratch);
> > > -     return err;
> > > -}
> > > -
> > > -int i915_gem_execbuffer_live_selftests(struct drm_i915_private *i915)
> > > -{
> > > -     static const struct i915_subtest tests[] = {
> > > -             SUBTEST(igt_gpu_reloc),
> > > -     };
> > > -
> > > -     if (intel_gt_is_wedged(&i915->gt))
> > > -             return 0;
> > > -
> > > -     return i915_live_subtests(tests, i915);
> > > -}
> > > --
> > > 2.32.0
> > >
> 
> 
> 
> -- 
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

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

* [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Actually delete gpu reloc selftests
  2021-08-20 15:49 ` [Intel-gfx] " Daniel Vetter
                   ` (3 preceding siblings ...)
  (?)
@ 2021-08-27 16:08 ` Patchwork
  -1 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2021-08-27 16:08 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 5223 bytes --]

== Series Details ==

Series: drm/i915: Actually delete gpu reloc selftests
URL   : https://patchwork.freedesktop.org/series/93872/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10502 -> Patchwork_20860
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

  * igt@amdgpu/amd_basic@query-info:
    - fi-bsw-kefka:       NOTRUN -> [SKIP][1] ([fdo#109271]) +17 similar issues
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-bsw-kefka/igt@amdgpu/amd_basic@query-info.html

  * igt@amdgpu/amd_cs_nop@sync-fork-compute0:
    - fi-kbl-soraka:      NOTRUN -> [SKIP][2] ([fdo#109271]) +2 similar issues
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-kbl-soraka/igt@amdgpu/amd_cs_nop@sync-fork-compute0.html

  * igt@core_hotunplug@unbind-rebind:
    - fi-rkl-guc:         [PASS][3] -> [DMESG-WARN][4] ([i915#3925])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-rkl-guc/igt@core_hotunplug@unbind-rebind.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-rkl-guc/igt@core_hotunplug@unbind-rebind.html

  * igt@i915_module_load@reload:
    - fi-tgl-1115g4:      [PASS][5] -> [DMESG-WARN][6] ([i915#4002]) +1 similar issue
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-tgl-1115g4/igt@i915_module_load@reload.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-tgl-1115g4/igt@i915_module_load@reload.html

  * igt@i915_selftest@live@gt_lrc:
    - fi-bsw-n3050:       [PASS][7] -> [DMESG-FAIL][8] ([i915#2373])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-bsw-n3050/igt@i915_selftest@live@gt_lrc.html

  
#### Possible fixes ####

  * igt@core_hotunplug@unbind-rebind:
    - fi-tgl-1115g4:      [DMESG-WARN][9] ([i915#4002]) -> [PASS][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-tgl-1115g4/igt@core_hotunplug@unbind-rebind.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-tgl-1115g4/igt@core_hotunplug@unbind-rebind.html

  * igt@i915_selftest@live@execlists:
    - fi-bsw-kefka:       [INCOMPLETE][11] ([i915#2940]) -> [PASS][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-bsw-kefka/igt@i915_selftest@live@execlists.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-bsw-kefka/igt@i915_selftest@live@execlists.html

  
#### Warnings ####

  * igt@kms_psr@primary_page_flip:
    - fi-tgl-1115g4:      [SKIP][13] ([i915#1072] / [i915#1385]) -> [SKIP][14] ([i915#1072])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-tgl-1115g4/igt@kms_psr@primary_page_flip.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-tgl-1115g4/igt@kms_psr@primary_page_flip.html

  * igt@runner@aborted:
    - fi-rkl-guc:         [FAIL][15] ([i915#3928]) -> [FAIL][16] ([i915#1602])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/fi-rkl-guc/igt@runner@aborted.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/fi-rkl-guc/igt@runner@aborted.html

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

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
  [i915#1385]: https://gitlab.freedesktop.org/drm/intel/issues/1385
  [i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#2373]: https://gitlab.freedesktop.org/drm/intel/issues/2373
  [i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
  [i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
  [i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
  [i915#3925]: https://gitlab.freedesktop.org/drm/intel/issues/3925
  [i915#3928]: https://gitlab.freedesktop.org/drm/intel/issues/3928
  [i915#4002]: https://gitlab.freedesktop.org/drm/intel/issues/4002
  [i915#541]: https://gitlab.freedesktop.org/drm/intel/issues/541


Participating hosts (41 -> 36)
------------------------------

  Missing    (5): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan bat-jsl-1 fi-bdw-samus 


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

  * Linux: CI_DRM_10502 -> Patchwork_20860

  CI-20190529: 20190529
  CI_DRM_10502: 56219fa2bbb92c7b43d84507dc650e98d467b7bb @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_6180: f480bf1ebce4b88f8051783e19e62882a19726a1 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_20860: 0b7e7b4e909db6eb0b301061e6fdd12f2c9d7e81 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

0b7e7b4e909d drm/i915: Actually delete gpu reloc selftests

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/index.html

[-- Attachment #2: Type: text/html, Size: 5985 bytes --]

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

* [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Actually delete gpu reloc selftests
  2021-08-20 15:49 ` [Intel-gfx] " Daniel Vetter
                   ` (4 preceding siblings ...)
  (?)
@ 2021-08-27 19:59 ` Patchwork
  -1 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2021-08-27 19:59 UTC (permalink / raw)
  To: Daniel Vetter; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 30268 bytes --]

== Series Details ==

Series: drm/i915: Actually delete gpu reloc selftests
URL   : https://patchwork.freedesktop.org/series/93872/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10502_full -> Patchwork_20860_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

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

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

### IGT changes ###

#### Issues hit ####

  * igt@feature_discovery@psr2:
    - shard-iclb:         [PASS][1] -> [SKIP][2] ([i915#658])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb2/igt@feature_discovery@psr2.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb6/igt@feature_discovery@psr2.html

  * igt@gem_create@create-massive:
    - shard-snb:          NOTRUN -> [DMESG-WARN][3] ([i915#3002])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-snb2/igt@gem_create@create-massive.html

  * igt@gem_ctx_persistence@process:
    - shard-snb:          NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#1099]) +3 similar issues
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-snb5/igt@gem_ctx_persistence@process.html

  * igt@gem_exec_fair@basic-flow@rcs0:
    - shard-tglb:         [PASS][5] -> [FAIL][6] ([i915#2842]) +3 similar issues
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-tglb7/igt@gem_exec_fair@basic-flow@rcs0.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb1/igt@gem_exec_fair@basic-flow@rcs0.html

  * igt@gem_exec_fair@basic-none-share@rcs0:
    - shard-apl:          [PASS][7] -> [SKIP][8] ([fdo#109271])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-apl7/igt@gem_exec_fair@basic-none-share@rcs0.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl2/igt@gem_exec_fair@basic-none-share@rcs0.html

  * igt@gem_exec_fair@basic-pace@vecs0:
    - shard-kbl:          NOTRUN -> [FAIL][9] ([i915#2842])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl3/igt@gem_exec_fair@basic-pace@vecs0.html

  * igt@gem_exec_fair@basic-throttle@rcs0:
    - shard-glk:          [PASS][10] -> [FAIL][11] ([i915#2842])
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-glk9/igt@gem_exec_fair@basic-throttle@rcs0.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-glk4/igt@gem_exec_fair@basic-throttle@rcs0.html
    - shard-iclb:         [PASS][12] -> [FAIL][13] ([i915#2849])
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb2/igt@gem_exec_fair@basic-throttle@rcs0.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb5/igt@gem_exec_fair@basic-throttle@rcs0.html

  * igt@gem_pwrite@basic-exhaustion:
    - shard-iclb:         NOTRUN -> [WARN][14] ([i915#2658])
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@gem_pwrite@basic-exhaustion.html
    - shard-apl:          NOTRUN -> [WARN][15] ([i915#2658])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl7/igt@gem_pwrite@basic-exhaustion.html

  * igt@gem_render_copy@y-tiled-to-vebox-linear:
    - shard-iclb:         NOTRUN -> [SKIP][16] ([i915#768])
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@gem_render_copy@y-tiled-to-vebox-linear.html

  * igt@gem_userptr_blits@dmabuf-sync:
    - shard-apl:          NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#3323])
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl1/igt@gem_userptr_blits@dmabuf-sync.html

  * igt@gem_userptr_blits@vma-merge:
    - shard-snb:          NOTRUN -> [FAIL][18] ([i915#2724])
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-snb6/igt@gem_userptr_blits@vma-merge.html
    - shard-kbl:          NOTRUN -> [FAIL][19] ([i915#3318])
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl6/igt@gem_userptr_blits@vma-merge.html

  * igt@gen3_mixed_blits:
    - shard-kbl:          NOTRUN -> [SKIP][20] ([fdo#109271]) +96 similar issues
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl1/igt@gen3_mixed_blits.html

  * igt@gen3_render_linear_blits:
    - shard-tglb:         NOTRUN -> [SKIP][21] ([fdo#109289])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@gen3_render_linear_blits.html

  * igt@gen7_exec_parse@bitmasks:
    - shard-iclb:         NOTRUN -> [SKIP][22] ([fdo#109289])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@gen7_exec_parse@bitmasks.html

  * igt@i915_pm_dc@dc6-dpms:
    - shard-kbl:          NOTRUN -> [FAIL][23] ([i915#454])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl1/igt@i915_pm_dc@dc6-dpms.html

  * igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
    - shard-skl:          NOTRUN -> [FAIL][24] ([i915#3722])
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl5/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
    - shard-apl:          NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#3777]) +2 similar issues
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl3/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
    - shard-kbl:          NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#3777])
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl1/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip.html

  * igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0:
    - shard-apl:          NOTRUN -> [SKIP][27] ([fdo#109271]) +211 similar issues
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl6/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0.html

  * igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
    - shard-apl:          NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#3886]) +9 similar issues
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl6/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs:
    - shard-kbl:          NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#3886])
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl6/igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
    - shard-skl:          NOTRUN -> [SKIP][30] ([fdo#109271] / [i915#3886])
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl5/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
    - shard-tglb:         NOTRUN -> [SKIP][31] ([i915#3689] / [i915#3886])
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html

  * igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_ccs:
    - shard-tglb:         NOTRUN -> [SKIP][32] ([i915#3689])
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_ccs.html

  * igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_ccs:
    - shard-snb:          NOTRUN -> [SKIP][33] ([fdo#109271]) +360 similar issues
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-snb5/igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_ccs.html

  * igt@kms_chamelium@dp-hpd-storm:
    - shard-iclb:         NOTRUN -> [SKIP][34] ([fdo#109284] / [fdo#111827]) +2 similar issues
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_chamelium@dp-hpd-storm.html
    - shard-tglb:         NOTRUN -> [SKIP][35] ([fdo#109284] / [fdo#111827]) +1 similar issue
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb3/igt@kms_chamelium@dp-hpd-storm.html

  * igt@kms_chamelium@hdmi-hpd-storm-disable:
    - shard-glk:          NOTRUN -> [SKIP][36] ([fdo#109271] / [fdo#111827])
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-glk6/igt@kms_chamelium@hdmi-hpd-storm-disable.html

  * igt@kms_chamelium@hdmi-hpd-with-enabled-mode:
    - shard-kbl:          NOTRUN -> [SKIP][37] ([fdo#109271] / [fdo#111827]) +8 similar issues
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl6/igt@kms_chamelium@hdmi-hpd-with-enabled-mode.html

  * igt@kms_chamelium@vga-hpd-without-ddc:
    - shard-snb:          NOTRUN -> [SKIP][38] ([fdo#109271] / [fdo#111827]) +18 similar issues
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-snb2/igt@kms_chamelium@vga-hpd-without-ddc.html

  * igt@kms_color@pipe-c-ctm-max:
    - shard-skl:          [PASS][39] -> [DMESG-WARN][40] ([i915#1982]) +1 similar issue
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl2/igt@kms_color@pipe-c-ctm-max.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl4/igt@kms_color@pipe-c-ctm-max.html

  * igt@kms_color@pipe-d-ctm-0-25:
    - shard-iclb:         NOTRUN -> [SKIP][41] ([fdo#109278] / [i915#1149])
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_color@pipe-d-ctm-0-25.html

  * igt@kms_color_chamelium@pipe-a-ctm-0-5:
    - shard-apl:          NOTRUN -> [SKIP][42] ([fdo#109271] / [fdo#111827]) +19 similar issues
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl1/igt@kms_color_chamelium@pipe-a-ctm-0-5.html

  * igt@kms_color_chamelium@pipe-c-ctm-max:
    - shard-skl:          NOTRUN -> [SKIP][43] ([fdo#109271] / [fdo#111827])
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl5/igt@kms_color_chamelium@pipe-c-ctm-max.html

  * igt@kms_content_protection@atomic-dpms:
    - shard-apl:          NOTRUN -> [TIMEOUT][44] ([i915#1319])
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl3/igt@kms_content_protection@atomic-dpms.html

  * igt@kms_cursor_crc@pipe-a-cursor-max-size-random:
    - shard-skl:          NOTRUN -> [SKIP][45] ([fdo#109271]) +20 similar issues
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl5/igt@kms_cursor_crc@pipe-a-cursor-max-size-random.html
    - shard-tglb:         NOTRUN -> [SKIP][46] ([i915#3359])
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@kms_cursor_crc@pipe-a-cursor-max-size-random.html

  * igt@kms_cursor_crc@pipe-b-cursor-512x170-offscreen:
    - shard-iclb:         NOTRUN -> [SKIP][47] ([fdo#109278] / [fdo#109279]) +1 similar issue
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_cursor_crc@pipe-b-cursor-512x170-offscreen.html

  * igt@kms_cursor_crc@pipe-b-cursor-512x512-rapid-movement:
    - shard-tglb:         NOTRUN -> [SKIP][48] ([fdo#109279] / [i915#3359])
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@kms_cursor_crc@pipe-b-cursor-512x512-rapid-movement.html

  * igt@kms_cursor_crc@pipe-b-cursor-size-change:
    - shard-apl:          NOTRUN -> [FAIL][49] ([i915#3444])
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl1/igt@kms_cursor_crc@pipe-b-cursor-size-change.html

  * igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:
    - shard-iclb:         NOTRUN -> [SKIP][50] ([fdo#109274] / [fdo#109278])
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy.html

  * igt@kms_cursor_legacy@flip-vs-cursor-atomic:
    - shard-skl:          [PASS][51] -> [FAIL][52] ([i915#2346])
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl10/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl3/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html

  * igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2:
    - shard-glk:          [PASS][53] -> [FAIL][54] ([i915#79])
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-glk9/igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2.html
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-glk1/igt@kms_flip@2x-flip-vs-expired-vblank@ab-hdmi-a1-hdmi-a2.html

  * igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-hdmi-a1-hdmi-a2:
    - shard-glk:          [PASS][55] -> [FAIL][56] ([i915#2122])
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-glk4/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-hdmi-a1-hdmi-a2.html
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-glk5/igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-hdmi-a1-hdmi-a2.html

  * igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp1:
    - shard-kbl:          [PASS][57] -> [FAIL][58] ([i915#79])
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl3/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp1.html
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl4/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-dp1.html

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-pgflip-blt:
    - shard-tglb:         NOTRUN -> [SKIP][59] ([fdo#111825]) +7 similar issues
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-pgflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-blt:
    - shard-glk:          NOTRUN -> [SKIP][60] ([fdo#109271]) +5 similar issues
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-glk6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-plflip-blt:
    - shard-iclb:         NOTRUN -> [SKIP][61] ([fdo#109280]) +2 similar issues
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-plflip-blt.html

  * igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
    - shard-apl:          NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#533]) +4 similar issues
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl7/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html

  * igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
    - shard-skl:          [PASS][63] -> [FAIL][64] ([fdo#108145] / [i915#265])
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl7/igt@kms_plane_alpha_blend@pipe-a-coverage-7efc.html
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl5/igt@kms_plane_alpha_blend@pipe-a-coverage-7efc.html

  * igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
    - shard-apl:          NOTRUN -> [FAIL][65] ([fdo#108145] / [i915#265]) +2 similar issues
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl7/igt@kms_plane_alpha_blend@pipe-c-alpha-basic.html

  * igt@kms_plane_alpha_blend@pipe-c-alpha-opaque-fb:
    - shard-kbl:          NOTRUN -> [FAIL][66] ([fdo#108145] / [i915#265])
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl6/igt@kms_plane_alpha_blend@pipe-c-alpha-opaque-fb.html

  * igt@kms_plane_lowres@pipe-c-tiling-x:
    - shard-iclb:         NOTRUN -> [SKIP][67] ([i915#3536])
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_plane_lowres@pipe-c-tiling-x.html

  * igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
    - shard-apl:          NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#658]) +2 similar issues
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl1/igt@kms_psr2_sf@plane-move-sf-dmg-area-2.html

  * igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5:
    - shard-kbl:          NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#658]) +1 similar issue
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl3/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5.html

  * igt@kms_psr@psr2_cursor_mmap_cpu:
    - shard-iclb:         [PASS][70] -> [SKIP][71] ([fdo#109441]) +2 similar issues
   [70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb2/igt@kms_psr@psr2_cursor_mmap_cpu.html
   [71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb5/igt@kms_psr@psr2_cursor_mmap_cpu.html

  * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270:
    - shard-tglb:         NOTRUN -> [SKIP][72] ([fdo#111615])
   [72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270.html

  * igt@kms_sysfs_edid_timing:
    - shard-apl:          NOTRUN -> [FAIL][73] ([IGT#2])
   [73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl1/igt@kms_sysfs_edid_timing.html

  * igt@kms_vrr@flip-suspend:
    - shard-iclb:         NOTRUN -> [SKIP][74] ([fdo#109502])
   [74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_vrr@flip-suspend.html

  * igt@nouveau_crc@pipe-c-source-outp-inactive:
    - shard-tglb:         NOTRUN -> [SKIP][75] ([i915#2530])
   [75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb2/igt@nouveau_crc@pipe-c-source-outp-inactive.html

  * igt@perf@blocking:
    - shard-skl:          [PASS][76] -> [FAIL][77] ([i915#1542]) +1 similar issue
   [76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl8/igt@perf@blocking.html
   [77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl4/igt@perf@blocking.html

  * igt@prime_nv_pcopy@test2:
    - shard-iclb:         NOTRUN -> [SKIP][78] ([fdo#109291])
   [78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@prime_nv_pcopy@test2.html

  * igt@sysfs_clients@recycle:
    - shard-apl:          NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#2994])
   [79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl7/igt@sysfs_clients@recycle.html

  * igt@sysfs_clients@split-50:
    - shard-kbl:          NOTRUN -> [SKIP][80] ([fdo#109271] / [i915#2994]) +1 similar issue
   [80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl3/igt@sysfs_clients@split-50.html

  
#### Possible fixes ####

  * igt@gem_eio@in-flight-10ms:
    - {shard-rkl}:        [TIMEOUT][81] ([i915#3063]) -> [PASS][82]
   [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-rkl-2/igt@gem_eio@in-flight-10ms.html
   [82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-rkl-2/igt@gem_eio@in-flight-10ms.html

  * igt@gem_eio@in-flight-contexts-1us:
    - shard-iclb:         [TIMEOUT][83] ([i915#3070]) -> [PASS][84]
   [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb1/igt@gem_eio@in-flight-contexts-1us.html
   [84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb6/igt@gem_eio@in-flight-contexts-1us.html

  * igt@gem_eio@reset-stress:
    - {shard-rkl}:        [FAIL][85] ([i915#3115]) -> [PASS][86]
   [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-rkl-2/igt@gem_eio@reset-stress.html
   [86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-rkl-1/igt@gem_eio@reset-stress.html

  * igt@gem_exec_fair@basic-pace-share@rcs0:
    - shard-glk:          [FAIL][87] ([i915#2842]) -> [PASS][88]
   [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-glk4/igt@gem_exec_fair@basic-pace-share@rcs0.html
   [88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-glk9/igt@gem_exec_fair@basic-pace-share@rcs0.html

  * igt@gem_exec_fair@basic-pace@vecs0:
    - shard-tglb:         [FAIL][89] ([i915#2842]) -> [PASS][90] +1 similar issue
   [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-tglb3/igt@gem_exec_fair@basic-pace@vecs0.html
   [90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-tglb6/igt@gem_exec_fair@basic-pace@vecs0.html

  * igt@gem_exec_fair@basic-throttle@rcs0:
    - {shard-rkl}:        [FAIL][91] ([i915#2842]) -> [PASS][92] +2 similar issues
   [91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-rkl-5/igt@gem_exec_fair@basic-throttle@rcs0.html
   [92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-rkl-2/igt@gem_exec_fair@basic-throttle@rcs0.html

  * igt@gem_mmap_gtt@cpuset-basic-small-copy-xy:
    - shard-iclb:         [FAIL][93] ([i915#2428]) -> [PASS][94]
   [93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb1/igt@gem_mmap_gtt@cpuset-basic-small-copy-xy.html
   [94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb6/igt@gem_mmap_gtt@cpuset-basic-small-copy-xy.html

  * igt@kms_big_fb@linear-64bpp-rotate-0:
    - shard-iclb:         [DMESG-WARN][95] ([i915#3621]) -> [PASS][96]
   [95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb1/igt@kms_big_fb@linear-64bpp-rotate-0.html
   [96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb7/igt@kms_big_fb@linear-64bpp-rotate-0.html

  * igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a:
    - shard-iclb:         [SKIP][97] ([i915#3788]) -> [PASS][98]
   [97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb2/igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a.html
   [98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb1/igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a.html

  * igt@kms_flip@flip-vs-expired-vblank@c-edp1:
    - shard-skl:          [FAIL][99] ([i915#79]) -> [PASS][100]
   [99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl3/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html
   [100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl9/igt@kms_flip@flip-vs-expired-vblank@c-edp1.html

  * igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
    - shard-kbl:          [DMESG-WARN][101] ([i915#180]) -> [PASS][102] +3 similar issues
   [101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl4/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
   [102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl3/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html

  * igt@kms_flip@plain-flip-fb-recreate-interruptible@c-edp1:
    - shard-skl:          [FAIL][103] ([i915#2122]) -> [PASS][104] +1 similar issue
   [103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl9/igt@kms_flip@plain-flip-fb-recreate-interruptible@c-edp1.html
   [104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl8/igt@kms_flip@plain-flip-fb-recreate-interruptible@c-edp1.html

  * igt@kms_hdr@bpc-switch-dpms:
    - shard-skl:          [FAIL][105] ([i915#1188]) -> [PASS][106] +1 similar issue
   [105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl10/igt@kms_hdr@bpc-switch-dpms.html
   [106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl3/igt@kms_hdr@bpc-switch-dpms.html

  * igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
    - shard-skl:          [FAIL][107] ([fdo#108145] / [i915#265]) -> [PASS][108]
   [107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-skl6/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
   [108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-skl8/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

  * igt@kms_psr@psr2_sprite_plane_onoff:
    - shard-iclb:         [SKIP][109] ([fdo#109441]) -> [PASS][110]
   [109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb6/igt@kms_psr@psr2_sprite_plane_onoff.html
   [110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb2/igt@kms_psr@psr2_sprite_plane_onoff.html

  * igt@kms_vblank@pipe-a-ts-continuation-suspend:
    - shard-kbl:          [DMESG-WARN][111] ([i915#180] / [i915#295]) -> [PASS][112]
   [111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl7/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
   [112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl1/igt@kms_vblank@pipe-a-ts-continuation-suspend.html

  
#### Warnings ####

  * igt@i915_pm_rc6_residency@rc6-fence:
    - shard-iclb:         [WARN][113] ([i915#1804] / [i915#2684]) -> [WARN][114] ([i915#2684])
   [113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb7/igt@i915_pm_rc6_residency@rc6-fence.html
   [114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb1/igt@i915_pm_rc6_residency@rc6-fence.html

  * igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2:
    - shard-iclb:         [SKIP][115] ([i915#658]) -> [SKIP][116] ([i915#2920]) +1 similar issue
   [115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb6/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2.html
   [116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb2/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2.html

  * igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-4:
    - shard-iclb:         [SKIP][117] ([i915#2920]) -> [SKIP][118] ([i915#658]) +1 similar issue
   [117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb2/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-4.html
   [118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb1/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-4.html

  * igt@runner@aborted:
    - shard-kbl:          ([FAIL][119], [FAIL][120], [FAIL][121], [FAIL][122], [FAIL][123], [FAIL][124]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#3002] / [i915#3363] / [i915#602]) -> ([FAIL][125], [FAIL][126], [FAIL][127]) ([i915#1436] / [i915#1814] / [i915#3002] / [i915#3363])
   [119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl4/igt@runner@aborted.html
   [120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl7/igt@runner@aborted.html
   [121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl7/igt@runner@aborted.html
   [122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl7/igt@runner@aborted.html
   [123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl4/igt@runner@aborted.html
   [124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-kbl4/igt@runner@aborted.html
   [125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl1/igt@runner@aborted.html
   [126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl3/igt@runner@aborted.html
   [127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-kbl7/igt@runner@aborted.html
    - shard-iclb:         ([FAIL][128], [FAIL][129], [FAIL][130]) ([i915#1814] / [i915#3002]) -> ([FAIL][131], [FAIL][132]) ([i915#3002])
   [128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb2/igt@runner@aborted.html
   [129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb1/igt@runner@aborted.html
   [130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-iclb2/igt@runner@aborted.html
   [131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb5/igt@runner@aborted.html
   [132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-iclb1/igt@runner@aborted.html
    - shard-apl:          ([FAIL][133], [FAIL][134], [FAIL][135], [FAIL][136]) ([i915#180] / [i915#1814] / [i915#3002] / [i915#3363]) -> ([FAIL][137], [FAIL][138]) ([i915#3002] / [i915#3363])
   [133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-apl7/igt@runner@aborted.html
   [134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-apl8/igt@runner@aborted.html
   [135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-apl1/igt@runner@aborted.html
   [136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10502/shard-apl1/igt@runner@aborted.html
   [137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl7/igt@runner@aborted.html
   [138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/shard-apl7/igt@runner@aborted.html

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

  [IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2
  [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
  [fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
  [fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
  [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
  [fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
  [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
  [fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [fdo#109502]: https://bugs.freedesktop.org/show_bug.cgi?id=109502
  [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
  [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
  [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
  [i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
  [i915#1149]: https://gitlab.freedesktop.org/drm/intel/issues/1149
  [i915#1188]: https://gitlab.freedesktop.org/drm/intel/issues/1188
  [i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319
  [i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
  [i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542
  [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
  [i915#1804]: https://gitlab.freedesktop.org/drm/intel/issues/1804
  [i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
  [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
  [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
  [

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_20860/index.html

[-- Attachment #2: Type: text/html, Size: 36544 bytes --]

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

end of thread, other threads:[~2021-08-27 20:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 15:49 [PATCH] drm/i915: Actually delete gpu reloc selftests Daniel Vetter
2021-08-20 15:49 ` [Intel-gfx] " Daniel Vetter
2021-08-20 16:12 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2021-08-20 16:44 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2021-08-20 16:59 ` [PATCH] " Rodrigo Vivi
2021-08-20 16:59   ` [Intel-gfx] " Rodrigo Vivi
2021-08-20 17:59   ` Daniel Vetter
2021-08-20 17:59     ` [Intel-gfx] " Daniel Vetter
2021-08-27  8:13     ` Daniel Vetter
2021-08-27  8:13       ` [Intel-gfx] " Daniel Vetter
2021-08-27 16:08 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2021-08-27 19:59 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.