Skip to content

Instantly share code, notes, and snippets.

@devarsht
Created August 3, 2023 10:45
Show Gist options
  • Save devarsht/ac9ec2b396e4b3f0352e779859ef2560 to your computer and use it in GitHub Desktop.
Save devarsht/ac9ec2b396e4b3f0352e779859ef2560 to your computer and use it in GitHub Desktop.
Modetest_primary_and_overlay_zpos_1
Encoders:
id crtc type possible crtcs possible clones
39 38 none 0x00000001 0x00000001
Connectors:
id encoder status name size (mm) modes encoders
40 39 connected HDMI-A-1 530x300 21 39
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 1600x900 60.00 1600 1624 1704 1800 900 901 904 1000 108000 flags: phsync, pvsync; type: driver
#4 1280x1024 75.02 1280 1296 1440 1688 1024 1025 1028 1066 135000 flags: phsync, pvsync; type: driver
#5 1280x1024 60.02 1280 1328 1440 1688 1024 1025 1028 1066 108000 flags: phsync, pvsync; type: driver
#6 1152x864 75.00 1152 1216 1344 1600 864 865 868 900 108000 flags: phsync, pvsync; type: driver
#7 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver
#8 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver
#9 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver
#10 1024x768 75.03 1024 1040 1136 1312 768 769 772 800 78750 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 75.00 800 816 896 1056 600 601 604 625 49500 flags: phsync, pvsync; type: driver
#13 800x600 60.32 800 840 968 1056 600 601 605 628 40000 flags: phsync, pvsync; type: driver
#14 720x576 50.00 720 732 796 864 576 581 586 625 27000 flags: nhsync, nvsync; type: driver
#15 720x480 60.00 720 736 798 858 480 489 495 525 27027 flags: nhsync, nvsync; type: driver
#16 720x480 59.94 720 736 798 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver
#17 640x480 75.00 640 656 720 840 480 481 484 500 31500 flags: nhsync, nvsync; type: driver
#18 640x480 60.00 640 656 752 800 480 490 492 525 25200 flags: nhsync, nvsync; type: driver
#19 640x480 59.94 640 656 752 800 480 490 492 525 25175 flags: nhsync, nvsync; type: driver
#20 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:
00ffffffffffff0010acc5a1424c4530
0320010380351e78ea5625ab534f9d25
105054a54b00714f8180a9c0d1c081c0
81cf01010101023a801871382d40582c
45000f282100001e000000ff00445135
35594b330a2020202020000000fc0044
454c4c205032343232480a20000000fd
00384c1e5311000a20202020202001c8
020315b14a900504030201141f121365
030c001000023a801871382d40582c45
000f282100001e011d8018711c162058
2c25000f282100009e011d007251d01e
206e2855000f282100001e8c0ad08a20
e02d10103e96000f2821000018000000
00000000000000000000000000000000
0000000000000000000000000000005e
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:
CRTCs:
id fb pos size
38 53 (0,0) (1920x1080)
#0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: preferred, driver
props:
24 VRR_ENABLED:
flags: range
values: 0 1
value: 0
27 CTM:
flags: blob
blobs:
value:
28 GAMMA_LUT:
flags: blob
blobs:
value:
29 GAMMA_LUT_SIZE:
flags: immutable range
values: 0 4294967295
value: 256
Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
31 38 53 0,0 0,0 0 0x00000001
formats: 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
props:
8 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 1
30 IN_FORMATS:
flags: immutable blob
blobs:
value:
01000000000000001d00000018000000
01000000900000004152313241423132
52413132524731364247313641523135
41423135415232344142323452413234
42413234524732344247323441523330
41423330585231325842313252583132
58523135584231355852323458423234
52583234425832345852333058423330
59555956555956594e56313200000000
ffffff1f000000000000000000000000
0000000000000000
in_formats blob decoded:
AR12: LINEAR
AB12: LINEAR
RA12: LINEAR
RG16: LINEAR
BG16: LINEAR
AR15: LINEAR
AB15: LINEAR
AR24: LINEAR
AB24: LINEAR
RA24: LINEAR
BA24: LINEAR
RG24: LINEAR
BG24: LINEAR
AR30: LINEAR
AB30: LINEAR
XR12: LINEAR
XB12: LINEAR
RX12: LINEAR
XR15: LINEAR
XB15: LINEAR
XR24: LINEAR
XB24: LINEAR
RX24: LINEAR
BX24: LINEAR
XR30: LINEAR
XB30: LINEAR
YUYV: LINEAR
UYVY: LINEAR
NV12: LINEAR
33 zpos:
flags: range
values: 0 1
value: 1
34 COLOR_ENCODING:
flags: enum
enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1
value: 0
35 COLOR_RANGE:
flags: enum
enums: YCbCr limited range=0 YCbCr full range=1
value: 1
36 alpha:
flags: range
values: 0 65535
value: 65535
37 pixel blend mode:
flags: enum
enums: Pre-multiplied=0 Coverage=1
value: 0
41 0 0 0,0 0,0 0 0x00000001
formats: 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
props:
8 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
30 IN_FORMATS:
flags: immutable blob
blobs:
value:
01000000000000001d00000018000000
01000000900000004152313241423132
52413132524731364247313641523135
41423135415232344142323452413234
42413234524732344247323441523330
41423330585231325842313252583132
58523135584231355852323458423234
52583234425832345852333058423330
59555956555956594e56313200000000
ffffff1f000000000000000000000000
0000000000000000
in_formats blob decoded:
AR12: LINEAR
AB12: LINEAR
RA12: LINEAR
RG16: LINEAR
BG16: LINEAR
AR15: LINEAR
AB15: LINEAR
AR24: LINEAR
AB24: LINEAR
RA24: LINEAR
BA24: LINEAR
RG24: LINEAR
BG24: LINEAR
AR30: LINEAR
AB30: LINEAR
XR12: LINEAR
XB12: LINEAR
RX12: LINEAR
XR15: LINEAR
XB15: LINEAR
XR24: LINEAR
XB24: LINEAR
RX24: LINEAR
BX24: LINEAR
XR30: LINEAR
XB30: LINEAR
YUYV: LINEAR
UYVY: LINEAR
NV12: LINEAR
43 zpos:
flags: range
values: 0 1
value: 0
44 COLOR_ENCODING:
flags: enum
enums: ITU-R BT.601 YCbCr=0 ITU-R BT.709 YCbCr=1
value: 0
45 COLOR_RANGE:
flags: enum
enums: YCbCr limited range=0 YCbCr full range=1
value: 1
46 alpha:
flags: range
values: 0 65535
value: 65535
47 pixel blend mode:
flags: enum
enums: Pre-multiplied=0 Coverage=1
value: 0
Frame buffers:
id size pitch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment