mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
igt/gem_reset_stats: Convert residual calllers of gem_exec() to gem_execbuf()
Missed from e3b68bb666 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user