All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrzej Turko <andrzej.turko@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/5] tests/i915/gem_exec_gttfill: Require relocation support
Date: Mon,  5 Jul 2021 16:11:30 +0200	[thread overview]
Message-ID: <20210705141133.10329-3-andrzej.turko@linux.intel.com> (raw)
In-Reply-To: <20210705141133.10329-1-andrzej.turko@linux.intel.com>

Since this test uses relocations, which are now disabled on newer
generations, we need to skip the test if they are not supported.
In order to maintain coverage a slightly modified version of this
test using softpinning instead of relocations is added to gem_softpin.

Signed-off-by: Andrzej Turko <andrzej.turko@linux.intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
---
 tests/i915/gem_exec_gttfill.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_exec_gttfill.c b/tests/i915/gem_exec_gttfill.c
index e711576f5..4b206c1bd 100644
--- a/tests/i915/gem_exec_gttfill.c
+++ b/tests/i915/gem_exec_gttfill.c
@@ -214,6 +214,7 @@ igt_main
 	igt_fixture {
 		i915 = drm_open_driver(DRIVER_INTEL);
 		igt_require_gem(i915);
+		igt_require(gem_has_relocations(i915));
 		igt_fork_hang_detector(i915);
 	}
 
-- 
2.25.1

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

  parent reply	other threads:[~2021-07-05 14:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-05 14:11 [igt-dev] [PATCH i-g-t v5 0/5] Keep tests working without relocations Andrzej Turko
2021-07-05 14:11 ` [igt-dev] [PATCH i-g-t 1/5] tests/i915/gem_exec_store: Support gens " Andrzej Turko
2021-07-05 14:11 ` Andrzej Turko [this message]
2021-07-05 14:11 ` [igt-dev] [PATCH i-g-t 3/5] tests/i915/gem_exec_capture: " Andrzej Turko
2021-07-05 14:11 ` [igt-dev] [PATCH i-g-t 4/5] tests/i915/gem_softpin: Exercise eviction with softpinning Andrzej Turko
2021-07-05 14:11 ` [igt-dev] [PATCH i-g-t 5/5] tests/i915/gem_exec_big: Require relocation support Andrzej Turko
2021-07-05 15:11 ` [igt-dev] ✗ Fi.CI.BAT: failure for Keep tests working without relocations (rev5) Patchwork
2021-07-06  5:26 ` [igt-dev] ✗ GitLab.Pipeline: warning for Keep tests working without relocations (rev6) Patchwork
2021-07-06  5:37 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2021-07-06  6:48 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2021-07-07 11:26 [igt-dev] [PATCH i-g-t v7 0/5] Keep tests working without relocations Andrzej Turko
2021-07-07 11:26 ` [igt-dev] [PATCH i-g-t 2/5] tests/i915/gem_exec_gttfill: Require relocation support Andrzej Turko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210705141133.10329-3-andrzej.turko@linux.intel.com \
    --to=andrzej.turko@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.