public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Antonio Argenziano <antonio.argenziano@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Petri Latvala <petri.latvala@intel.com>, Dixit@freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_basic: Skip subtest gtt if gtt mapping is unavailable
Date: Fri, 31 Jan 2020 09:04:16 -0800	[thread overview]
Message-ID: <20200131170416.7663-1-antonio.argenziano@intel.com> (raw)

The subtest tries to do a gtt mapping but if there is no mappable
aperture that is not possible.

v2:
	- Skip the whole dynamic subtest. (Petri)

Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Dixit, Ashutosh <ashutosh.dixit@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Petri Latvala <petri.latvala@intel.com>
---
 tests/i915/gem_exec_basic.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/gem_exec_basic.c b/tests/i915/gem_exec_basic.c
index 70dce34b..b3c56369 100644
--- a/tests/i915/gem_exec_basic.c
+++ b/tests/i915/gem_exec_basic.c
@@ -141,6 +141,8 @@ igt_main
 	}
 
 	igt_subtest_with_dynamic("gtt") {
+		gem_require_mappable_ggtt(fd);
+
 		__for_each_physical_engine(fd, e) {
 			igt_dynamic_f("%s", e->name)
 				gtt(fd, e->flags);
-- 
2.21.0

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

             reply	other threads:[~2020-01-31 17:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31 17:04 Antonio Argenziano [this message]
2020-01-31 18:00 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/i915/gem_exec_basic: Skip subtest gtt if gtt mapping is unavailable (rev3) Patchwork
2020-02-01  3:38 ` [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_basic: Skip subtest gtt if gtt mapping is unavailable Dixit, Ashutosh
2020-02-04 10:36 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/i915/gem_exec_basic: Skip subtest gtt if gtt mapping is unavailable (rev3) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2020-01-31  0:15 [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_basic: Skip subtest gtt if gtt mapping is unavailable Antonio Argenziano
2020-01-31  5:05 ` Dixit, Ashutosh
2020-01-31  8:20   ` Chris Wilson
2020-01-31 10:50 ` Petri Latvala
2020-01-31 10:56   ` Chris Wilson

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=20200131170416.7663-1-antonio.argenziano@intel.com \
    --to=antonio.argenziano@intel.com \
    --cc=Dixit@freedesktop.org \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=petri.latvala@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox