Re: [igt-dev] [PATCH i-g-t v3] Add Arm drivers as supported drivers by igt.

Petri Latvala
2019-06-20T12:51:41Z

On Thu, Jun 20, 2019 at 01:42:54PM +0100, Liviu Dudau wrote:
> Add the drivers maintained by Arm developers to the igt.
>
> v3: Update the mali-dp driver's name to match kernel driver code.
> v2: Order the modules array entries alphabetically, as per
> Petri Latvala's suggestion.
>
> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>

Reviewed-by: Petri Latvala <petri.latvala@intel.com>

> ---
> lib/drmtest.c | 3 +++
> lib/drmtest.h | 4 ++++
> 2 files changed, 7 insertions(+)
>
> diff --git a/lib/drmtest.c b/lib/drmtest.c
> index 25f203530..8243247a3 100644
> --- a/lib/drmtest.c
> +++ b/lib/drmtest.c
> @@ -205,7 +205,10 @@ static const struct module {
> void (*modprobe)(const char *name);
> } modules[] = {
> { DRIVER_AMDGPU, "amdgpu" },
> + { DRIVER_HDLCD, "hdlcd" },
> { DRIVER_INTEL, "i915", modprobe_i915 },
> + { DRIVER_KOMEDA, "komeda" },
> + { DRIVER_MALIDP, "mali-dp" },
> { DRIVER_PANFROST, "panfrost" },
> { DRIVER_V3D, "v3d" },
> { DRIVER_VC4, "vc4" },
> diff --git a/lib/drmtest.h b/lib/drmtest.h
> index 6c4c3899c..952f0c4b6 100644
> --- a/lib/drmtest.h
> +++ b/lib/drmtest.h
> @@ -45,6 +45,10 @@
> #define DRIVER_AMDGPU (1 << 4)
> #define DRIVER_V3D (1 << 5)
> #define DRIVER_PANFROST (1 << 6)
> +#define DRIVER_HDLCD (1 << 7)
> +#define DRIVER_MALIDP (1 << 8)
> +#define DRIVER_KOMEDA (1 << 9)
> +
> /*
> * Exclude DRVER_VGEM from DRIVER_ANY since if you run on a system
> * with vgem as well as a supported driver, you can end up with a
> --
> 2.22.0