summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/intel_dump_gpu.c
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-06-16 23:25:12 +0100
committerLionel Landwerlin <[email protected]>2018-07-05 11:57:45 +0100
commit87915baa2355e3b0d23f47517fc901b8fffa3b16 (patch)
treea76804e536cc975a4f440d58eda8fba1f179a45d /src/intel/tools/intel_dump_gpu.c
parentaab21cedc69d97dea425eafa8a6540986986fb69 (diff)
intel: intel_dump_gpu: use simulator id in captures
Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Rafael Antognolli <[email protected]>
Diffstat (limited to 'src/intel/tools/intel_dump_gpu.c')
-rw-r--r--src/intel/tools/intel_dump_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/intel_dump_gpu.c b/src/intel/tools/intel_dump_gpu.c
index a9ce109b2b6..6107035d5bc 100644
--- a/src/intel/tools/intel_dump_gpu.c
+++ b/src/intel/tools/intel_dump_gpu.c
@@ -512,7 +512,7 @@ write_execlists_header(void)
dwords = 5 + app_name_len / sizeof(uint32_t);
dword_out(CMD_MEM_TRACE_VERSION | (dwords - 1));
dword_out(AUB_MEM_TRACE_VERSION_FILE_VERSION);
- dword_out(AUB_MEM_TRACE_VERSION_DEVICE_CNL);
+ dword_out(devinfo.simulator_id << AUB_MEM_TRACE_VERSION_DEVICE_SHIFT);
dword_out(0); /* version */
dword_out(0); /* version */
data_out(app_name, app_name_len);