nv50.h 405 B

1234567891011121314151617181920
  1. #ifndef __NVKM_SW_NV50_H__
  2. #define __NVKM_SW_NV50_H__
  3. #define nv50_sw_chan(p) container_of((p), struct nv50_sw_chan, base)
  4. #include "priv.h"
  5. #include "chan.h"
  6. #include "nvsw.h"
  7. #include <core/notify.h>
  8. struct nv50_sw_chan {
  9. struct nvkm_sw_chan base;
  10. struct {
  11. struct nvkm_notify notify[4];
  12. u32 ctxdma;
  13. u64 offset;
  14. u32 value;
  15. } vblank;
  16. };
  17. void *nv50_sw_chan_dtor(struct nvkm_sw_chan *);
  18. #endif