igt/gem_concurrent_blit: Scale resource usage to RAM correctly
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 26 Jan 2014 14:36:32 +0000 (14:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 26 Jan 2014 14:38:42 +0000 (14:38 +0000)
commit0b4c33f62c2d4a61b0b5e9184524c8ca273400b1
treebeddf50b21ee8b07dd14d98c40ca3330967bf7fe
parentb5109e62cea170f3550588119d41a9bcf79789e5
igt/gem_concurrent_blit: Scale resource usage to RAM correctly

Note that we use twice the number of buffers, and so we need to restrict
num_buffers appropriately to fit within RAM.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72255
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_concurrent_blit.c