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