public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/i915/gem_threaded_access_tiled: Require fences
@ 2020-02-14  0:40 Antonio Argenziano
  2020-02-14  0:48 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Antonio Argenziano @ 2020-02-14  0:40 UTC (permalink / raw)
  To: igt-dev; +Cc: Dixit

The test tries to allocate tiled objects which is not possible without
fences.

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

diff --git a/tests/i915/gem_threaded_access_tiled.c b/tests/i915/gem_threaded_access_tiled.c
index 64a00026..6442d589 100644
--- a/tests/i915/gem_threaded_access_tiled.c
+++ b/tests/i915/gem_threaded_access_tiled.c
@@ -98,6 +98,8 @@ igt_simple_main
 	fd = drm_open_driver(DRIVER_INTEL);
 	igt_assert(fd >= 0);
 
+	igt_require(gem_available_fences(fd) > 0);
+
 	bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
 	igt_assert(bufmgr);
 
-- 
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-02-17 15:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-14  0:40 [igt-dev] [PATCH i-g-t] tests/i915/gem_threaded_access_tiled: Require fences Antonio Argenziano
2020-02-14  0:48 ` Chris Wilson
2020-02-14  1:41 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-02-17 15:57 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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