mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 21:36:27 +00:00
igt/intel_aubdump: Use the right ring
This prevents the simulator from barfing when it sees commands from another ring. I've been using this locally for a very long time. Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
parent
bc37e0297c
commit
134e32378a
@ -315,7 +315,7 @@ dump_execbuffer2(int fd, struct drm_i915_gem_execbuffer2 *execbuffer2)
|
||||
{
|
||||
struct drm_i915_gem_exec_object2 *exec_objects =
|
||||
(struct drm_i915_gem_exec_object2 *) (uintptr_t) execbuffer2->buffers_ptr;
|
||||
uint32_t ring_flag = 0;
|
||||
uint32_t ring_flag = execbuffer2->flags & I915_EXEC_RING_MASK;
|
||||
uint32_t offset = gtt_size;
|
||||
struct drm_i915_gem_exec_object2 *obj;
|
||||
struct bo *bo, *batch_bo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user