nv40.h 390 B

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