Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Jayesh2000/9bea6840672869337039296bc1145df4 to your computer and use it in GitHub Desktop.
Save Jayesh2000/9bea6840672869337039296bc1145df4 to your computer and use it in GitHub Desktop.
Display testing for SII902X HDMI bridge on AM625 platform
root@am62xx-evm:~#
root@am62xx-evm:~# uname -a
Linux am62xx-evm 6.10.0-rc3-next-20240613-00003-g1eb4c57a79bf #15 SMP PREEMPT Thu Jun 13 13:40:25 IST 2024 aarch64 GNU/Linux
root@am62xx-evm:~# dmesg | grep -i hdmi
[ 0.386468] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
[ 0.400113] platform connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
[ 1.444129] platform connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
[ 1.454140] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
[ 1.463925] i2c 1-003b: Fixed dependency cycle(s) with /connector-hdmi
root@am62xx-evm:~# dmesg | grep -i dss
[ 0.386468] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
[ 1.454140] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
[ 1.470657] i2c 1-003b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
[ 9.918983] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
[ 10.047336] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
root@am62xx-evm:~# systemctl stop weston
Stopping 'weston.service', but its triggering units are still active:
weston.socket
root@am62xx-evm:~# kmsprint
Connector 0 (41) HDMI-A-1 (connected)
Encoder 0 (40) NONE
Crtc 0 (39) 1920x1080@60.00 148.500 1920/88/44/148/+ 1080/4/5/36/+ 60 (60.00) 0x5 0x48
Plane 0 (32) fb-id: 50 (crtcs: 0) 0,0 1920x1080 -> 0,0 1920x1080 (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 Y
UYV UYVY NV12)
FB 50 1920x1080
root@am62xx-evm:~# kmstest --flip
Connector 0/@41: HDMI-A-1
Crtc 0/@39: 1920x1080@60.00 148.500 1920/88/44/148/+ 1080/4/5/36/+ 60 (60.00) 0x5 0x48
Plane 0/@32: 0,0-1920x1080
Fb 52 1920x1080-XR24
press enter to exit
Connector 0: fps 60.06, slowest 16.81 ms
Connector 0: fps 60.01, slowest 17.45 ms
Connector 0: fps 60.01, slowest 16.85 ms
Connector 0: fps 60.01, slowest 16.81 ms
Connector 0: fps 60.01, slowest 16.78 ms
Connector 0: fps 60.01, slowest 16.78 ms
Exit due to user-input
root@am62xx-evm:~#
root@am62xx-evm:~#
root@am62xx-evm:~# modetest -M tidss -c
Connectors:
id encoder status name size (mm) modes encoders
41 40 connected HDMI-A-1 530x300 19 40
modes:
index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
#0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
#1 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver
#2 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver
#3 1680x1050 59.88 1680 1728 1760 1840 1050 1053 1059 1080 119000 flags: phsync, nvsync; type: driver
#4 1600x900 60.00 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver
#5 1280x1024 60.02 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver
#6 1440x900 59.90 1440 1488 1520 1600 900 903 909 926 88750 flags: phsync, nvsync; type: driver
#7 1280x800 59.91 1280 1328 1360 1440 800 803 809 823 71000 flags: phsync, nvsync; type: driver
#8 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
#9 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
#10 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
#11 1024x768 60.00 1024 1048 1184 1344 768 771 777 806 65000 flags: nhsync, nvsync; type: driver
#12 800x600 60.32 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
#13 720x576 50.00 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
#14 720x480 60.00 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver
#15 720x480 59.94 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
#16 640x480 60.00 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver
#17 640x480 59.94 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver
#18 720x400 70.08 720 738 846 900 400 412 414 449 28320 flags: nhsync, pvsync; type: driver
props:
1 EDID:
flags: immutable blob
blobs:
value:
00ffffffffffff00220e693401010101
101e010380351e782aa135a35b4fa327
115054a10800d1c081c0a9c0b3009500
810081800101023a801871382d40582c
45000f282100001e000000fd00323c1e
5011000a202020202020000000fc0048
5020453234330a2020202020000000ff
00434e4b303136343938460a2020017b
020319b149901f041303120211016703
0c0010000022e2002b023a801871382d
40582c45000f282100001e023a80d072
382d40102c45800f282100001e000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000001
2 DPMS:
flags: enum
enums: On=0 Standby=1 Suspend=2 Off=3
value: 0
5 link-status:
flags: enum
enums: Good=0 Bad=1
value: 0
6 non-desktop:
flags: immutable range
values: 0 1
value: 0
4 TILE:
flags: immutable blob
blobs:
value:
root@am62xx-evm:~# modetest -M tidss -s 41@39:1920x1080
setting mode 1920x1080-60.00Hz on connectors 41, crtc 39
root@am62xx-evm:~# modetest -M tidss -s 41@39:1920x1080 -v
setting mode 1920x1080-60.00Hz on connectors 41, crtc 39
freq: 60.06Hz
freq: 60.01Hz
freq: 60.01Hz
freq: 60.01Hz
freq: 60.01Hz
freq: 60.01Hz
freq: 60.02Hz
freq: 60.00Hz
root@am62xx-evm:~# uname -a
Linux am62xx-evm 6.10.0-rc3-next-20240613-00003-g1eb4c57a79bf #15 SMP PREEMPT Thu Jun 13 13:40:25 IST 2024 aarch64 GNU/Linux
root@am62xx-evm:~#
root@am62xx-evm:~#
root@am62xx-evm:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment