mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 00:16:18 +00:00
igt/gem_reset_stats: Convert residual calllers of gem_exec() to gem_execbuf()
Missed from e3b68bb66683ad4cb4c80df904a3a21c98a2b6c2 due to rebasing fun. gem_reset_stats.c: In function 'inject_hang_ring': gem_reset_stats.c:227:19: error: implicit declaration of function 'gem_exec' [-Werror=implicit-function-declaration] gem_reset_stats.c:227:2: warning: nested extern declaration of 'gem_exec' [-Wnested-externs] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
a1b47ef6ae
commit
d18d1eca81
@ -224,8 +224,7 @@ static int inject_hang_ring(int fd, int ctx, int ring, bool ignore_ban_error)
|
||||
i915_execbuffer2_set_context_id(execbuf, ctx);
|
||||
execbuf.rsvd2 = 0;
|
||||
|
||||
igt_assert_eq(gem_exec(fd, &execbuf), 0);
|
||||
|
||||
gem_execbuf(fd, &execbuf);
|
||||
gtt_off = exec.offset;
|
||||
|
||||
for (i = 0; i < ITEMS; i++)
|
||||
@ -265,8 +264,7 @@ static int inject_hang_ring(int fd, int ctx, int ring, bool ignore_ban_error)
|
||||
i915_execbuffer2_set_context_id(execbuf, ctx);
|
||||
execbuf.rsvd2 = 0;
|
||||
|
||||
igt_assert_eq(gem_exec(fd, &execbuf), 0);
|
||||
|
||||
gem_execbuf(fd, &execbuf);
|
||||
igt_assert(gtt_off == exec.offset);
|
||||
|
||||
free(buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user