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

Petri Latvala
2019-06-18T08:15:07Z

On Mon, Jun 17, 2019 at 04:18:41PM +0100, Liviu Dudau wrote:
> Add the drivers maintained by Arm developers to the igt.
>
> Signed-off-by: Liviu Dudau <liviu.dudau@arm.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..17e1ce8fd 100644
> --- a/lib/drmtest.c
> +++ b/lib/drmtest.c
> @@ -211,6 +211,9 @@ static const struct module {
> { DRIVER_VC4, "vc4" },
> { DRIVER_VGEM, "vgem" },
> { DRIVER_VIRTIO, "virtio_gpu", modprobe_virtio },
> + { DRIVER_HDLCD, "hdlcd" },
> + { DRIVER_MALIDP, "mali_dp" },
> + { DRIVER_KOMEDA, "komeda" },
> {}

This array needs to be alphabetically sorted, binary search is used for it.

--
Petri Latvala