drm/vc4: Improve the KUnit documentation

The command-line can be expressed using a code-block, and we were
missing which architectures were available.

Suggested-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Maíra Canal <mcanal@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20221208094727.2848310-1-maxime@cerno.tech
This commit is contained in:
Maxime Ripard 2022-12-08 10:47:27 +01:00
parent 5eb9a43140
commit 76f34f1377
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5

View File

@ -61,8 +61,11 @@ The VC4 Driver uses KUnit to perform driver-specific unit and
integration tests. integration tests.
These tests are using a mock driver and can be ran using the These tests are using a mock driver and can be ran using the
command:: command below, on either arm or arm64 architectures,
./tools/testing/kunit/kunit.py run \
.. code-block:: bash
$ ./tools/testing/kunit/kunit.py run \
--kunitconfig=drivers/gpu/drm/vc4/tests/.kunitconfig \ --kunitconfig=drivers/gpu/drm/vc4/tests/.kunitconfig \
--cross_compile aarch64-linux-gnu- --arch arm64 --cross_compile aarch64-linux-gnu- --arch arm64