Home | History | Annotate | Line # | Download | only in pm
      1 /*	$NetBSD: gf100.h,v 1.3 2021/12/18 23:45:37 riastradh Exp $	*/
      2 
      3 /* SPDX-License-Identifier: MIT */
      4 #ifndef __NVKM_PM_NVC0_H__
      5 #define __NVKM_PM_NVC0_H__
      6 #include "priv.h"
      7 
      8 struct gf100_pm_func {
      9 	const struct nvkm_specdom *doms_hub;
     10 	const struct nvkm_specdom *doms_gpc;
     11 	const struct nvkm_specdom *doms_part;
     12 };
     13 
     14 int gf100_pm_new_(const struct gf100_pm_func *, struct nvkm_device *,
     15 		  int index, struct nvkm_pm **);
     16 
     17 extern const struct nvkm_funcdom gf100_perfctr_func;
     18 extern const struct nvkm_specdom gf100_pm_gpc[];
     19 
     20 extern const struct nvkm_specsrc gf100_pbfb_sources[];
     21 extern const struct nvkm_specsrc gf100_pmfb_sources[];
     22 #endif
     23