Re: [Intel-gfx] [PATCH v2 10/38] drm/i915: Create a fake object for testing huge allocations

2017-01-19 Thread Matthew Auld
On 19 January 2017 at 11:41, Chris Wilson wrote: > We would like to be able to exercise huge allocations even on memory > constrained devices. To do this we create an object that allocates only > a few pages and remaps them across its whole range - each page is reused >

[Intel-gfx] [PATCH v2 10/38] drm/i915: Create a fake object for testing huge allocations

2017-01-19 Thread Chris Wilson
We would like to be able to exercise huge allocations even on memory constrained devices. To do this we create an object that allocates only a few pages and remaps them across its whole range - each page is reused multiple times. We can therefore pretend we are rendering into a much larger object.