lib/drmtest: don't dup quiescent fd
authorMika Kuoppala <mika.kuoppala@intel.com>
Fri, 28 Mar 2014 08:52:46 +0000 (10:52 +0200)
committerMika Kuoppala <mika.kuoppala@intel.com>
Thu, 10 Apr 2014 14:50:49 +0000 (17:50 +0300)
commit2f2c491cf3167befe7c79e4b17afb4f6284dfc84
tree398075a56993dbeeb3173b245b685599d974c815
parentd983a47f1470cbea8388864537dbe5aff5575df6
lib/drmtest: don't dup quiescent fd

If we dup the fd, we are in mercy of the context banning
of the test application. Better to have our own to guarantee
that gem_quiescent_gpu won't find itself banned on exit.

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
lib/drmtest.c