The bulk SPDX addition made all these files into GPL-2.0 licensed files. However the remainder of the project is MIT-licensed, these files (primarily header files) were simply missing the boiler plate and got caught up in the global update. Fixes: b24413180f5 (License cleanup: add SPDX GPL-2.0 license identifier to files with no license) Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Karol Herbst <kherbst@redhat.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
26 lines
516 B
C
26 lines
516 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVBIOS_VPSTATE_H__
|
|
#define __NVBIOS_VPSTATE_H__
|
|
struct nvbios_vpstate_header {
|
|
u32 offset;
|
|
|
|
u8 version;
|
|
u8 hlen;
|
|
u8 ecount;
|
|
u8 elen;
|
|
u8 scount;
|
|
u8 slen;
|
|
|
|
u8 base_id;
|
|
u8 boost_id;
|
|
u8 tdp_id;
|
|
};
|
|
struct nvbios_vpstate_entry {
|
|
u8 pstate;
|
|
u16 clock_mhz;
|
|
};
|
|
int nvbios_vpstate_parse(struct nvkm_bios *, struct nvbios_vpstate_header *);
|
|
int nvbios_vpstate_entry(struct nvkm_bios *, struct nvbios_vpstate_header *,
|
|
u8 idx, struct nvbios_vpstate_entry *);
|
|
#endif
|