]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/vmap.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / vmap.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
0833428e
BS
2#ifndef __NVBIOS_VMAP_H__
3#define __NVBIOS_VMAP_H__
0833428e 4struct nvbios_vmap {
4a4555a7
KH
5 u8 max0;
6 u8 max1;
7 u8 max2;
0833428e
BS
8};
9
60fb7064
BS
10u32 nvbios_vmap_table(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
11u32 nvbios_vmap_parse(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
0833428e
BS
12 struct nvbios_vmap *);
13
14struct nvbios_vmap_entry {
5c3b16ee 15 u8 mode;
0833428e
BS
16 u8 link;
17 u32 min;
18 u32 max;
19 s32 arg[6];
20};
21
60fb7064
BS
22u32 nvbios_vmap_entry(struct nvkm_bios *, int idx, u8 *ver, u8 *len);
23u32 nvbios_vmap_entry_parse(struct nvkm_bios *, int idx, u8 *ver, u8 *len,
0833428e 24 struct nvbios_vmap_entry *);
0833428e 25#endif