1 /* $NetBSD: ramnv40.h,v 1.3 2021/12/18 23:45:39 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 #ifndef __NV40_FB_RAM_H__ 5 #define __NV40_FB_RAM_H__ 6 #define nv40_ram(p) container_of((p), struct nv40_ram, base) 7 #include "ram.h" 8 9 struct nv40_ram { 10 struct nvkm_ram base; 11 u32 ctrl; 12 u32 coef; 13 }; 14 15 int nv40_ram_new_(struct nvkm_fb *fb, enum nvkm_ram_type, u64, 16 struct nvkm_ram **); 17 #endif 18