drm/nouveau/therm: skip probing for devices not specified in thermal tables
authorBen Skeggs <bskeggs@redhat.com>
Tue, 2 Jul 2019 02:52:11 +0000 (12:52 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:33 +0000 (12:55 +1000)
commitf0790cda65a1f1a3818db16e95c04c06cb7f2421
treeb3e3c3f45c8ff77da38c62d959373a98f58ad3c8
parentedc641b2b2f494ce74a2f657544133faf451a80c
drm/nouveau/therm: skip probing for devices not specified in thermal tables

Saves some time during driver load, as described by the relevant section[1]
of the DCB 4.x specification.

[1] https://nvidia.github.io/open-gpu-doc/DCB/DCB-4.x-Specification.html#_i2c_device_table

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/extdev.h
drivers/gpu/drm/nouveau/nvkm/subdev/bios/extdev.c
drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c