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:
Chris Wilson 2015-12-12 18:56:53 +00:00
parent 9cc2b1336b
commit 7b5a818581
2 changed files with 302 additions and 581 deletions

View File

@ -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