Re: [Mesa-dev] [PATCH 38/53] i965: Make a screen::aperture_threshold field.

2017-04-05 Thread Chris Wilson
On Tue, Apr 04, 2017 at 05:10:28PM -0700, Kenneth Graunke wrote: > This is the threshold after which drm_intel_bufmgr_check_aperture_space > returns -ENOSPC, signalling that it thinks an execbuf is likely to fail > and we need to roll back and flush the batch. > > We'll need this when we rewrite a

[Mesa-dev] [PATCH 38/53] i965: Make a screen::aperture_threshold field.

2017-04-04 Thread Kenneth Graunke
This is the threshold after which drm_intel_bufmgr_check_aperture_space returns -ENOSPC, signalling that it thinks an execbuf is likely to fail and we need to roll back and flush the batch. We'll need this when we rewrite aperture space checking, shortly. In the meantime, we can also use it in GLX