16 lines · c
1/* SPDX-License-Identifier: MIT */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 7struct nv40_ram {8 struct nvkm_ram base;9 u32 ctrl;10 u32 coef;11};12 13int nv40_ram_new_(struct nvkm_fb *fb, enum nvkm_ram_type, u64,14 struct nvkm_ram **);15#endif16