Hi Daniel, On 2025-09-12 at 15:19:28 -0300, Daniel Almeida wrote: > We will be adding tests for Panthor in a subsequent patch, so first add > the ability to open the device. > > In particular, these will be used to test both Panthor[0] and Tyr[1], > i.e.: the new Rust GPU driver that implements Panthor's uAPI (i.e.: > panthor_drm.h). > > This work is being tested on a RockPi 5, featuring an rk3588 SoC and > Mali-G610 Valhall. > > [0]: > https://patchwork.freedesktop.org/patch/msgid/20240229162230.2634044-12-boris.brezil...@collabora.com > [1]: https://lore.kernel.org/dri-devel/amlb0vs0dj_ak...@google.com/ > > Signed-off-by: Daniel Almeida <daniel.alme...@collabora.com>
Reviewed-by: Kamil Konieczny <kamil.koniec...@linux.intel.com> > --- > lib/drmtest.c | 1 + > lib/drmtest.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/lib/drmtest.c b/lib/drmtest.c > index 551385867..ea37a886a 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 a9542dde2..4c34ac311 100644 > --- a/lib/drmtest.h > +++ b/lib/drmtest.h > @@ -56,6 +56,7 @@ int __get_drm_device_name(int fd, char *name, int > name_size); > #define DRIVER_XE (1 << 7) > #define DRIVER_VMWGFX (1 << 8) > #define DRIVER_VKMS (1 << 9) > +#define DRIVER_PANTHOR (1 << 10) > > /* > * Exclude DRVER_VGEM from DRIVER_ANY since if you run on a system > -- > 2.51.0 >