Hello,
In the spirit of the VSP unit test suite, new Python-based unit tests for the
R-Car DU are now available at
git://git.ideasonboard.com/renesas/kms-tests.git
The http://elinux.org/R-Car/Devices wiki page has been updated to reference
the unit test suite.
The tests were written to use a modular class-based approach in order to
facilitate development of new tests and maintenance of existing tests. They
are located in the tests directory of the source tree.
All tests are scripts and don't need to be built. They require Python3 and the
kmsxx Python bindings to be installed on the target. More information can be
found in the README file at the root of the source tree.
The DU test suite currently contains the following tests.
- kms-test-allplanes.py: Test composition with all planes enabled on all CRTCs
- kms-test-connectors.py: Perform sanity checks on all connectors.
- kms-test-modeset.py: Test mode setting on all connectors in sequence with
the default mode.
- kms-test-modes.py: Test all available modes on all available connectors.
- kms-test-pageflip.py: Test page flipping on all connectors in sequence with
the default mode.
- kms-test-planeposition.py: Test boundaries of plane positioning.
More tests will be added in the future.
Execution of the tests is automated, but manual verification is still required
as the test suite currently has no mean to capture the output of the VGA, HDMI
and LVDS connectors. This area will be improved by using HDMI loopback from DU
to VIN and hardware CRC calculation on output frames.
--
Regards,
Laurent Pinchart