projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab7cbf9
)
lib/drmtest: Fix filedesc leak on gem_quiescent_gpu
author
Mika Kuoppala
<mika.kuoppala@linux.intel.com>
Tue, 26 Nov 2013 07:26:17 +0000
(09:26 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 4 Dec 2013 12:23:01 +0000
(13:23 +0100)
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>
lib/drmtest.c
patch
|
blob
|
history
diff --git
a/lib/drmtest.c
b/lib/drmtest.c
index
139eb82
..
8c696b1
100644
(file)
--- a/
lib/drmtest.c
+++ b/
lib/drmtest.c
@@
-168,6
+168,7
@@
void gem_quiescent_gpu(int fd)
gem_sync(fd, handle);
igt_drop_caches_set(DROP_RETIRE);
+ gem_close(fd, handle);
}
/**