[PATCH 0/2] drm/nouveau: add initial KUnit test suite
From: Munique Feitoza
Date: Sun Dec 06 2026 - 03:50:56 EST
Add CONFIG_DRM_NOUVEAU_KUNIT_TEST and an initial KUnit test suite for
Nouveau covering dispnv50 head mode/view calculations and nvkm
gt215_pll_calc() (9 tests passing via kunit.py).
Munique Feitoza (2):
drm/nouveau: add KUnit tests for dispnv50 head helpers
drm/nouveau: add KUnit tests for gt215_pll_calc()
drivers/gpu/drm/nouveau/Kbuild | 1 +
drivers/gpu/drm/nouveau/Kconfig | 10 +
drivers/gpu/drm/nouveau/dispnv50/head.c | 7 +-
drivers/gpu/drm/nouveau/dispnv50/head.h | 10 +
.../drm/nouveau/nvkm/subdev/clk/pllgt215.c | 2 +
drivers/gpu/drm/nouveau/tests/Makefile | 12 +
.../gpu/drm/nouveau/tests/nv50_head_test.c | 260 ++++++++++++++++++
drivers/gpu/drm/nouveau/tests/nvkm_pll_test.c | 99 +++++++
8 files changed, 399 insertions(+), 2 deletions(-)
create mode 100644 drivers/gpu/drm/nouveau/tests/Makefile
create mode 100644 drivers/gpu/drm/nouveau/tests/nv50_head_test.c
create mode 100644 drivers/gpu/drm/nouveau/tests/nvkm_pll_test.c
--
2.56.1