]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv04.h
1 #ifndef __NVKM_FB_NV04_H__
2 #define __NVKM_FB_NV04_H__
5 int nv04_fb_ctor(struct nvkm_object
*, struct nvkm_object
*,
6 struct nvkm_oclass
*, void *, u32
,
7 struct nvkm_object
**);
10 struct nvkm_fb_impl base
;
13 void (*init
)(struct nvkm_fb
*, int i
, u32 addr
, u32 size
,
14 u32 pitch
, u32 flags
, struct nvkm_fb_tile
*);
15 void (*comp
)(struct nvkm_fb
*, int i
, u32 size
, u32 flags
,
16 struct nvkm_fb_tile
*);
17 void (*fini
)(struct nvkm_fb
*, int i
,
18 struct nvkm_fb_tile
*);
19 void (*prog
)(struct nvkm_fb
*, int i
,
20 struct nvkm_fb_tile
*);
24 void nv10_fb_tile_init(struct nvkm_fb
*, int i
, u32 addr
, u32 size
,
25 u32 pitch
, u32 flags
, struct nvkm_fb_tile
*);
26 void nv10_fb_tile_fini(struct nvkm_fb
*, int i
, struct nvkm_fb_tile
*);
27 void nv10_fb_tile_prog(struct nvkm_fb
*, int, struct nvkm_fb_tile
*);
29 void nv20_fb_tile_init(struct nvkm_fb
*, int i
, u32 addr
, u32 size
,
30 u32 pitch
, u32 flags
, struct nvkm_fb_tile
*);
31 void nv20_fb_tile_fini(struct nvkm_fb
*, int i
, struct nvkm_fb_tile
*);
32 void nv20_fb_tile_prog(struct nvkm_fb
*, int, struct nvkm_fb_tile
*);
34 int nv30_fb_init(struct nvkm_object
*);
35 void nv30_fb_tile_init(struct nvkm_fb
*, int i
, u32 addr
, u32 size
,
36 u32 pitch
, u32 flags
, struct nvkm_fb_tile
*);
38 void nv40_fb_tile_comp(struct nvkm_fb
*, int i
, u32 size
, u32 flags
,
39 struct nvkm_fb_tile
*);
41 int nv41_fb_init(struct nvkm_object
*);
42 void nv41_fb_tile_prog(struct nvkm_fb
*, int, struct nvkm_fb_tile
*);
44 int nv44_fb_init(struct nvkm_object
*);
45 void nv44_fb_tile_prog(struct nvkm_fb
*, int, struct nvkm_fb_tile
*);
47 void nv46_fb_tile_init(struct nvkm_fb
*, int i
, u32 addr
, u32 size
,
48 u32 pitch
, u32 flags
, struct nvkm_fb_tile
*);