Oscar Mateo ece21fa865 prime_self_import: Assure no pending requests before object counting
We don't want a previously used object to be freed in the middle of a
before/after object counting operation (or we would get a "-1 objects
leaked" message). We have seen this happening, e.g., when a context
from a previous run dies, but its backing object is alive waiting for
a retire_work to kick in.

v2: Use igt_debugfs facilities for drop cache.
v3: Move igt_drop_caches_set() call inside get_object_count() to make
it clearer why we want this.

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Cc: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-05 12:30:40 +01:00
..
2013-11-04 19:49:10 +01:00
2012-04-10 16:23:18 +02:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2013-07-21 22:04:20 -07:00
2013-08-13 15:07:44 +02:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-08-13 15:07:44 +02:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-08-13 15:07:44 +02:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-08-13 15:07:44 +02:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-08-13 15:15:18 +02:00
2013-11-01 21:10:59 +01:00
2013-08-12 12:20:22 +02:00
2013-11-01 21:10:59 +01:00
2013-09-17 00:13:47 +02:00
2013-11-01 22:18:20 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2013-11-04 19:49:10 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-11-01 21:10:59 +01:00
2013-08-12 12:20:22 +02:00
2013-11-01 21:10:59 +01:00
2013-07-21 22:04:20 -07:00
2012-01-15 16:05:43 +01:00