diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2018-12-05 11:04:44 +0100 |
---|---|---|
committer | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-02-26 09:45:54 +0100 |
commit | caa9bb3a131ed8bcef7eae1d153ece6c20bc116c (patch) | |
tree | dfbfd0228ff8030e467a279daf52a214136bf6a8 /lib/drmtest.h | |
parent | 7cc428962158ed4335d998a5cd447050d423e618 (diff) |
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 <paul.kocialkowski@bootlin.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
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 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: |