diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2016-02-09 10:16:51 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2016-04-14 13:54:24 +0100 |
commit | 3fee80efcfb41cc7f25afa968bb38e68faa6c34c (patch) | |
tree | 76aedab17652fefd6cdb946ffb29f7f41718c52e /lib/drmtest.h | |
parent | 0eadf638e4e11394adcb574b986f5dea077d4a4c (diff) |
lib: add igt_require_intel
Add function that requires that the driver we are talking to is i915.
This allows us to skip subtests that are specific to that driver.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.h')
-rw-r--r-- | lib/drmtest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/drmtest.h b/lib/drmtest.h index d4884666..5d38f142 100644 --- a/lib/drmtest.h +++ b/lib/drmtest.h @@ -82,6 +82,8 @@ int __drm_open_driver(int chipset); void gem_quiescent_gpu(int fd); +void igt_require_intel(int fd); + /** * do_or_die: * @x: command |