]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/boost.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 / boost.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
0833428e
BS
2#ifndef __NVBIOS_BOOST_H__
3#define __NVBIOS_BOOST_H__
58786017 4u32 nvbios_boostTe(struct nvkm_bios *, u8 *, u8 *, u8 *, u8 *, u8 *, u8 *);
0833428e
BS
5
6struct nvbios_boostE {
7 u8 pstate;
8 u32 min;
9 u32 max;
10};
11
58786017
BS
12u32 nvbios_boostEe(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *);
13u32 nvbios_boostEp(struct nvkm_bios *, int idx, u8 *, u8 *, u8 *, u8 *,
0833428e 14 struct nvbios_boostE *);
58786017 15u32 nvbios_boostEm(struct nvkm_bios *, u8, u8 *, u8 *, u8 *, u8 *,
0833428e
BS
16 struct nvbios_boostE *);
17
18struct nvbios_boostS {
19 u8 domain;
20 u8 percent;
21 u32 min;
22 u32 max;
23};
24
58786017
BS
25u32 nvbios_boostSe(struct nvkm_bios *, int, u32, u8 *, u8 *, u8, u8);
26u32 nvbios_boostSp(struct nvkm_bios *, int, u32, u8 *, u8 *, u8, u8,
0833428e 27 struct nvbios_boostS *);
0833428e 28#endif