diff options
author | Jason Ekstrand <[email protected]> | 2018-10-16 16:59:37 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-10-27 16:18:33 -0500 |
commit | 1bd4f8fefc2728963fc37900fe75210ee24e09d1 (patch) | |
tree | a9bfe6de131e4ea6b5d7aac7334667c62c42fb9e /src/gallium/drivers/vc4/vc4_context.h | |
parent | cbd44686952b4275d654bcb3555111b412b8c8f4 (diff) |
anv: Use absolute timeouts in wait_for_bo_fences
We were previously using relative timeouts and decrementing the
user-provided timeout as we waited. Instead, this commit refactors
things to use absolute timeouts throughout. This should fix a subtle
bug in the waitAll case where we aren't decrementing the timeout after a
successful GPU wait. Since pthread_cond_timedwait already takes an
absolute timeout, it's also significantly simpler.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
0 files changed, 0 insertions, 0 deletions