diff options
author | Chia-I Wu <[email protected]> | 2019-02-25 14:32:36 -0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-03-11 10:02:13 -0700 |
commit | b8a5e10d0d6e6cb79417cf10ef09474eb8d8fc4e (patch) | |
tree | d24abfd8083988740e05640f3995371414a02060 /src/freedreno/vulkan/tu_device.c | |
parent | 4a48dd9fb8ffef3f90dbf4538f8a17d4e239f997 (diff) |
turnip: mark IBs for dumping
Includes IBs in kernel cmdbuf dumps.
Diffstat (limited to 'src/freedreno/vulkan/tu_device.c')
-rw-r--r-- | src/freedreno/vulkan/tu_device.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c index 598ed537fa3..76d0f21f8cd 100644 --- a/src/freedreno/vulkan/tu_device.c +++ b/src/freedreno/vulkan/tu_device.c @@ -1212,8 +1212,9 @@ tu_QueueSubmit(VkQueue _queue, struct tu_cs *cs = &cmdbuf->cs; for (unsigned i = 0; i < cs->entry_count; ++i, ++entry_idx) { cmds[entry_idx].type = MSM_SUBMIT_CMD_BUF; - cmds[entry_idx].submit_idx = tu_bo_list_add( - &bo_list, cs->entries[i].bo, MSM_SUBMIT_BO_READ); + cmds[entry_idx].submit_idx = + tu_bo_list_add(&bo_list, cs->entries[i].bo, + MSM_SUBMIT_BO_READ | MSM_SUBMIT_BO_DUMP); cmds[entry_idx].submit_offset = cs->entries[i].offset; cmds[entry_idx].size = cs->entries[i].size; cmds[entry_idx].pad = 0; |