drm/nouveau/therm: rework thermal table parsing
commit7d70e9c1c69a5d22588ff5977249ac944d7cdfb0
authorMartin Peres <martin.peres@labri.fr>
Thu, 16 Aug 2012 09:00:55 +0000 (16 11:00 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:13:13 +0000 (3 13:13 +1000)
tree98a34b0cd7568d2a9b0faa0e857bba3e5b5dd84b
parente36199980b51f081671d76de7b7b8f94fe1e0ae3
drm/nouveau/therm: rework thermal table parsing

As an accident, it should also fix temperature reading on nv4x.

v2: introduce nvbios_therm_entry as advised by darktama

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/include/subdev/bios/therm.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/subdev/bios/therm.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nouveau_pm.c
drivers/gpu/drm/nouveau/nouveau_pm.h
drivers/gpu/drm/nouveau/nouveau_temp.c