posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / subdev / fb / nv50.h
blobfaa88c8c66fe6e5f59885b207d67922243033e18
1 #ifndef __NVKM_FB_NV50_H__
2 #define __NVKM_FB_NV50_H__
3 #define nv50_fb(p) container_of((p), struct nv50_fb, base)
4 #include "priv.h"
6 struct nv50_fb {
7 const struct nv50_fb_func *func;
8 struct nvkm_fb base;
9 struct page *r100c08_page;
10 dma_addr_t r100c08;
13 struct nv50_fb_func {
14 int (*ram_new)(struct nvkm_fb *, struct nvkm_ram **);
15 u32 trap;
18 int nv50_fb_new_(const struct nv50_fb_func *, struct nvkm_device *, int index,
19 struct nvkm_fb **pfb);
20 extern int nv50_fb_memtype[0x80];
21 #endif