]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/therm: rework thermal table parsing
authorMartin Peres <martin.peres@labri.fr>
Thu, 16 Aug 2012 09:00:55 +0000 (11:00 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:13:13 +0000 (13:13 +1000)
commitf1cfa4ace4ba7d69b43c0ec9a6f14e92123ef20e
tree98a34b0cd7568d2a9b0faa0e857bba3e5b5dd84b
parent872e826000e0e38d16eb47f8f173bb2dc9f796f6
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