mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
lib/drmtest: Fix filedesc leak on gem_quiescent_gpu
to not run out of filedescs as some tests call gem_quiescent_gpu directly. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ab7cbf9737
commit
fb03ea7737
@ -168,6 +168,7 @@ void gem_quiescent_gpu(int fd)
|
||||
|
||||
gem_sync(fd, handle);
|
||||
igt_drop_caches_set(DROP_RETIRE);
|
||||
gem_close(fd, handle);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user