From 2388bbd062c17b5912039101efd4603e8d876c88 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 31 Aug 2017 14:59:02 -0700 Subject: 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 Acked-by: Petri Latvala (v1) --- lib/drmtest.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/drmtest.c') 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: -- cgit v1.2.3