Ben Skeggs | 08f6fbd | 2013-10-11 15:34:08 +1000 | [diff] [blame] | 1 | #ifndef __NVKM_MC_NV04_H__ |
| 2 | #define __NVKM_MC_NV04_H__ |
| 3 | |
| 4 | #include <subdev/mc.h> |
| 5 | |
| 6 | struct nv04_mc_priv { |
| 7 | struct nouveau_mc base; |
| 8 | }; |
| 9 | |
| 10 | int nv04_mc_ctor(struct nouveau_object *, struct nouveau_object *, |
| 11 | struct nouveau_oclass *, void *, u32, |
| 12 | struct nouveau_object **); |
| 13 | |
| 14 | extern const struct nouveau_mc_intr nv04_mc_intr[]; |
Ben Skeggs | 1b4fea0 | 2013-10-11 15:38:15 +1000 | [diff] [blame] | 15 | int nv04_mc_init(struct nouveau_object *); |
| 16 | void nv40_mc_msi_rearm(struct nouveau_mc *); |
| 17 | int nv50_mc_init(struct nouveau_object *); |
Ben Skeggs | 9a9d5c6 | 2013-10-14 14:58:16 +1000 | [diff] [blame] | 18 | extern const struct nouveau_mc_intr nv50_mc_intr[]; |
Ben Skeggs | 1b4fea0 | 2013-10-11 15:38:15 +1000 | [diff] [blame] | 19 | extern const struct nouveau_mc_intr nvc0_mc_intr[]; |
Ben Skeggs | 08f6fbd | 2013-10-11 15:34:08 +1000 | [diff] [blame] | 20 | |
| 21 | #endif |