diff options
author | Kenneth Graunke <[email protected]> | 2017-03-30 22:27:42 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-04-10 14:31:55 -0700 |
commit | 6368284a347d511f38109936d6a1b281e69ad782 (patch) | |
tree | 83b1429007113d5fb87c29bc8636047f0c0bc379 /src/mesa/main/execmem.c | |
parent | 6079f4f16e7711a02b85bcd4142ad1f24a4e0a9b (diff) |
i965: Make a screen::aperture_threshold field.
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.
Reviewed-by: Chris Wilson <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/execmem.c')
0 files changed, 0 insertions, 0 deletions