xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
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