fixup! m1n1.fw.dcp.ipc: Add support for the macOS 13.2 firmware

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2023-03-31 17:47:18 +02:00
parent d6b6470bef
commit 638e4494d0

View file

@ -422,7 +422,7 @@ BufferDescriptor = uint64_t
SwapCompleteData = Bytes(0x12)
SwapInfoBlob = Struct(
"unk" / Bytes(0x6c4),
Ver("V >= V13_2", "unk_13_2" / Bytes(0x1)),
Ver("V >= V13_2", "unk_13_2" / Bytes(0x10)),
)
SWAP_SURFACES = 4
@ -783,8 +783,8 @@ class IOMobileFramebufferAP(IPCObject):
A465 = flush_supportsPower
A466 = abort_swaps_dcp
A469 = update_dfb
A470 = setPowerState
A471 = isKeepOnScreen
A471 = setPowerState
A472 = isKeepOnScreen
# FW version dependent callbacks
if Ver.check("V < V13_2"):