mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 04:42:53 +00:00
tests: use drm_open_any more
And fix it up to not leak open fds, which kills all the master only stuff.
This commit is contained in:
@@ -171,6 +171,7 @@ int drm_get_card(int master)
|
||||
|
||||
if (is_intel(fd) && master == 0) {
|
||||
gem_quiescent_gpu(fd);
|
||||
close(fd);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user