diff options
author | Martin Peres <martin.peres@labri.fr> | 2012-08-30 02:31:59 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-10-03 13:13:13 +1000 |
commit | d46497dce7376e9d3e2e10c59d92e1c3b665b5dd (patch) | |
tree | 9494a77fb4b375f724676ea0ee771228c012ddec /drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h | |
parent | 32334cc03a12c51f64613608a8b261738406e1e2 (diff) | |
download | op-kernel-dev-d46497dce7376e9d3e2e10c59d92e1c3b665b5dd.zip op-kernel-dev-d46497dce7376e9d3e2e10c59d92e1c3b665b5dd.tar.gz |
drm/nouveau/bios: parse the pwm divisor from the perf table
v2: perf_table now is more in line with the other functions
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h b/drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h new file mode 100644 index 0000000..0b285e9 --- /dev/null +++ b/drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h @@ -0,0 +1,14 @@ +#ifndef __NVBIOS_PERF_H__ +#define __NVBIOS_PERF_H__ + +struct nouveau_bios; + +struct nvbios_perf_fan { + u32 pwm_divisor; +}; + +int +nvbios_perf_fan_parse(struct nouveau_bios *, struct nvbios_perf_fan *); + + +#endif |