Re: [Intel-gfx] [PATCH v2 2/3] drm/i915: Document our internal limit on object size

2016-10-18 Thread Chris Wilson
On Tue, Oct 18, 2016 at 10:27:58AM +0100, Tvrtko Ursulin wrote: > > On 17/10/2016 09:00, Chris Wilson wrote: > >In many places, we try to count pages using a 32 bit integer. That > >implies if we are asked to create an object larger than 43bits, we will > >subtly crash much later. Catch this on

Re: [Intel-gfx] [PATCH v2 2/3] drm/i915: Document our internal limit on object size

2016-10-18 Thread Tvrtko Ursulin
On 17/10/2016 09:00, Chris Wilson wrote: In many places, we try to count pages using a 32 bit integer. That implies if we are asked to create an object larger than 43bits, we will subtly crash much later. Catch this on the boundary, and add a warning to remind ourselves later on our exabyte

[Intel-gfx] [PATCH v2 2/3] drm/i915: Document our internal limit on object size

2016-10-17 Thread Chris Wilson
In many places, we try to count pages using a 32 bit integer. That implies if we are asked to create an object larger than 43bits, we will subtly crash much later. Catch this on the boundary, and add a warning to remind ourselves later on our exabyte systems. Signed-off-by: Chris Wilson