1 #ifndef __NVKM_FB_NV04_H__
2 #define __NVKM_FB_NV04_H__
7 struct nouveau_fb base;
10 int nv04_fb_ctor(struct nouveau_object *, struct nouveau_object *,
11 struct nouveau_oclass *, void *, u32,
12 struct nouveau_object **);
15 struct nouveau_fb_impl base;
18 void (*init)(struct nouveau_fb *, int i, u32 addr, u32 size,
19 u32 pitch, u32 flags, struct nouveau_fb_tile *);
20 void (*comp)(struct nouveau_fb *, int i, u32 size, u32 flags,
21 struct nouveau_fb_tile *);
22 void (*fini)(struct nouveau_fb *, int i,
23 struct nouveau_fb_tile *);
24 void (*prog)(struct nouveau_fb *, int i,
25 struct nouveau_fb_tile *);
29 void nv10_fb_tile_init(struct nouveau_fb *, int i, u32 addr, u32 size,
30 u32 pitch, u32 flags, struct nouveau_fb_tile *);
31 void nv10_fb_tile_fini(struct nouveau_fb *, int i, struct nouveau_fb_tile *);
32 void nv10_fb_tile_prog(struct nouveau_fb *, int, struct nouveau_fb_tile *);
34 void nv20_fb_tile_init(struct nouveau_fb *, int i, u32 addr, u32 size,
35 u32 pitch, u32 flags, struct nouveau_fb_tile *);
36 void nv20_fb_tile_fini(struct nouveau_fb *, int i, struct nouveau_fb_tile *);
37 void nv20_fb_tile_prog(struct nouveau_fb *, int, struct nouveau_fb_tile *);
39 int nv30_fb_init(struct nouveau_object *);
40 void nv30_fb_tile_init(struct nouveau_fb *, int i, u32 addr, u32 size,
41 u32 pitch, u32 flags, struct nouveau_fb_tile *);
43 void nv40_fb_tile_comp(struct nouveau_fb *, int i, u32 size, u32 flags,
44 struct nouveau_fb_tile *);
46 int nv41_fb_init(struct nouveau_object *);
47 void nv41_fb_tile_prog(struct nouveau_fb *, int, struct nouveau_fb_tile *);
49 int nv44_fb_init(struct nouveau_object *);
50 void nv44_fb_tile_prog(struct nouveau_fb *, int, struct nouveau_fb_tile *);
52 void nv46_fb_tile_init(struct nouveau_fb *, int i, u32 addr, u32 size,
53 u32 pitch, u32 flags, struct nouveau_fb_tile *);