Janne Grunau
cc7acfb65c
experiments/dcp_iboot_m2pro.py: Support M2 Mac Mini
...
dptx-phy and lpdptx-phy look mostly identical. lpdptx-phy might support
DP 2.0 DP 2.0 link rates if the 8k@60 is supported without DSC or
chroma subsampling.
Signed-off-by: Janne Grunau <j@jannau.net>
2023-10-05 14:02:28 +09:00
Janne Grunau
008aad39a3
experiments/dcp_iboot_m2pro.py: Change phy interface
...
Also annotates the dptx-port notify apcall methods.
Signed-off-by: Janne Grunau <j@jannau.net>
2023-10-05 14:02:28 +09:00
Janne Grunau
1d4688a767
experiments/dcp_iboot_m2pro.py: generalize dp phy regs
...
Signed-off-by: Janne Grunau <j@jannau.net>
2023-10-05 14:02:28 +09:00
Hector Martin
31a43c4b40
experiments/dcp_iboot_m2pro.py: New experiment
2023-08-21 23:18:12 +09:00
Hector Martin
2d64f7a944
m1n1.fw.dcp.iboot: More stuff
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-21 23:17:49 +09:00
Hector Martin
2a23e72775
m1n1.fw.dcp.dcpav: Handle notifies
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-21 23:17:24 +09:00
Hector Martin
3e22464c86
XXX dcpav: port to 13.5
...
This needs to be dynamic.
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-21 23:17:03 +09:00
Hector Martin
6d0979e71e
m1n1.adt: Decode apcie tunables
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-21 23:16:08 +09:00
Martin Povišer
526f81f51e
m1n1.hw.codecs: Add iMac codec
...
Signed-off-by: Martin Povišer <povik@cutebit.org>
2023-08-17 19:50:09 +09:00
Asahi Lina
37ad9f7df6
m1n1.fw.dcp.ipc: Fix assert
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-08-17 19:46:07 +09:00
Asahi Lina
31da584be8
m1n1.fw.agx: Helpers everywhere!
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-08-17 19:46:07 +09:00
Asahi Lina
7f94c7f39a
tools.chainload.py: Fixes for 13.5
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-08-17 19:46:07 +09:00
Alexis Deruelle
b2e5b3ef00
proxyclient:picocom-sec.sh:warn when overriding SECDEV
...
Add a warning message when overriding the target serial device with
SECDEV variable, just in case one is caught by surprise there.
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Alexis Deruelle
21a403a163
proxyclient:tools:add default device name for macOS
...
Under macOS host, secondary UART device name is different from the linux
device name. Check OS name and chose default device name accordingly.
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Alexis Deruelle
0673a226c9
proxyclient:m1n1:rely on UartInterface defaults when creating object
...
- in 'main' section, device name and baud values are redundant as the
UartInterface constructor handles it already
- Add a comment on how to run proxy.py as script
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Alexis Deruelle
bd82c5f47a
proxyclient:m1n1:add macOS device name for m1n1 primary UART
...
m1n1 UART device names on macOS follow /dev/cu.usbmodemP_XX naming
convention. Check for platform name using platform.system() and use the
macOS device name instead of /dev/m1n1 if equals 'Darwin'
Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2023-08-17 19:45:13 +09:00
Davide Cavalca
6bca5f77e1
m1n1.asm: make it work again with gcc
...
Signed-off-by: Davide Cavalca <davide@cavalca.name>
2023-08-15 18:27:51 +09:00
Hector Martin
31930a25f7
m1n1.hv: Add t6022 cpustart
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-07 19:27:47 +09:00
Hector Martin
33ef9cdaa8
m1n1.adt: Fix GPUPerfStates64 for T6022
...
Signed-off-by: Hector Martin <marcan@marcan.st>
2023-08-07 19:27:47 +09:00
Asahi Lina
538693a05a
hv/trace_agx{_defer}.py: Enable command dumps
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
d437d04dd4
m1n1.trace.agx: Fix broken TA parsing
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
d2cb85d048
m1n1.trace.agx: Add a missing UAT inval
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
6e40dd9aaa
m1n1.trace.agx: Add AGXDECODE solib support & trace VDM
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
825fbaf1ec
m1n1.agx.initdata: Split buffer manager mappings between GPU/FW
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
817b48dbc9
m1n1.fw.agx & co: Unbork a bunch of stuff on <G14X
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
b270f2f86c
m1n1.agx: Handle pending stamps properly for V13_5B4
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
6761cd2d53
m1n1.fw.agx: Blit stuff for G14X
...
Just hacking on the structures to get it to dump, this probably broke
other firmware combinations...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
788a5b9866
m1n1.trace.agx: Changes to unbreak G14X tracing
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
40c9dfe128
m1n1.trace.agx: Skip tracing the stats queue
...
This is spammy and sometimes so slow it blocks forever. Let's explicitly
remove these ranges from the GPUVM tracer.
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
d743db30b6
m1n1.trace.agx: Add extra dumping around TVB control messages
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
8ae5c219dc
m1n1.trace.agx: Add support for dumping commands as json
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
61678c4231
m1n1.fw.agx: Add compute changes for G14X
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-11 01:49:13 +09:00
Asahi Lina
34df83601c
m1n1.fw.agx: Add TVB growth control messages
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-07 13:50:13 +09:00
Asahi Lina
9e63f885e9
m1n1.fw.agx.initdata: Add 13.5B4 G14X initdata changes
...
Simple for once!
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-07 13:25:19 +09:00
Asahi Lina
6a149e5028
m1n1.constructutils: Improve json serialization of Value types
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-07-07 13:24:26 +09:00
Asahi Lina
311385e645
m1n1.trace.agx: Dump some buffers on G14X from register values
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
6902cb6210
m1n1.trace.agx: Disable the ASC tracer after initdata is available
...
Since we directly trace the queue rptr/wptr memory locations, we don't
need the ASC tracing and this speeds things up quite a bit (without it,
Linux can get stuck in a pathological stats gathering loop without
making forward progress while traced).
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
b219bc318a
m1n1.fw.agx: Fixes for V13_3
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
b6dec2a644
m1n1.constructutils: Improve Rust export
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
c2bbb41953
m1n1.fw.agx: More fixes for t602x stuff
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
1c7131e26d
m1n1.agx: T602x rendering changes
...
Too lazy to split this up...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
af6b8c29a8
m1n1.constructutils: Fix array addressing bug
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
b29c9734ad
m1n1.adt: Add float parsing for *-kp-1
props.
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
dabde44937
m1n1.fw.agx: Initdata setup & fixes for G14X/V13_3
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
e4fa6048c2
m1n1.fw.agx: Add changes for G14X on 13.2 and 13.3
...
Still pending confirming 13.3 on other architectures...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:01 +09:00
Asahi Lina
d3e61153cc
m1n1.trace.agx: Do not dump misc structs
...
These are no longer there with the register lists, and it's all
redundant anyway...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:00 +09:00
Asahi Lina
2dbbe6050d
m1n1.fw.agx.initdata: T602x 13.3 initdata structure changes
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:00 +09:00
Asahi Lina
18005b0f73
m1n1.fw.agx.initdata: T602x 12.3 initdata structure changes
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:00 +09:00
Asahi Lina
83a2a6a9bc
m1n1.adt: Add afr/cs perf state props
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:00 +09:00
Asahi Lina
0f1f3b23ee
m1n1.trace.agx: Run the init_hook before the shell
...
Signed-off-by: Asahi Lina <lina@asahilina.net>
2023-06-27 18:35:00 +09:00