nv40.h 351 B

1234567891011121314
  1. #ifndef __NVKM_PM_NV40_H__
  2. #define __NVKM_PM_NV40_H__
  3. #define nv40_pm(p) container_of((p), struct nv40_pm, base)
  4. #include "priv.h"
  5. struct nv40_pm {
  6. struct nvkm_pm base;
  7. u32 sequence;
  8. };
  9. int nv40_pm_new_(const struct nvkm_specdom *, struct nvkm_device *,
  10. int index, struct nvkm_pm **);
  11. extern const struct nvkm_funcdom nv40_perfctr_func;
  12. #endif