From caa9bb3a131ed8bcef7eae1d153ece6c20bc116c Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Wed, 5 Dec 2018 11:04:44 +0100 Subject: lib: drmtest: Add helpers to check and require the VC4 driver In order to add support for features specific to the VC4 driver, add helpers for checking and requiring the driver like it's done for the i915 driver. Signed-off-by: Paul Kocialkowski Reviewed-by: Lyude Paul Reviewed-by: Maxime Ripard --- lib/drmtest.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/drmtest.h') diff --git a/lib/drmtest.h b/lib/drmtest.h index 8743b1bb..ca347a71 100644 --- a/lib/drmtest.h +++ b/lib/drmtest.h @@ -80,8 +80,10 @@ int __drm_open_driver(int chipset); void gem_quiescent_gpu(int fd); void igt_require_intel(int fd); +void igt_require_vc4(int fd); bool is_i915_device(int fd); +bool is_vc4_device(int fd); /** * do_or_die: -- cgit v1.2.3