diff options
author | Eric Anholt <[email protected]> | 2017-10-24 17:55:03 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-30 13:31:16 -0700 |
commit | 40280b0abe46d43ffe669c8094e94c7ac70ab92a (patch) | |
tree | 6dcf0bdcae1c432a2dc1f59bcb722f917a2a10e4 /src/broadcom/clif | |
parent | 10fa685b537fa6c0ed16620278d6126d323adf0f (diff) |
broadcom/clif: Print out the contents of the generic tile list.
This is the real meat of the RCL, so let's get it printed again.
Diffstat (limited to 'src/broadcom/clif')
-rw-r--r-- | src/broadcom/clif/clif_dump.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/broadcom/clif/clif_dump.c b/src/broadcom/clif/clif_dump.c index af72834e5dc..ca5d5592779 100644 --- a/src/broadcom/clif/clif_dump.c +++ b/src/broadcom/clif/clif_dump.c @@ -38,6 +38,7 @@ enum reloc_worklist_type { reloc_gl_shader_state, + reloc_generic_tile_list, }; struct reloc_worklist_entry { @@ -50,6 +51,9 @@ struct reloc_worklist_entry { struct { uint32_t num_attrs; } shader_state; + struct { + uint32_t end; + } generic_tile_list; }; }; @@ -190,6 +194,17 @@ clif_dump_packet(struct clif_dump *clif, uint32_t offset, const uint8_t *cl, break; } + case V3D33_START_ADDRESS_OF_GENERIC_TILE_LIST_opcode: { + struct V3D33_START_ADDRESS_OF_GENERIC_TILE_LIST values; + V3D33_START_ADDRESS_OF_GENERIC_TILE_LIST_unpack(cl, &values); + struct reloc_worklist_entry *reloc = + clif_dump_add_address_to_worklist(clif, + reloc_generic_tile_list, + values.start); + reloc->generic_tile_list.end = values.end; + break; + } + case V3D33_HALT_opcode: return false; } @@ -270,6 +285,10 @@ clif_process_worklist(struct clif_dump *clif) case reloc_gl_shader_state: clif_dump_gl_shader_state_record(clif, reloc, vaddr); break; + case reloc_generic_tile_list: + clif_dump_cl(clif, reloc->addr, + reloc->generic_tile_list.end); + break; } out(clif, "\n"); } |