kms-tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Laurent,

I hope you are well.
I am looking into adding display support to the iWave RainboW-G22D-SODIMM board based on RZ/G1E.
My understanding is that the DU tests mentioned here:
http://elinux.org/R-Car/Devices
should work for such a platform too, therefore I am starting to play with:
git://git.ideasonboard.com/renesas/kms-tests.git

Going through the REAME file in kms-tests.git, the following URLs won't work for me:
git://git.ideasonboard.com/renesas/du-tests.git
http://git.ideasonboard.com/renesas/du-tests.git
According to the README file, running " make install INSTALL_DIR=/path/to/target/directory" should install the scripts, but unfortunately it doesn't work for me. I have hacked file tests/Makefile according to the attached patch file to make it do that.

Going through the tests, here is what I get:

# ./kms-test-allplanes.py
Testing composition on CRTC 25: Traceback (most recent call last):
  File "./kms-test-allplanes.py", line 83, in <module>
    AllPlanesTest().execute()
  File "/opt/kms-tests/kmstest.py", line 269, in execute
    self.main()
  File "./kms-test-allplanes.py", line 54, in main
    ret = self.atomic_crtc_mode_set(crtc, connector, mode, fb)
  File "/opt/kms-tests/kmstest.py", line 216, in atomic_crtc_mode_set
    return req.commit(self, True)
TypeError: Incompatible function arguments. The following argument types are supported:
    1. (self : pykms.pykms.AtomicReq, data : int = 0, allow_modeset : bool = False) -> int

# ./kms-test-connectors.py
Testing connector Component-1: SUCCESS

# ./kms-test-modes.py
Testing modes on connector Component-1: 1/1Traceback (most recent call last):
  File "./kms-test-modes.py", line 65, in <module>
    ModesTest().execute()
  File "/opt/kms-tests/kmstest.py", line 269, in execute
    self.main()
  File "./kms-test-modes.py", line 58, in main
    self.test_mode(connector, crtc, modes[i])
  File "./kms-test-modes.py", line 21, in test_mode
    ret = self.atomic_crtc_mode_set(crtc, connector, mode, fb)
  File "/opt/kms-tests/kmstest.py", line 216, in atomic_crtc_mode_set
    return req.commit(self, True)
TypeError: Incompatible function arguments. The following argument types are supported:
    1. (self : pykms.pykms.AtomicReq, data : int = 0, allow_modeset : bool = False) -> int

# ./kms-test-modeset.py
Testing atomic mode set on connector Component-1: Traceback (most recent call last):
  File "./kms-test-modeset.py", line 58, in <module>
    ModeSetTest().execute()
  File "/opt/kms-tests/kmstest.py", line 269, in execute
    self.main()
  File "./kms-test-modeset.py", line 45, in main
    ret = self.atomic_crtc_mode_set(crtc, connector, mode, fb)
  File "/opt/kms-tests/kmstest.py", line 216, in atomic_crtc_mode_set
    return req.commit(self, True)
TypeError: Incompatible function arguments. The following argument types are supported:
    1. (self : pykms.pykms.AtomicReq, data : int = 0, allow_modeset : bool = False) -> int

# ./kms-test-pageflip.py
Testing page flip on connector Component-1: Traceback (most recent call last):
  File "./kms-test-pageflip.py", line 118, in <module>
    PageFlipTest().execute()
  File "/opt/kms-tests/kmstest.py", line 269, in execute
    self.main()
  File "./kms-test-pageflip.py", line 87, in main
    ret = self.atomic_crtc_mode_set(crtc, connector, mode, self.fbs[0])
  File "/opt/kms-tests/kmstest.py", line 216, in atomic_crtc_mode_set
    return req.commit(self, True)
TypeError: Incompatible function arguments. The following argument types are supported:
    1. (self : pykms.pykms.AtomicReq, data : int = 0, allow_modeset : bool = False) -> int

# ./kms-test-planeposition.py
Testing plane positioning boundaries: FAIL
# cat PlanePositionTest.log
U [117.468550] Testing plane positioning boundaries
U [117.469654] Testing connector Component-1, CRTC 25, mode 480x288 with 4 planes
U [117.513061] Initial atomic mode set completed
U [122.526693] Root plane enabled
U [125.532964] Moved overlay plane to 50,50
U [128.537430] Moved overlay plane to 150,50
U [131.541865] Moved overlay plane to 50,150
U [134.546234] Moved overlay plane to -50,50
U [137.550654] Moved overlay plane to 50,-50
U [140.555092] Test failed. Reason: atomic plane set with invalid offset 480,50 accepted

I haven't looked into the tests implementation just yet, but maybe I am doing something wrong therefore I wanted to check with you first, is my environment/system "sane" you think or there is something wrong with it?
The system is running kernel 4.4.6 at the moment.

Thanks,
Fabrizio



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.

Attachment: 0001-Fix-install-task.patch
Description: 0001-Fix-install-task.patch


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux