diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-22 15:24:54 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-22 15:28:33 +0000 |
commit | 9518cb59abe35143f15abac2b7ffdb99820ef53c (patch) | |
tree | 6840ce3c318a831bedecb33cae004fcdf5d3f40f /tests/gem_ctx_switch.c | |
parent | af0e1c583e4235028a750551b4637c79ff482b30 (diff) |
igt: Start marking up GEM tests that require an alive GPU to function
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_ctx_switch.c')
-rw-r--r-- | tests/gem_ctx_switch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c index 00122806..80ebce5d 100644 --- a/tests/gem_ctx_switch.c +++ b/tests/gem_ctx_switch.c @@ -151,6 +151,8 @@ igt_main const uint32_t bbe = MI_BATCH_BUFFER_END; fd = drm_open_driver(DRIVER_INTEL); + igt_require_gem(fd); + light = gem_create(fd, 4096); gem_write(fd, light, 0, &bbe, sizeof(bbe)); |