summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-08-31 14:59:02 -0700
committerEric Anholt <eric@anholt.net>2018-11-26 12:41:34 -0800
commit2388bbd062c17b5912039101efd4603e8d876c88 (patch)
tree325e921fd3cafcd17d9cf179a9580cb94361cfb5 /lib/drmtest.c
parentbca1999348a40abf192869f36d5c25e1ce2f2e6f (diff)
v3d: Add a helper library
Just a few little ioctl wrappers that v3d tests will use. v2: Move the struct above the prototypes. Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Petri Latvala <petri.latvala@intel.com> (v1)
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index fee9d33a..d2aa1c19 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -202,6 +202,7 @@ static const struct module {
} modules[] = {
{ DRIVER_AMDGPU, "amdgpu" },
{ DRIVER_INTEL, "i915", modprobe_i915 },
+ { DRIVER_V3D, "v3d" },
{ DRIVER_VC4, "vc4" },
{ DRIVER_VGEM, "vgem" },
{ DRIVER_VIRTIO, "virtio-gpu" },
@@ -340,6 +341,8 @@ static const char *chipset_to_str(int chipset)
switch (chipset) {
case DRIVER_INTEL:
return "intel";
+ case DRIVER_V3D:
+ return "v3d";
case DRIVER_VC4:
return "vc4";
case DRIVER_VGEM: