diff options
author | Rafael Antognolli <rafael.antognolli@intel.com> | 2018-08-21 09:49:03 -0700 |
---|---|---|
committer | Rafael Antognolli <rafael.antognolli@intel.com> | 2018-08-22 12:52:41 -0700 |
commit | f8cfc7766016d0ff7d52953e7a992b1e77c521d0 (patch) | |
tree | 9d8f320d5a94cca4d641e950cb3a69a20712ceb1 /src/intel/tools/aub_write.h | |
parent | e82d8fa9641abcad9f441a8c70ad773f4fc6baa6 (diff) |
intel/tools/aubwrite: Always use physical addresses for traces.
It looks like we can't rely on the simulator to always translate virtual
addresses to physical ones correctly. So let's use physical everywhere.
Since our current GGTT maps virtual to physical addresses in a 1:1 way,
no further changes are required.
Additionally, we have other address spaces not in use right now. So
let's make it easier to switch which one we are using but putting the
default one into the aub_file struct.
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'src/intel/tools/aub_write.h')
-rw-r--r-- | src/intel/tools/aub_write.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/tools/aub_write.h b/src/intel/tools/aub_write.h index 6a09c1747b9..69ad4a877d4 100644 --- a/src/intel/tools/aub_write.h +++ b/src/intel/tools/aub_write.h @@ -52,6 +52,7 @@ struct aub_file { int addr_bits; struct aub_ppgtt_table pml4; + uint32_t default_addr_space; }; void aub_file_init(struct aub_file *aub, FILE *file, uint16_t pci_id); |