diff options
author | Simon Farnsworth <[email protected]> | 2012-02-14 12:06:20 +0000 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2012-02-14 09:56:23 -0500 |
commit | 8cd03b933cf868ff867e2db4a0937005a02fd0e4 (patch) | |
tree | 8051cbd2a351e56b423127c54c47a319c7aa590b /src/mesa/swrast/s_blit.c | |
parent | 014198ec8860d8a0abfd6aa0ddd8db9d26febdbb (diff) |
r600g: Use a fake reloc to sleep for fences
r300g is able to sleep until a fence completes rather than busywait because
it creates a special buffer object and relocation that stays busy until the
CS containing the fence is finished.
Copy the idea into r600g, and use it to sleep if the user asked for an
infinite wait, falling back to busywaiting if the user provided a timeout.
Note: this is a candidate for the stable branches.
Signed-off-by: Simon Farnsworth <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_blit.c')
0 files changed, 0 insertions, 0 deletions