ARM: pmu: add support for interrupt-affinity property
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / subdev / instmem / nv04.h
blob42b6c928047c100fd54bc2c4b31d527775e9200b
1 #ifndef __NV04_INSTMEM_H__
2 #define __NV04_INSTMEM_H__
3 #include "priv.h"
5 #include <core/mm.h>
7 extern struct nvkm_instobj_impl nv04_instobj_oclass;
9 struct nv04_instmem_priv {
10 struct nvkm_instmem base;
12 void __iomem *iomem;
13 struct nvkm_mm heap;
15 struct nvkm_gpuobj *vbios;
16 struct nvkm_ramht *ramht;
17 struct nvkm_gpuobj *ramro;
18 struct nvkm_gpuobj *ramfc;
21 static inline struct nv04_instmem_priv *
22 nv04_instmem(void *obj)
24 return (void *)nvkm_instmem(obj);
27 struct nv04_instobj_priv {
28 struct nvkm_instobj base;
29 struct nvkm_mm_node *mem;
32 void nv04_instmem_dtor(struct nvkm_object *);
34 int nv04_instmem_alloc(struct nvkm_instmem *, struct nvkm_object *,
35 u32 size, u32 align, struct nvkm_object **pobject);
36 #endif