summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qpu.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-10-16 16:59:37 -0500
committerJason Ekstrand <[email protected]>2018-10-27 16:18:33 -0500
commit1bd4f8fefc2728963fc37900fe75210ee24e09d1 (patch)
treea9bfe6de131e4ea6b5d7aac7334667c62c42fb9e /src/gallium/drivers/vc4/vc4_qpu.c
parentcbd44686952b4275d654bcb3555111b412b8c8f4 (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_qpu.c')
0 files changed, 0 insertions, 0 deletions