mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-21 06:46:13 +00:00
igt/gem_reset_stats: Convert from stop-rings to real hang injection
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
9cc2b1336b
commit
7b5a818581
@ -291,6 +291,8 @@ void gem_close(int fd, uint32_t handle)
|
||||
{
|
||||
struct drm_gem_close close_bo;
|
||||
|
||||
igt_assert_neq(handle, 0);
|
||||
|
||||
memset(&close_bo, 0, sizeof(close_bo));
|
||||
close_bo.handle = handle;
|
||||
do_ioctl(fd, DRM_IOCTL_GEM_CLOSE, &close_bo);
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user