drm/nouveau/therm: use the EXTDEV table to detect i2c monitoring devices
This commit also adds a static list of all known devices and their possible i2c addresses. v2: use the common table parsing technique as suggested 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/extdev.h 30 additions, 0 deletionsdrivers/gpu/drm/nouveau/core/include/subdev/bios/extdev.h
- drivers/gpu/drm/nouveau/core/subdev/bios/extdev.c 100 additions, 0 deletionsdrivers/gpu/drm/nouveau/core/subdev/bios/extdev.c
- drivers/gpu/drm/nouveau/nouveau_temp.c 43 additions, 0 deletionsdrivers/gpu/drm/nouveau/nouveau_temp.c
Please register or sign in to comment