asahi/decode: Print clear/store pipelines

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11815>
This commit is contained in:
Alyssa Rosenzweig
2021-07-11 14:43:37 -04:00
parent 15206428b9
commit da85e84206
+14
View File
@@ -459,6 +459,20 @@ agxdecode_cmdstream(unsigned cmdbuf_handle, unsigned map_handle, bool verbose)
uint64_t *encoder = ((uint64_t *) cmdbuf->ptr.cpu) + 7;
agxdecode_stateful(*encoder, "Encoder", agxdecode_cmd, verbose);
uint64_t *clear_pipeline = ((uint64_t *) cmdbuf->ptr.cpu) + 79;
if (*clear_pipeline) {
assert(((*clear_pipeline) & 0xF) == 0x4);
agxdecode_stateful((*clear_pipeline) & ~0xF, "Clear pipeline",
agxdecode_pipeline, verbose);
}
uint64_t *store_pipeline = ((uint64_t *) cmdbuf->ptr.cpu) + 82;
if (*store_pipeline) {
assert(((*store_pipeline) & 0xF) == 0x4);
agxdecode_stateful((*store_pipeline) & ~0xF, "Store pipeline",
agxdecode_pipeline, verbose);
}
agxdecode_map_read_write();
}