v3d: Print addresses in CLIFs as references to buffers.

With CLIFs, the parser will choose an address for the buffer being
created, so we need to use effectively relocations to buffers instead of
the addresses that the driver uses.  This is also a whole lot more
intelligible for console output than raw addresses!
This commit is contained in:
Eric Anholt
2018-06-25 15:37:51 -07:00
parent 3c02838d29
commit 95bafeeabf
4 changed files with 42 additions and 9 deletions
+2 -1
View File
@@ -136,7 +136,8 @@ void v3d_field_iterator_init(struct v3d_field_iterator *iter,
struct v3d_group *group,
const uint8_t *p);
bool v3d_field_iterator_next(struct v3d_field_iterator *iter);
bool v3d_field_iterator_next(struct clif_dump *clif,
struct v3d_field_iterator *iter);
void v3d_print_group(struct clif_dump *clif,
struct v3d_group *group,