radv: fix trace dumping for !use_ib_bos
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 11 Jun 2017 13:46:17 +0000 (16:46 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 11 Jun 2017 20:07:09 +0000 (23:07 +0300)
commitfae3b139055f32c4d076c170726393995be96d1b
treeac3f23892758170ab75a2660053b5194dbb0d514
parentf56aa25ac5d2509392177bfa503aa52a565b9a85
radv: fix trace dumping for !use_ib_bos

Fixes trace dumping crash for SI or when RADV_DEBUG=noibs is set.

Fixes: 97dfff5410 "radv: Dump command buffer on hang."
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c