diff options
author | Chris Wilson <[email protected]> | 2015-03-11 12:21:29 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2015-03-18 09:33:33 +0000 |
commit | eeb504e0ae7796e7ba475f6e9d6c26daa6b06608 (patch) | |
tree | 9acd17ccf04e0e6266cc0cde1cb185293faa6730 /src/glsl | |
parent | 64788b2e8dc2ddedc2712ed02b7e9096638b7bae (diff) |
i965: Defer the throttle until we submit new commands
Currently, we throttle before the user begins preparing commands for the
next frame when we acquire the draw/read buffers. However, construction
of the command buffer can itself take significant time relative to the
frame time. If we move the throttle from the buffer acquire to the
command submit phase we can allow the user to improve concurrency
between the CPU and GPU (i.e. reduce the amount of time we waste inside
the throttle).
v2: Whitespace + delay throttling until after the next submission for
greater parallelism
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Kenneth Graunke <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Kristian Høgsberg <[email protected]>
Cc: Chad Versace <[email protected]>
Cc: Ian Romanick <[email protected]>
Reviewed-by: Chad Versace <[email protected]> [v1]
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions