From d6b6470befdc618d9c7580cb04a225ebe662ab83 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 9 Mar 2023 15:52:46 +0100 Subject: [PATCH] m1n1.fw.dcp.ipc: Correct CompressionInfo.sizeof() assert Fixes a copy-n-paste error adding a second assert for PlaneInfo.sizeof() with CompressionInfo's size. Fixes: 3e572aba4a81 ("m1n1.fw.dcp.ipc: Add compression info struct") Signed-off-by: Janne Grunau --- proxyclient/m1n1/fw/dcp/ipc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxyclient/m1n1/fw/dcp/ipc.py b/proxyclient/m1n1/fw/dcp/ipc.py index 7795b9c2..20880c0e 100644 --- a/proxyclient/m1n1/fw/dcp/ipc.py +++ b/proxyclient/m1n1/fw/dcp/ipc.py @@ -534,7 +534,7 @@ CompressionInfo = Struct( "pad2" / Padding(1), ) -assert PlaneInfo.sizeof() == 0x34 +assert CompressionInfo.sizeof() == 0x34 IOSurface = Struct( "is_tiled" / bool_,