aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/tools/aub_mem.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-08-02 10:15:41 +0100
committerLionel Landwerlin <[email protected]>2018-08-22 18:02:11 +0100
commit8fd78b4eea9e54ff77fdde64b154481620b2971f (patch)
tree83fd4615f6e27fcdca7c15ce93db339aa0d16691 /src/intel/tools/aub_mem.h
parentebb145ee12c0b5e80d84ccc0469423b2c07a182f (diff)
intel: tools: aubmem: map gtt data to aub file
This will allow the aubinator viewer tool to modify the aub data that was loaded at a particular gtt address. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src/intel/tools/aub_mem.h')
-rw-r--r--src/intel/tools/aub_mem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/tools/aub_mem.h b/src/intel/tools/aub_mem.h
index 98e64214b98..1d73d3340f2 100644
--- a/src/intel/tools/aub_mem.h
+++ b/src/intel/tools/aub_mem.h
@@ -65,6 +65,12 @@ void aub_mem_local_write(void *mem, uint64_t virt_address,
struct gen_batch_decode_bo aub_mem_get_ggtt_bo(void *mem, uint64_t address);
struct gen_batch_decode_bo aub_mem_get_ppgtt_bo(void *mem, uint64_t address);
+struct gen_batch_decode_bo aub_mem_get_phys_addr_data(struct aub_mem *mem, uint64_t phys_addr);
+struct gen_batch_decode_bo aub_mem_get_ppgtt_addr_data(struct aub_mem *mem, uint64_t virt_addr);
+
+struct gen_batch_decode_bo aub_mem_get_ppgtt_addr_aub_data(struct aub_mem *mem, uint64_t virt_addr);
+
+
#ifdef __cplusplus
}
#endif