]>
git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_FB_NV50_H__
3 #define __NVKM_FB_NV50_H__
4 #define nv50_fb(p) container_of((p), struct nv50_fb, base)
8 const struct nv50_fb_func
*func
;
10 struct page
*r100c08_page
;
15 int (*ram_new
)(struct nvkm_fb
*, struct nvkm_ram
**);
19 int nv50_fb_new_(const struct nv50_fb_func
*, struct nvkm_device
*, int index
,
20 struct nvkm_fb
**pfb
);
21 extern int nv50_fb_memtype
[0x80];