[Intel-gfx] [RFC] tests/gem_ring_sync_copy: reduce memory usage

Damien Lespiau damien.lespiau at intel.com
Fri Nov 28 17:04:14 CET 2014


On Fri, Nov 28, 2014 at 03:47:01PM +0000, Gore, Tim wrote:
> N_buffers_load is still used. I am still submitting 1000 buffers to the ring, its just
> that I use the same buffers over and over (hence the "i % NUM_BUSY_BUFFERS").
> So I only allocate 32 buffers, and each gets copied 1000/32 times, so the ring is kept
> busy for as long as previously.

Ah oops, yes, indeed. Looks good then, pushed, thanks for the patch.

-- 
Damien



More information about the Intel-gfx mailing list