]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/init.h
drm/nouveau/bios/init: rename 'crtc' to 'head'
[mirror_ubuntu-artful-kernel.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / init.h
1 #ifndef __NVBIOS_INIT_H__
2 #define __NVBIOS_INIT_H__
3
4 struct nvbios_init {
5 struct nvkm_subdev *subdev;
6 struct nvkm_bios *bios;
7 u16 offset;
8
9 struct dcb_output *outp;
10 union {
11 int head;
12 int crtc;
13 };
14
15 /* internal state used during parsing */
16 u8 execute;
17 u32 nested;
18 u16 repeat;
19 u16 repend;
20 u32 ramcfg;
21 };
22
23 int nvbios_exec(struct nvbios_init *);
24 int nvbios_post(struct nvkm_subdev *, bool execute);
25 #endif