public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_sseu: Skip gtt tests if mappable aperture unavailable
@ 2020-01-31  0:39 Antonio Argenziano
  2020-01-31  1:20 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2020-01-31  5:18 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh
  0 siblings, 2 replies; 4+ messages in thread
From: Antonio Argenziano @ 2020-01-31  0:39 UTC (permalink / raw)
  To: igt-dev

The gtt tests try to verify that a gtt mapped area can be used as an
sseu pointer so it wouldn't make sense to run those when gtt mapping is
not available.

Signed-off-by: Antonio Argenziano <antonio.argenziano@intel.com>
---
 tests/i915/gem_ctx_sseu.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/gem_ctx_sseu.c b/tests/i915/gem_ctx_sseu.c
index 38dc584b..8b014b30 100644
--- a/tests/i915/gem_ctx_sseu.c
+++ b/tests/i915/gem_ctx_sseu.c
@@ -374,6 +374,8 @@ test_ggtt_args(int fd)
 	};
 	uint32_t bo;
 
+	gem_require_mappable_ggtt(fd);
+
 	bo = gem_create(fd, 4096);
 	arg.value = to_user_pointer(gem_mmap__gtt(fd, bo, 4096,
 						  PROT_READ | PROT_WRITE));
-- 
2.21.0

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

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

end of thread, other threads:[~2020-01-31 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-31  0:39 [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_sseu: Skip gtt tests if mappable aperture unavailable Antonio Argenziano
2020-01-31  1:20 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2020-01-31  5:18 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh
2020-01-31 17:07   ` Antonio Argenziano

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