aboutsummaryrefslogtreecommitdiffstats
path: root/docs/README.UVD
diff options
context:
space:
mode:
authorKeith Packard <[email protected]>2018-06-05 23:18:56 -0600
committerKeith Packard <[email protected]>2018-06-23 07:59:00 -0700
commit5581dd5c320c663f82d3ed7e773d34e71175b990 (patch)
tree2adc21112c06e6281244a37ab21e7290f8cd99df /docs/README.UVD
parent8c4f430d438f37f9e3d6c16aff3ed82d671d9ddb (diff)
anv: Support wait for heterogeneous list of fences [v3]
Handle the case where the set of fences to wait for is not all of the same type by either waiting for them sequentially (waitAll), or polling them until the timer has expired (!waitAll). We hope the latter case is not common. While the current code makes sure that it always has fences of only one type, that will not be true when we add WSI fences. Split out this refactoring to make merging that clearer. v2: Adopt Jason Ekstrand's coding conventions Declare variables at first use, eliminate extra whitespace between types and names. Wrap lines to 80 columns. Suggested-by: Jason Ekstrand <[email protected]> v2: Cast INT64_MAX to uint64_t to make of its use as the maximum possible timeout clearly unsigned to the reader. Suggested-by: Jason Ekstrand <[email protected]> Make anv_wait_for_fences with !waitAll check all fences at least once, even if the requested timeout has already passed. Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'docs/README.UVD')
0 files changed, 0 insertions, 0 deletions