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

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 5 11:14:12 UTC 2017


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 aperture space checking, shortly.
> In the meantime, we can also use it in GLX_MESA_query_renderer.

This patch could be applied now, since it is moving the query from
runtime to screen init.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the mesa-dev mailing list