Skip to content

drm: add drm versions of pixel and touch test

Mikhail Vanyulin requested to merge main-add-drm-test into main

This is a fix for issue with id 746-001247: FNGSystem: FT2 Touch and display test.

Added two new tools (drm_pixeltest and drm_touchtest), which work directly with dri device through DRM API, to the meta-seconorth layer. Herewith the same test logic and the same command line arguments as in "guf" versions of these tools are used.

When the tools are launched, a dri device and a connector name should be provided via following command line arguments:

    -i,--dri_device  - dri device to use (example: /dev/dri/card0)
    -c,--connection  - connector to use (examples: HDMI-A-1, LVDS-1)

Example:

./drm_pixeltest -i /dev/dri/card0 -c LVDS-1 -b 5 -d

This MR depends on seco-ne/yocto/layers/meta-seconorth-distro!688 (merged) MR, without which a build pipeline will fail.

Passed build pipeline with both changes: https://git.seco.com/seco-ne/yocto/manifest/-/pipelines/90903

Edited by Mikhail Vanyulin

Merge request reports