Skip to content

Commit 099b79f

Browse files
committed
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 <[email protected]> Acked-by: Maíra Canal <[email protected]> Acked-by: Tvrtko Ursulin <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Acked-by: Jani Nikula <[email protected]> Acked-by: Simona Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
1 parent b93f07c commit 099b79f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/gpu/drm-internals.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,13 @@ follows:
208208
``CONFIG_VIRTIO_UML`` and ``CONFIG_UML_PCI_OVER_VIRTIO`` are not
209209
included in it because they are only required for User Mode Linux.
210210

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.
211218

212219
Legacy Support Code
213220
===================

0 commit comments

Comments
 (0)