Oscar Mateo 4eae05f03b tests/gem_close_race: Adapt the test for Full PPGTT
With Full PPGTT, each new fd creates a new context and thus a new
PPGTT, so we have to reduce the number of simultaneous fds or face
OOM problems. For every new PPGTT, its PDEs are stored in the GGTT
which imposes a limit of 1024 new contexts. We want to leave at
least 1/4 of the GGTT available for "important" stuff like scanout
buffers, so never open more than 768 fds.

v2: Unconditionally use the lower limit, as suggested by Daniel
Vetter

Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-12-13 17:49:13 +01:00
..
2013-12-06 13:11:14 -02:00
2013-12-03 17:48:03 +01:00
2012-04-10 16:23:18 +02:00
2013-07-21 22:04:20 -07: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-11-01 21:10:59 +01:00
2013-12-03 16:32:52 +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-11-06 09:34:35 -08:00
2013-11-01 21:10:59 +01:00
2013-11-01 22:18:20 +01:00
2013-11-01 21:10:59 +01:00
2013-12-06 14:51:14 +01:00
2013-12-06 14:51:14 +01:00
2013-12-06 13:11:14 -02:00
2013-11-26 11:37:25 -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-07-21 22:04:20 -07:00
2012-01-15 16:05:43 +01:00