diff options
author | Karol Herbst <karolherbst@gmail.com> | 2017-07-03 20:02:51 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-08-22 18:04:22 +1000 |
commit | 9d60b9c9d0b6bacee794db9cd18671296b7db072 (patch) | |
tree | 4b80c90aef5b54abb4b2c87986a8ada3a7398671 /drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c | |
parent | 4a84a6fd9a50e4a10dccaaff9cf9e12d04f2c83f (diff) | |
download | op-kernel-dev-9d60b9c9d0b6bacee794db9cd18671296b7db072.zip op-kernel-dev-9d60b9c9d0b6bacee794db9cd18671296b7db072.tar.gz |
drm/nouveau/therm/gm200: Added
This allows temperature readouts on maxwell2 GPUs.
Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c index 86e8193..96f8da4 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/therm/g84.c @@ -203,7 +203,7 @@ g84_therm_fini(struct nvkm_therm *therm) nvkm_wr32(device, 0x1100, 0x10000); /* PBUS */ } -static void +void g84_therm_init(struct nvkm_therm *therm) { g84_sensor_setup(therm); |