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
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
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
>
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,