Skip to content

Commit 55df5a1

Browse files
s-jain1StaticRocket
authored andcommitted
fix(linux): Replace kmsxxtest with kmstest
The original kmstest binary was provided by both libdrm and kmsxx[0]. To resolve a naming conflict, it was temporarily renamed to kmsxxtest. With the conflict now resolved, we can restore the original kmstest name. Replace kmsxxtest with kmstest. [0]: https://github.com/tomba/kmsxx/ Signed-off-by: Swamil Jain <s-jain1@ti.com>
1 parent 2ff5b4d commit 55df5a1

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

  • source/linux/Foundational_Components

source/linux/Foundational_Components/Graphics/Common/Display.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The list of available DRM blocks is viewable using the application
3131

3232
For ADAS parts by default Display is disabled in linux via
3333
k3-<soc>-vision-apps.dtso and enabled to be controlled by one of the
34-
real time r5f core. So modetest, kmsxxtest, weston will not work.
34+
real time r5f core. So modetest, kmstest, weston will not work.
3535
To enabled it you need to modify k3-<soc>-vision-apps.dtso, rebuild
3636
linux-dtbs and install. Also need to disable Display in r5f, rebuild
3737
r5f FW using PSDK RTOS.

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Display/DSS7.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ Another option is kms++, a C++11 library for kernel mode setting which includes
445445
Testing tidss
446446
-------------
447447

448-
kmsxxtest from kms++ is a good tool for testing tidss features. Note that any other applications using DRM (Weston, X) must be killed first. Another tool from kms++ is kmsprint, which can be used to print various bits of information about tidss.
448+
kmstest from kms++ is a good tool for testing tidss features. Note that any other applications using DRM (Weston, X) must be killed first. Another tool from kms++ is kmsprint, which can be used to print various bits of information about tidss.
449449

450450
.. code-block:: console
451451
@@ -460,7 +460,7 @@ kmsxxtest from kms++ is a good tool for testing tidss features. Note that any ot
460460
461461
.. code-block:: console
462462
463-
$ kmsxxtest -c dp -r 640x480
463+
$ kmstest -c dp -r 640x480
464464
Connector 0/@39: DP-1
465465
Crtc 0/@37: 640x480 25.175 640/16/96/48/- 480/10/2/33/- 60 (59.94) 0xa 0x40
466466
Plane 0/@31: 0,0-640x480
@@ -479,7 +479,7 @@ kmsxxtest from kms++ is a good tool for testing tidss features. Note that any ot
479479
Crtc 0 (38) 800x480 28.569 800/48/32/80 480/3/7/6 60 (60.00)
480480
Plane 0 (31) fb-id: 48 (crtcs: 0) 0,0 800x480 -> 0,0 800x480 (AR12 AB12 RA12 RG16 BG16 AR15 AB15 AR24 AB24 RA24 BA24 RG24 BG24 AR30 AB30 XR12 XB12 RX12 XR15 XB15 XR24 XB24 RX24 BX24 XR30 XB30 YUYV UYVY NV12)
481481
FB 48 800x480
482-
$ kmsxxtest --device=/dev/dri/card2
482+
$ kmstest --device=/dev/dri/card2
483483
Connector 0/@40: DSI-1
484484
Crtc 0/@38: 800x480 28.569 800/48/32/80/- 480/3/7/6/- 60 (60.00) 0xa 0x48
485485
Plane 0/@31: 0,0-800x480
@@ -511,8 +511,8 @@ tidss supports configuration via DRM properties. These are standard DRM properti
511511

512512
.. _testing_tidss_properties:
513513

514-
Testing tidss properties with modetest and kmsxxtest
515-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
514+
Testing tidss properties with modetest and kmstest
515+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
516516

517517
As the name suggests, ``modetest`` is DRM based mode setting test program available along with libdrm.
518518
It is an easy-to-use tool to test different features provided by display HWs. The DRM driver for,
@@ -687,12 +687,12 @@ hence plane 41 remains unused.
687687

688688
- **Cropping**
689689

690-
``kmsxxtest`` utility can be used to demonstrate cropping in a video frame using a test pattern.
690+
``kmstest`` utility can be used to demonstrate cropping in a video frame using a test pattern.
691691
The user can specify the main video frame size and an input color format using the ``-f`` argument. Then the source region, also known as a view region, can be specified using the ``-v`` argument. This takes a secondary width and height to create a rectangle starting at a given coordinate. The destination region, or plane region, for the view can be specified using ``-p`` argument. This takes a third width, height and coordinate position to place an overlay with the associated view region's content.
692692

693693
.. code-block:: console
694694
695-
$ kmsxxtest -c hdmi -p 0:0,0-1000x1000 -f 1000x1000-XR24 -v 0,0-1000x1000
695+
$ kmstest -c hdmi -p 0:0,0-1000x1000 -f 1000x1000-XR24 -v 0,0-1000x1000
696696
Connector 1/@50: HDMI-A-1
697697
Crtc 1/@48: 1920x1080@59.93 138.500 1920/48/32/80/+ 1080/3/5/23/- 60 (59.93) 0x9 0x48
698698
Plane 0/@31: 0,0-1000x1000
@@ -706,7 +706,7 @@ The above example displays a ``1000x1000`` video frame on the screen at coordina
706706

707707
.. code-block:: console
708708
709-
$ kmsxxtest -c hdmi -p 0:0,0-800x800 -f 1000x1000 -v 0,0-800x800
709+
$ kmstest -c hdmi -p 0:0,0-800x800 -f 1000x1000 -v 0,0-800x800
710710
Connector 1/@50: HDMI-A-1
711711
Crtc 1/@48: 1920x1080@59.93 138.500 1920/48/32/80/+ 1080/3/5/23/- 60 (59.93) 0x9 0x48
712712
Plane 0/@31: 0,0-800x800
@@ -720,7 +720,7 @@ Taking as an input a video frame of dimensions ``1000x1000``,the example creates
720720

721721
.. code-block:: console
722722
723-
$ kmsxxtest -c hdmi -p 0:500,200-800x800 -f 1000x1000 -v 200,100-800x800
723+
$ kmstest -c hdmi -p 0:500,200-800x800 -f 1000x1000 -v 200,100-800x800
724724
Connector 1/@50: HDMI-A-1
725725
Crtc 1/@48: 1920x1080@59.93 138.500 1920/48/32/80/+ 1080/3/5/23/- 60 (59.93) 0x9 0x48
726726
Plane 0/@31: 500,200-800x800

0 commit comments

Comments
 (0)