diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-08-15 16:13:34 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 19:01:11 +1000 |
commit | 3f8e11e4b606a050007cd1020d59e7b74c68d088 (patch) | |
tree | 4d550be304e3229af2228bcd9469f34057395dbb /drivers/gpu/drm/nouveau/nouveau_temp.c | |
parent | 11b7d895216f7f954c6cfa0c23b76dccb7a890c1 (diff) | |
download | linux-3f8e11e4b606a050007cd1020d59e7b74c68d088.tar.gz linux-3f8e11e4b606a050007cd1020d59e7b74c68d088.tar.bz2 linux-3f8e11e4b606a050007cd1020d59e7b74c68d088.zip |
drm/nv50/pm: mostly nailed down fan pwm frequency selection
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_temp.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_temp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_temp.c b/drivers/gpu/drm/nouveau/nouveau_temp.c index 97c172cae3bc..6364e4c46124 100644 --- a/drivers/gpu/drm/nouveau/nouveau_temp.c +++ b/drivers/gpu/drm/nouveau/nouveau_temp.c @@ -164,6 +164,9 @@ nouveau_temp_vbios_parse(struct drm_device *dev, u8 *temp) pm->fan.min_duty = value & 0xff; pm->fan.max_duty = (value & 0xff00) >> 8; break; + case 0x26: + pm->fan.pwm_freq = value; + break; } temp += recordlen; } |