Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/doc: Document KUnit expectations

The DRM and KMS frameworks and helpers gain more and more kunit
coverage, so let's document what our expectations are.

Suggested-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Maíra Canal <mcanal@igalia.com>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113101100.1373856-1-mripard@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>

+7
+7
Documentation/gpu/drm-internals.rst
··· 208 208 ``CONFIG_VIRTIO_UML`` and ``CONFIG_UML_PCI_OVER_VIRTIO`` are not 209 209 included in it because they are only required for User Mode Linux. 210 210 211 + KUnit Coverage Rules 212 + ~~~~~~~~~~~~~~~~~~~~ 213 + 214 + KUnit support is gradually added to the DRM framework and helpers. There's no 215 + general requirement for the framework and helpers to have KUnit tests at the 216 + moment. However, patches that are affecting a function or helper already 217 + covered by KUnit tests must provide tests if the change calls for one. 211 218 212 219 Legacy Support Code 213 220 ===================