We already know much of this structure, let's pretty print to simplify
our traces.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16512>
}
}
+struct agx_allocate_resource_req {
+ uint32_t unk0[5];
+ uint32_t mode;
+ uint32_t unk6[6];
+ uint64_t cpu_fixed;
+ uint64_t cpu_fixed_2;
+ uint32_t size;
+ uint32_t unk17[3];
+ uint32_t flags;
+ uint32_t unk21[3];
+} __attribute__((packed));
+
struct agx_allocate_resource_resp {
/* Returned GPU virtual address */
uint64_t gpu_va;