From d46497dce7376e9d3e2e10c59d92e1c3b665b5dd Mon Sep 17 00:00:00 2001 From: Martin Peres Date: Thu, 30 Aug 2012 02:31:59 +0200 Subject: 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 Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h (limited to 'drivers/gpu/drm/nouveau/core/include/subdev/bios/perf.h') 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 -- cgit v1.1