From: Joao Paulo Pereira da Silva <jppaulo11@usp.br>
To: rodrigo.siqueira@amd.com
Cc: paulormm@ime.usp.br, Xinhui.Pan@amd.com, airlied@linux.ie,
alexander.deucher@amd.com, amd-gfx@lists.freedesktop.org,
andrealmeid@riseup.net, christian.koenig@amd.com,
daniel@ffwll.ch, davidgow@google.com, dlatypov@google.com,
dri-devel@lists.freedesktop.org, harry.wentland@amd.com,
hersenxs.wu@amd.com, isabbasso@riseup.net, javierm@redhat.com,
kunit-dev@googlegroups.com, maarten.lankhorst@linux.intel.com,
magalilemes00@gmail.com, mairacanal@riseup.net,
mripard@kernel.org, mwen@igalia.com, nicholas.choi@amd.com,
sunpeng.li@amd.com, tales.aparecida@gmail.com,
twoerner@gmail.com, tzimmermann@suse.de,
Joao Paulo Pereira da Silva <jppaulo11@usp.br>
Subject: [PATCH 4/4] Documentation/gpu: Update AMD Display Core Unit Test documentation
Date: Sat, 20 Apr 2024 15:48:19 -0300 [thread overview]
Message-ID: <20240420184929.97854-5-jppaulo11@usp.br> (raw)
In-Reply-To: <20240420184929.97854-1-jppaulo11@usp.br>
Display Core unit tests documentation is a bit outdated, therefore
update it to follow current configuration.
Signed-off-by: Joao Paulo Pereira da Silva <jppaulo11@usp.br>
---
.../gpu/amdgpu/display/display-test.rst | 20 +++++++++----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/Documentation/gpu/amdgpu/display/display-test.rst b/Documentation/gpu/amdgpu/display/display-test.rst
index a8c136ce87b7..a9fddf0adae7 100644
--- a/Documentation/gpu/amdgpu/display/display-test.rst
+++ b/Documentation/gpu/amdgpu/display/display-test.rst
@@ -15,14 +15,14 @@ How to run the tests?
=====================
In order to facilitate running the test suite, a configuration file is present
-in ``drivers/gpu/drm/amd/display/tests/dc/.kunitconfig``. This configuration file
+in ``drivers/gpu/drm/amd/display/test/kunit/.kunitconfig``. This configuration file
can be used to run the kunit_tool, a Python script (``tools/testing/kunit/kunit.py``)
used to configure, build, exec, parse and run tests.
.. code-block:: bash
- $ ./tools/testing/kunit/kunit.py run --arch=x86_64 \
- --kunitconfig=drivers/gpu/drm/amd/display/tests
+ $ ./tools/testing/kunit/kunit.py run --arch=x86_64 \
+ --kunitconfig=drivers/gpu/drm/amd/display/test/kunit
Currently, the Display Core Unit Tests are only supported on x86_64.
@@ -34,10 +34,9 @@ you might add the following config options to your ``.config``:
CONFIG_KUNIT=y
CONFIG_AMDGPU=m
- CONFIG_AMD_DC_BASICS_KUNIT_TEST=y
- CONFIG_AMD_DC_KUNIT_TEST=y
- CONFIG_DCE_KUNIT_TEST=y
- CONFIG_DML_KUNIT_TEST=y
+ CONFIG_DRM_AMD_DC_BASICS_KUNIT_TEST=y
+ CONFIG_DRM_AMD_DC_KUNIT_TEST=y
+ CONFIG_DRM_AMD_DC_DML_KUNIT_TEST=y
Once the kernel is built and installed, you can load the ``amdgpu`` module
to run all tests available.
@@ -49,10 +48,9 @@ following config options to your ``.config``:
CONFIG_KUNIT=y
CONFIG_AMDGPU=y
- CONFIG_AMD_DC_BASICS_KUNIT_TEST=y
- CONFIG_AMD_DC_KUNIT_TEST=y
- CONFIG_DCE_KUNIT_TEST=y
- CONFIG_DML_KUNIT_TEST=y
+ CONFIG_DRM_AMD_DC_BASICS_KUNIT_TEST=y
+ CONFIG_DRM_AMD_DC_KUNIT_TEST=y
+ CONFIG_DRM_AMD_DC_DML_KUNIT_TEST=y
In order to run specific tests, you can check the filter options from KUnit on
Documentation/dev-tools/kunit/kunit-tool.rst.
--
2.44.0
next prev parent reply other threads:[~2024-04-20 18:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 15:56 [PATCH v5 0/8] drm/amd/display: Introduce KUnit to Display Mode Library Rodrigo Siqueira
2024-02-22 15:56 ` [PATCH v5 1/8] drm/amd/display: Introduce KUnit tests for fixed31_32 library Rodrigo Siqueira
2024-02-22 15:56 ` [PATCH v5 2/8] drm/amd/display: Introduce KUnit tests to the bw_fixed library Rodrigo Siqueira
2024-02-22 15:56 ` [PATCH v5 3/8] drm/amd/display: Introduce KUnit tests to display_rq_dlg_calc_20 Rodrigo Siqueira
2024-02-22 15:56 ` [PATCH v5 4/8] drm/amd/display: Introduce KUnit tests to the display_mode_vba library Rodrigo Siqueira
2024-02-22 15:56 ` [PATCH v5 5/8] drm/amd/display: Introduce KUnit to dcn20/display_mode_vba_20 library Rodrigo Siqueira
2024-02-22 15:56 ` [PATCH v5 6/8] drm/amd/display: Introduce KUnit tests for dcn20_fpu Rodrigo Siqueira
2024-02-22 15:56 ` [PATCH v5 7/8] drm/amd/display: Introduce KUnit tests to dc_dmub_srv library Rodrigo Siqueira
2024-02-26 11:12 ` Jani Nikula
2024-02-28 14:42 ` Rodrigo Siqueira Jordao
2024-02-22 15:56 ` [PATCH v5 8/8] Documentation/gpu: Add Display Core Unit Test documentation Rodrigo Siqueira
2024-04-20 18:48 ` [PATCH 0/4] drm/amd/display: Update Display Core unit tests Joao Paulo Pereira da Silva
2024-04-20 18:48 ` [PATCH 1/4] drm/amd/display: Refactor AMD display KUnit tests configs Joao Paulo Pereira da Silva
2024-04-20 18:48 ` [PATCH 2/4] drm/amd/display/test: Fix kunit test that is not running Joao Paulo Pereira da Silva
2024-04-20 18:48 ` [PATCH 3/4] drm/amd/display/test: Optimize kunit test suite dml_dcn20_fpu_dcn21_update_bw_bounding_box_test Joao Paulo Pereira da Silva
2024-04-20 18:48 ` Joao Paulo Pereira da Silva [this message]
2024-04-21 1:36 ` [PATCH 0/4] drm/amd/display: Update Display Core unit tests Tales
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240420184929.97854-5-jppaulo11@usp.br \
--to=jppaulo11@usp.br \
--cc=Xinhui.Pan@amd.com \
--cc=airlied@linux.ie \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=andrealmeid@riseup.net \
--cc=christian.koenig@amd.com \
--cc=daniel@ffwll.ch \
--cc=davidgow@google.com \
--cc=dlatypov@google.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=hersenxs.wu@amd.com \
--cc=isabbasso@riseup.net \
--cc=javierm@redhat.com \
--cc=kunit-dev@googlegroups.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=magalilemes00@gmail.com \
--cc=mairacanal@riseup.net \
--cc=mripard@kernel.org \
--cc=mwen@igalia.com \
--cc=nicholas.choi@amd.com \
--cc=paulormm@ime.usp.br \
--cc=rodrigo.siqueira@amd.com \
--cc=sunpeng.li@amd.com \
--cc=tales.aparecida@gmail.com \
--cc=twoerner@gmail.com \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox