igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH i-g-t] igt/gem_unfence_active_buffers: Check GEM before use
@ 2018-07-12 15:40 Chris Wilson
  2018-07-12 19:01 ` [igt-dev] " Ville Syrjälä
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chris Wilson @ 2018-07-12 15:40 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

As we want to make the buffers active on the GPU before removing their
fence, an operational GPU (not wedged!) is required.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gem_unfence_active_buffers.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/gem_unfence_active_buffers.c b/tests/gem_unfence_active_buffers.c
index 6df23cc53..b78fbafa7 100644
--- a/tests/gem_unfence_active_buffers.c
+++ b/tests/gem_unfence_active_buffers.c
@@ -74,6 +74,7 @@ igt_simple_main
 		data[i] = i;
 
 	fd = drm_open_driver(DRIVER_INTEL);
+	igt_require_gem(fd);
 
 	bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
 	drm_intel_bufmgr_gem_enable_reuse(bufmgr);
-- 
2.18.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2018-07-12 22:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-12 15:40 [Intel-gfx] [PATCH i-g-t] igt/gem_unfence_active_buffers: Check GEM before use Chris Wilson
2018-07-12 19:01 ` [igt-dev] " Ville Syrjälä
2018-07-12 19:04 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-07-12 22:41 ` [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;
as well as URLs for NNTP newsgroup(s).