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>
Showing
- drivers/gpu/drm/nouveau/Makefile 1 addition, 0 deletionsdrivers/gpu/drm/nouveau/Makefile
- drivers/gpu/drm/nouveau/core/include/subdev/bios/therm.h 46 additions, 0 deletionsdrivers/gpu/drm/nouveau/core/include/subdev/bios/therm.h
- drivers/gpu/drm/nouveau/core/subdev/bios/therm.c 177 additions, 0 deletionsdrivers/gpu/drm/nouveau/core/subdev/bios/therm.c
- drivers/gpu/drm/nouveau/nouveau_pm.c 1 addition, 4 deletionsdrivers/gpu/drm/nouveau/nouveau_pm.c
- drivers/gpu/drm/nouveau/nouveau_pm.h 0 additions, 1 deletiondrivers/gpu/drm/nouveau/nouveau_pm.h
- drivers/gpu/drm/nouveau/nouveau_temp.c 57 additions, 200 deletionsdrivers/gpu/drm/nouveau/nouveau_temp.c
Please register or sign in to comment