Re: [Piglit] [PATCH] fbo-maxsize: Try to avoid allocating miplevels.

2016-12-12 Thread Kenneth Graunke
On Monday, December 12, 2016 10:14:35 AM PST Eric Anholt wrote: > Kenneth Graunke writes: > > > A 16384x16384 RGBA buffer takes 1GB of RAM. If the driver allocates > > mipmap levels, that increases our storage requirements to 1.5GB. The > > test doesn't use

Re: [Piglit] [PATCH] fbo-maxsize: Try to avoid allocating miplevels.

2016-12-12 Thread Eric Anholt
Kenneth Graunke writes: > A 16384x16384 RGBA buffer takes 1GB of RAM. If the driver allocates > mipmap levels, that increases our storage requirements to 1.5GB. The > test doesn't use mipmapping, so this seems like a waste. > > Disabling mipmap filtering before

Re: [Piglit] [PATCH] fbo-maxsize: Try to avoid allocating miplevels.

2016-12-10 Thread Mark Janes
This patch allows the test to complete on a Braswell system with 1.5GB memory. Without it, the OOM killer is dispatched. Tested-by: Mark Janes Kenneth Graunke writes: > A 16384x16384 RGBA buffer takes 1GB of RAM. If the driver allocates >

[Piglit] [PATCH] fbo-maxsize: Try to avoid allocating miplevels.

2016-12-10 Thread Kenneth Graunke
A 16384x16384 RGBA buffer takes 1GB of RAM. If the driver allocates mipmap levels, that increases our storage requirements to 1.5GB. The test doesn't use mipmapping, so this seems like a waste. Disabling mipmap filtering before allocating the texture provides a hint to the driver,