public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/4] igt/kms_flip_tiling: Check GEM availability before use
@ 2019-08-29 13:05 Chris Wilson
  2019-08-29 13:05 ` [igt-dev] [PATCH i-g-t 2/4] igt/kms_draw_crc: Test for a working GPU first Chris Wilson
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Chris Wilson @ 2019-08-29 13:05 UTC (permalink / raw)
  To: igt-dev; +Cc: intel-gfx

We use the GPU to convert between tiling formats, indirectly via the
call to igt_create_pattern_fb. So before we try and execute commands on
the GPU, we should check that the GPU is available.

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

diff --git a/tests/kms_flip_tiling.c b/tests/kms_flip_tiling.c
index 582af53cd..36558132a 100644
--- a/tests/kms_flip_tiling.c
+++ b/tests/kms_flip_tiling.c
@@ -155,6 +155,7 @@ igt_main
 	igt_fixture {
 		data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
 		data.gen = intel_gen(intel_get_drm_devid(data.drm_fd));
+		igt_require_gem(data.drm_fd);
 
 		kmstest_set_vt_graphics_mode();
 
-- 
2.23.0

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

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

end of thread, other threads:[~2019-08-30  3:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-29 13:05 [igt-dev] [PATCH i-g-t 1/4] igt/kms_flip_tiling: Check GEM availability before use Chris Wilson
2019-08-29 13:05 ` [igt-dev] [PATCH i-g-t 2/4] igt/kms_draw_crc: Test for a working GPU first Chris Wilson
2019-08-29 13:05 ` [igt-dev] [PATCH i-g-t 3/4] igt/gem_blits: Check for blitter support before use Chris Wilson
2019-08-29 13:05 ` [igt-dev] [PATCH i-g-t 4/4] igt/kms_frontbuffer_tracking: Skip over IGT_DRAW_BLT when there's no BLT Chris Wilson
2019-08-29 13:52 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] igt/kms_flip_tiling: Check GEM availability before use Patchwork
2019-08-30  3:03 ` [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