Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / vmap.h
blob13103b9b5b968fae8ef4cecaf22c3ed8b8994434
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVBIOS_VMAP_H__
3 #define __NVBIOS_VMAP_H__
4 struct nvbios_vmap {
5 u8 max0;
6 u8 max1;
7 u8 max2;
8 };
10 u32 nvbios_vmap_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
11 u32 nvbios_vmap_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
12 struct nvbios_vmap *);
14 struct nvbios_vmap_entry {
15 u8 mode;
16 u8 link;
17 u32 min;
18 u32 max;
19 s32 arg[6];
22 u32 nvbios_vmap_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len);
23 u32 nvbios_vmap_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len,
24 struct nvbios_vmap_entry *);
25 #endif