License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / drivers / gpu / drm / nouveau / include / nvkm / subdev / bios / vpstate.h
blob36f3028d58ef7dd53d8a5799ff69263dac090892
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVBIOS_VPSTATE_H__
3 #define __NVBIOS_VPSTATE_H__
4 struct nvbios_vpstate_header {
5 u32 offset;
7 u8 version;
8 u8 hlen;
9 u8 ecount;
10 u8 elen;
11 u8 scount;
12 u8 slen;
14 u8 base_id;
15 u8 boost_id;
16 u8 tdp_id;
18 struct nvbios_vpstate_entry {
19 u8 pstate;
20 u16 clock_mhz;
22 int nvbios_vpstate_parse(struct nvkm_bios *, struct nvbios_vpstate_header *);
23 int nvbios_vpstate_entry(struct nvkm_bios *, struct nvbios_vpstate_header *,
24 u8 idx, struct nvbios_vpstate_entry *);
25 #endif