[PATCH 0/1] KUnit tests for drm_format_helper

From: José Expósito
Date: Mon Jun 06 2022 - 05:55:36 EST


Hello everyone,

Recently Javier added a new task in the ToDo list [1] to create KUnit
tests for the functions present in "drm_format_helper".

This patch includes the changes suggested in the RFC version [2].

Best wishes,
José Expósito

[1] https://cgit.freedesktop.org/drm/drm-misc/commit/?id=596c35b1440e
[2] https://lore.kernel.org/dri-devel/20220530102017.471865-1-jose.exposito89@xxxxxxxxx/T/

José Expósito (1):
drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332()

drivers/gpu/drm/.kunitconfig | 3 +
drivers/gpu/drm/Kconfig | 16 +++
drivers/gpu/drm/Makefile | 2 +
drivers/gpu/drm/drm_format_helper_test.c | 166 +++++++++++++++++++++++
4 files changed, 187 insertions(+)
create mode 100644 drivers/gpu/drm/.kunitconfig
create mode 100644 drivers/gpu/drm/drm_format_helper_test.c

--
2.25.1