nv10_fence.h 344 B

1234567891011121314151617181920
  1. #ifndef __NV10_FENCE_H_
  2. #define __NV10_FENCE_H_
  3. #include "nouveau_fence.h"
  4. #include "nouveau_bo.h"
  5. struct nv10_fence_chan {
  6. struct nouveau_fence_chan base;
  7. struct nvif_object sema;
  8. struct nvif_object head[4];
  9. };
  10. struct nv10_fence_priv {
  11. struct nouveau_fence_priv base;
  12. struct nouveau_bo *bo;
  13. spinlock_t lock;
  14. u32 sequence;
  15. };
  16. #endif