Make Await SyncTrigger functions generic

Update all the functions dealing with Await
sync triggers handle generic sync objects
instead of just counters.  This will
facilitate code sharing between the counter
sync waits and the fence sync waits.

Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
James Jones 2010-06-28 14:59:01 -07:00
commit c66a410d37
2 changed files with 200 additions and 114 deletions

View file

@ -101,7 +101,7 @@ typedef struct _SysCounterInfo {
typedef struct _SyncTrigger {
SyncCounter *pCounter;
SyncObject *pSync;
CARD64 wait_value; /* wait value */
unsigned int value_type; /* Absolute or Relative */
unsigned int test_type; /* transition or Comparision type */