1 #ifndef __NV40_FB_RAM_H__
2 #define __NV40_FB_RAM_H__
3 #define nv40_ram(p) container_of((p), struct nv40_ram, base)
4 #include "ram.h"
5 
6 struct nv40_ram {
7 	struct nvkm_ram base;
8 	u32 ctrl;
9 	u32 coef;
10 };
11 
12 int nv40_ram_new_(struct nvkm_fb *fb, enum nvkm_ram_type, u64, u32,
13 		  struct nvkm_ram **);
14 #endif
15