diff options
author | Kenneth Graunke <[email protected]> | 2018-07-25 10:23:04 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-07-25 14:43:54 -0700 |
commit | 37c3efca29accd1934bbc0a83ac43f460b5f4b9a (patch) | |
tree | 0be1715bfa0c9562af5c89c77922dde9130d45ce /src/intel/common/gen_decoder.h | |
parent | 933223db3ceacad9f25a6c74213a54854550315b (diff) |
intel: Make the decoder just store addresses for bases, not buffers.
The various base addresses are simply addresses. There may or may not
be a buffer located at those addresses. So, it doesn't make much sense
to request one. Just save the raw address so we can add it later, when
asking about BOs at the final <base + offset> address.
Suggested-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/common/gen_decoder.h')
-rw-r--r-- | src/intel/common/gen_decoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/common/gen_decoder.h b/src/intel/common/gen_decoder.h index afbdb6a9aae..d8add4ccdb7 100644 --- a/src/intel/common/gen_decoder.h +++ b/src/intel/common/gen_decoder.h @@ -222,9 +222,9 @@ struct gen_batch_decode_ctx { struct gen_disasm *disasm; - struct gen_batch_decode_bo surface_base; - struct gen_batch_decode_bo dynamic_base; - struct gen_batch_decode_bo instruction_base; + uint64_t surface_base; + uint64_t dynamic_base; + uint64_t instruction_base; int max_vbo_decoded_lines; }; |