diff options
author | Jason Ekstrand <[email protected]> | 2016-03-10 18:35:00 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-11 11:31:13 -0800 |
commit | 41a147904a95ba699358e8209e91d535f853ba61 (patch) | |
tree | 7ebccaa3233a0ae2c615d74e4cc85c7b5ac5d9f6 /src/intel/vulkan/anv_meta_resolve.c | |
parent | 132f079a8cbaeab442a7ea8b0f02b9f07dfdd310 (diff) |
anv/wsi: Throttle rendering to no more than 2 frames ahead
Right now, Vulkan apps can pretty easily DOS the GPU by simply submitting a
lot of batches. This commit makes us wait until the rendering for earlier
frames is comlete before continuing. By waiting 2 frames out, we can still
keep the pipe reasonably full but without taking the entire system down.
This is similar to what the GL driver does today.
Diffstat (limited to 'src/intel/vulkan/anv_meta_resolve.c')
0 files changed, 0 insertions, 0 deletions