All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] igt/gem_pwrite_snooped: Check for GEM before use
@ 2018-07-13 17:29 ` Chris Wilson
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Wilson @ 2018-07-13 17:29 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

As we try to blit into the buffer to check CPU<->GPU snooping, we have
to check we have a functional GPU first.

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

diff --git a/tests/gem_pwrite_snooped.c b/tests/gem_pwrite_snooped.c
index b19339560..47ccce8b7 100644
--- a/tests/gem_pwrite_snooped.c
+++ b/tests/gem_pwrite_snooped.c
@@ -130,6 +130,8 @@ igt_simple_main
 	igt_skip_on_simulation();
 
 	fd = drm_open_driver(DRIVER_INTEL);
+	igt_require_gem(fd);
+
 	devid = intel_get_drm_devid(fd);
 	bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
 
-- 
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] 6+ messages in thread

end of thread, other threads:[~2018-07-16 18:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 17:29 [PATCH i-g-t] igt/gem_pwrite_snooped: Check for GEM before use Chris Wilson
2018-07-13 17:29 ` [igt-dev] " Chris Wilson
2018-07-13 18:41 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-07-13 20:10 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2018-07-16 18:43 ` [igt-dev] [PATCH i-g-t] " vbelgaum
2018-07-16 18:43   ` vbelgaum

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.