We will be adding tests for Panthor in a subsequent patch, so first add the ability to open the device.
Reviewed-by: Kamil Konieczny <[email protected]> Signed-off-by: Daniel Almeida <[email protected]> --- lib/drmtest.c | 1 + lib/drmtest.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/drmtest.c b/lib/drmtest.c index 590c4671a..3d8c8e79e 100644 --- a/lib/drmtest.c +++ b/lib/drmtest.c @@ -220,6 +220,7 @@ static const struct module { { DRIVER_INTEL, "i915", modprobe_i915 }, { DRIVER_MSM, "msm" }, { DRIVER_PANFROST, "panfrost" }, + { DRIVER_PANTHOR, "panthor" }, { DRIVER_V3D, "v3d" }, { DRIVER_VC4, "vc4" }, { DRIVER_VGEM, "vgem" }, diff --git a/lib/drmtest.h b/lib/drmtest.h index 8416aa491..4b0a71102 100644 --- a/lib/drmtest.h +++ b/lib/drmtest.h @@ -57,6 +57,7 @@ int __get_drm_device_name(int fd, char *name, int name_size); #define DRIVER_VMWGFX (1 << 8) #define DRIVER_VKMS (1 << 9) #define DRIVER_VIRTIO (1 << 10) +#define DRIVER_PANTHOR (1 << 11) /* * Exclude DRIVER_VGEM and DRIVER_VIRTIO from DRIVER_ANY since if you run -- 2.51.0
