From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Erico Nunes To: igt-dev@lists.freedesktop.org Date: Fri, 26 May 2023 14:59:58 +0200 Message-Id: <20230526130001.71730-1-nunes.erico@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2 0/3] Initial tests for the lima drm driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: anarsoul@gmail.com, yuq825@gmail.com, lima@lists.freedesktop.org Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: I started working on something for the lima drm driver and realized that there is no coverage for it in igt yet. It would be nice to have some to check the driver specific ioctls and support that work. Here are some to get some basic support and if we can get these in, we can follow up with more tests to cover the remaining ioctls. I used the panfrost and v3d gem tests as a reference for these initial tests. v2: fixed build after CI failure Erico Nunes (3): lib: Add support for opening lima devices lib/lima: Add lima helpers tests/lima: Add initial tests for lima lib/drmtest.c | 3 ++ lib/drmtest.h | 1 + lib/igt_lima.c | 97 ++++++++++++++++++++++++++++++++++++++++++++ lib/igt_lima.h | 26 ++++++++++++ lib/meson.build | 1 + tests/lima_gem_new.c | 78 +++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 7 files changed, 207 insertions(+) create mode 100644 lib/igt_lima.c create mode 100644 lib/igt_lima.h create mode 100644 tests/lima_gem_new.c -- 2.40.1