Skip to content

Commit 6b05a16

Browse files
s-jain1jeevantelukula
authored andcommitted
fix(linux): Replace kmstest with kmsxxtest
The regular kmstest was provided by libdrm and also kmsxx[0], and hence there is a conflict due to whict kmstest is renamed to kmsxxtest in meta-oe[1]. Replace kmstest with kmsxxtest. Links: [0]: https://github.com/tomba/kmsxx/ [1]: https://git.openembedded.org/meta-openembedded/tree/meta-oe/dynamic-layers/meta-python/recipes-multimedia/kmsxx/kmsxx_git.bb#n29 Signed-off-by: Swamil Jain <s-jain1@ti.com>
1 parent 22274b4 commit 6b05a16

File tree

2 files changed

+10
-10
lines changed
  • source/linux/Foundational_Components

2 files changed

+10
-10
lines changed

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, kmstest, weston will not work.
34+
real time r5f core. So modetest, kmsxxtest, 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
@@ -441,7 +441,7 @@ Another option is kms++, a C++11 library for kernel mode setting which includes
441441
Testing tidss
442442
-------------
443443

444-
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.
444+
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.
445445

446446
.. code-block:: console
447447
@@ -456,7 +456,7 @@ kmstest from kms++ is a good tool for testing tidss features. Note that any othe
456456
457457
.. code-block:: console
458458
459-
$ kmstest -c dp -r 640x480
459+
$ kmsxxtest -c dp -r 640x480
460460
Connector 0/@39: DP-1
461461
Crtc 0/@37: 640x480 25.175 640/16/96/48/- 480/10/2/33/- 60 (59.94) 0xa 0x40
462462
Plane 0/@31: 0,0-640x480
@@ -475,7 +475,7 @@ kmstest from kms++ is a good tool for testing tidss features. Note that any othe
475475
Crtc 0 (38) 800x480 28.569 800/48/32/80 480/3/7/6 60 (60.00)
476476
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)
477477
FB 48 800x480
478-
$ kmstest --device=/dev/dri/card2
478+
$ kmsxxtest --device=/dev/dri/card2
479479
Connector 0/@40: DSI-1
480480
Crtc 0/@38: 800x480 28.569 800/48/32/80/- 480/3/7/6/- 60 (60.00) 0xa 0x48
481481
Plane 0/@31: 0,0-800x480
@@ -507,8 +507,8 @@ tidss supports configuration via DRM properties. These are standard DRM properti
507507

508508
.. _testing_tidss_properties:
509509

510-
Testing tidss properties with modetest and kmstest
511-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
510+
Testing tidss properties with modetest and kmsxxtest
511+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
512512

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

684684
- **Cropping**
685685

686-
``kmstest`` utility can be used to demonstrate cropping in a video frame using a test pattern.
686+
``kmsxxtest`` utility can be used to demonstrate cropping in a video frame using a test pattern.
687687
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.
688688

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

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

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

0 commit comments

Comments
 (0)