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